mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-10 07:16:37 +02:00
Merge branch 'master' into fix-edit-config
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">Version not detected yet</div>
|
||||
<div class="footer">{{version}}</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/grafana';">stats</button>
|
||||
<button class="unselected" onclick="location.href = '/stats';">stats</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -61,10 +61,8 @@
|
||||
|
||||
<h2>TODO</h2>
|
||||
<ul>
|
||||
<li>reorder config</li>
|
||||
<li>real override</li>
|
||||
<li>ban button</li>
|
||||
<li>pourquoi tout ne se lance pas bien ?</li>
|
||||
<li>synchroniser le mot de passe de grafana et celui du bot</li>
|
||||
</ul>
|
||||
<br><br>
|
||||
|
51
Flask/templates/stats.html
Normal file
51
Flask/templates/stats.html
Normal file
@ -0,0 +1,51 @@
|
||||
{% extends "base.html" %}
|
||||
{% block left_pannel %}
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/override';">override</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/config';">config</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/discord';">discord</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/proxy';">proxy</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" onclick="location.href = '/logs';">logs</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="selected" onclick="location.href = '/grafana';">stats</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 %}
|
||||
<iframe src="/grafana?orgId=1&kiosk" width="100%" height="100%" frameborder="0"></iframe>
|
||||
{% endif %}
|
||||
|
||||
{%endblock %}
|
Reference in New Issue
Block a user