ui: Add error and info templates and display debug mode.

This commit is contained in:
tecnovert
2022-09-15 21:54:15 +02:00
parent afba673085
commit 6b4666d632
4 changed files with 56 additions and 22 deletions

View File

@@ -13,6 +13,13 @@
<h2>{{ h2 }}</h2>
{% endif %}
{% if debug_mode == true %}
<p>Debug mode: Active</p>
{% endif %}
{% if debug_ui_mode == true %}
<p>Debug UI mode: Active</p>
{% endif %}
{% if ws_url %}
<script>
var ws = new WebSocket("{{ ws_url }}"),