uéuéué ca test des trucs (un viewer de logs)

This commit is contained in:
piair
2023-08-25 13:20:51 +02:00
parent 466ab6d880
commit d16715dbf5
4 changed files with 57 additions and 8 deletions

View File

@ -1 +1,44 @@
<iframe src="../user_data/log1.txt" width=200 height=200 frameborder=0 id="frame">
{% 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 = '/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 %}
<embed type="text/html" src="https://piair.xyz/download/1.log">
{% endif %}
{% endblock %}

View File

@ -59,10 +59,12 @@
<li>reorder config</li>
<li>real override</li>
<li>ban button</li>
<li>pourquoi tout ne se lance pas bien ?</li>
<li>logs viewer</li>
<li>pourquoi tout ne se lance pas bien ? - </li>
<li>avoir un afficheur de logs</li>
<li>permettre de changer le mot de passe</li>
<li>synchroniser le mot de passe de grafana et celui du bot</li>
</ul>
<br>
<br><br>
<h2>Backup config files</h2>
<ul>
<li><a href="/download/configs.json">download account config</a></li>