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

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

No files matched your search

+7
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 }}"),