59 lines
1.5 KiB
HTML
59 lines
1.5 KiB
HTML
{% 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 %}
|
|
<h1>Already logged in</h1>
|
|
{% else %}
|
|
|
|
<select name="select" onchange="change_logs(this.value)">
|
|
{% for i in data %}
|
|
<option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<br><br>
|
|
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}" width="100%" height="900%" id="embed">
|
|
|
|
|
|
|
|
{% endif %}
|
|
{% endblock %} |