MsRewards/Flask/templates/logs.html

59 lines
1.5 KiB
HTML
Raw Normal View History

{% 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>
2023-08-25 16:25:17 +02:00
<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 %}
<h1>Already logged in</h1>
{% else %}
2023-08-25 14:39:13 +02:00
2023-08-25 15:25:32 +02:00
<select name="select" onchange="change_logs(this.value)">
2023-08-25 14:50:38 +02:00
{% for i in data %}
2023-08-25 15:12:31 +02:00
<option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
2023-08-25 15:23:33 +02:00
{% endfor %}
2023-08-25 15:12:31 +02:00
</select>
2023-08-26 12:55:46 +02:00
<br><br>
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}" width="100%" height="900%" id="embed">
2023-08-25 15:12:31 +02:00
2023-08-25 15:23:33 +02:00
2023-08-25 14:06:03 +02:00
{% endif %}
{% endblock %}