MsRewards-Reborn/Flask/templates/vnc_get.html

45 lines
1.9 KiB
HTML
Raw Normal View History

2023-09-27 20:20:09 +02:00
{% extends "base.html" %}
{% block left_pannel %}override{% endblock %}
{% block content %}
{%if not current_user.is_authenticated %}
<button class="unselected" onclick="location.href = '/login';">login</button>
{% else %}
2023-09-28 15:03:08 +02:00
<script>data = JSON.parse('{{configs|tojson}}'); </script>
2023-09-27 20:20:09 +02:00
2023-09-28 15:03:08 +02:00
<form method="post" action="/override/" height="90%">
<select onchange="change_override(this.value, data)" name="config">
2023-09-30 19:26:17 +02:00
<option id="-1" value="-1" selected>Select a config</option>
2023-09-28 15:03:08 +02:00
{% for i in configs %}
<option id="{{configs[i]['name']}}" value="{{i}}">{{configs[i]['name']}}</option>
{% endfor %}
</select>
<table height="90%" class="lines">
2023-09-27 20:20:09 +02:00
<tr>
2023-09-28 15:03:08 +02:00
<td width="30%">name</td>
<td width="14%">Unban</td>
<td width="14%">tout</td>
2023-09-30 19:26:17 +02:00
<td width="14%">daily</td>
2023-09-28 15:03:08 +02:00
<td width="14%">pc</td>
<td width="14%">mobile</td>
2023-09-27 20:20:09 +02:00
</tr>
2023-09-30 18:16:47 +02:00
{% for i in range(0,5) %}
2023-09-28 15:03:08 +02:00
<tr heigh="15%">
2023-09-30 19:26:17 +02:00
<td id="compte_{{i+1}}"></td>
<td id="{{i+1}}1" style="visibility: hidden;"><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="unban"></td>
<td id="{{i+1}}2" style="visibility: hidden;"><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="tout"></td>
<td id="{{i+1}}3" style="visibility: hidden;"><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="daily"></td>
<td id="{{i+1}}4" style="visibility: hidden;"><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="pc"></td>
<td id="{{i+1}}5" style="visibility: hidden;"><input type="checkbox" id="compte_{{i+1}}" value="{{i}}" name="mobile"></td>
2023-09-27 20:20:09 +02:00
</tr>
2023-09-28 15:03:08 +02:00
{% endfor %}
2023-09-27 20:20:09 +02:00
</table>
2023-09-28 15:03:08 +02:00
<input type="submit" name="VNC" id="submit" value="Start" class="confirm" style="width:60%;"/>
</form>
2023-09-27 20:20:09 +02:00
{% endif %}
{%endblock %}