MsRewards/Flask/templates/settings.html

71 lines
1.9 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="unselected" onclick="location.href = '/override';">override</button>
</td>
</tr>
<tr>
<td>
2023-06-18 17:40:59 +02:00
<button class="unselected" onclick="location.href = '/config';">config</button>
2023-06-17 16:52:47 +02:00
</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="selected" 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 %}
<form method="post" action="/settings/">
<table>
<tr>
<td class="comlumn-name">avatar url :</td>
<td><input type="text" name="avatarlink" value="{{data['avatarlink']}}"></td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" name="settings" id="submit" value="update" class="button"/>
</td>
</tr>
</table>
2023-07-01 14:14:41 +02:00
<table>
<tr>
TODO
</tr>
2023-07-03 21:29:26 +02:00
<tr><td>reorder config</td></tr>
<tr><td>real override</td></tr>
<tr><td>ban button</td></tr>
<tr><td>database truc</td></tr>
<tr><td>pourquoi tout ne se lance pas bien ?</td></tr>
<tr><td>logs viewer</td></tr>
2023-07-01 14:14:41 +02:00
</table>
2023-06-17 16:52:47 +02:00
</form>
2023-08-21 19:30:49 +02:00
<a href="/images/myw3schoolsimage.jpg" download></a>
2023-06-17 16:52:47 +02:00
{% endif %}
{%endblock %}