MsRewards/Flask/templates/override.html

53 lines
1.3 KiB
HTML
Raw Normal View History

2023-06-17 16:52:47 +02:00
{% extends "base.html" %}
{% block left_pannel %}
<table>
<tr>
<td>
<button class="selected" onclick="location.href = '/override';">override</button>
</td>
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/accounts';">accounts</button>
</td>
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/discord';">discord</button>
</td>
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/database';">database</button>
</td>
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/proxy';">proxy</button>
</td>
</tr>
<tr>
<td>
<button class="unselected" onclick="location.href = '/settings';">settings</button>
</td>
</tr>
</table>
{% endblock %}
{% block content %}
{%if not current_user.is_authenticated %}
<button class="unselected" onclick="location.href = '/login';">login</button>
{% else %}
<h1>Not Implemented, watch terminal</h1>
<form method="post" action="/override/">
<input type="submit" name="data" value="Run bot" class="button"/>
</form>
{% endif %}
{%endblock %}