This commit is contained in:
piair
2023-06-18 17:40:59 +02:00
parent b201c68aa9
commit 08b593eeb9
11 changed files with 146 additions and 100 deletions

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>

View File

@ -8,7 +8,7 @@
</tr>
<tr>
<td>
<button class="selected" onclick="location.href = '/accounts';">accounts</button>
<button class="selected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>
@ -40,7 +40,7 @@
{%if not current_user.is_authenticated %}
<button class="unselected" onclick="location.href = '/login';">login</button>
{% else %}
<form method="post" action="/accounts/">
<form method="post" action="/config/">
<table>

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>

View File

@ -10,7 +10,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = 'accounts';">accounts</button>
<button class="unselected" onclick="location.href = 'config';">config</button>
</td>
</tr>
<tr>

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>
@ -73,12 +73,17 @@
<td class="comlumn-name">Failure Link</td>
<td><input type="text" id="errorsL" name="errorsL" value=""></td>
</tr>
</table>
<table>
<tr>
<td></td>
<td><input type="submit" name="DISCORD" id="submit" value="Create !" class="button"/></td>
<td class="comlumn-name"></td>
<td style="width:60%;"><input type="submit" name="DISCORD" id="submit" value="Create !" class="button" style="width:90%;"/></td>
<td style="padding-right: 20px;">
<input type="submit" name="DISCORD" id="submit" value="delete" class="button"/>
</td>
</tr>
</table>
</form>
<script>
function changecat(value) {

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>
@ -39,14 +39,30 @@
{%if not current_user.is_authenticated %}
<button class="unselected" onclick="location.href = '/login';">login</button>
{% else %}
{% else %}
<h1>Not Implemented, watch terminal</h1>
<form method="post" action="/override/">
<input type="submit" name="data" value="Run bot" class="button"/>
<table>
{% for i in data %}
<tr>
<td>{{data[i]['name']}}</td>
<td>
<input type="time" id="{{i}}" name="time{{i}}" value="{{data[i]['time']}}">
</td>
<td>
<input type="checkbox" id="switch{{i}}" name="switch{{i}}" {{ "checked" if data[i]['enabled'] == True else "" }}/>
<label for="switch{{i}}">
Toggle
</label>
</td>
</tr>
{% endfor %}
</table>
<input type="submit" name="data" value="Update" class="button"/>
</form>
{% endif %}

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>
@ -68,13 +68,14 @@
<td class="comlumn-name">port : </td>
<td><input type="text" name="port" value="" id="port"></td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="data" id="submit" value="Create" class="button"/></td>
</tr>
</table>
</table>
<table>
<tr>
<td class="comlumn-name"></td>
<td style="width:60%;"><input type="submit" name="PROXY" id="submit" value="Create !" class="button" style="width:90%;"/></td>
<td style="padding-right: 20px;"><input type="submit" name="PROXY" id="submit" value="delete" class="button"/></td>
</tr>
</table>
</form>

View File

@ -9,7 +9,7 @@
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
<button class="unselected" onclick="location.href = '/config';">config</button>
</td>
</tr>
<tr>