mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-13 22:34:45 +02:00
should be embeded now
This commit is contained in:
@ -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>
|
||||
|
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="selected" onclick="location.href = '/logs';">logs</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<button class="unselected" 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" width="100%" height="100%"></iframe>
|
||||
{% endif %}
|
||||
|
||||
{%endblock %}
|
Reference in New Issue
Block a user