diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/chat.html (renamed from templates/incoming.html) | 2 | ||||
-rw-r--r-- | templates/head.html | 6 | ||||
-rw-r--r-- | templates/settings_applied.html | 13 |
3 files changed, 17 insertions, 4 deletions
diff --git a/templates/incoming.html b/templates/chat.html index 2a43623..584bde5 100644 --- a/templates/incoming.html +++ b/templates/chat.html @@ -1,6 +1,6 @@ {% include "head.html" %} <div class="content"> - Incoming! + <h1>Chat</h1> </div> {% include "foot.html" %} {# vi:set et sw=2 ts=2: #} diff --git a/templates/head.html b/templates/head.html index 99a4bca..3c611ed 100644 --- a/templates/head.html +++ b/templates/head.html @@ -24,9 +24,9 @@ <i class="w-8 fa fa-home" aria-hidden="true"></i><span>Dashboard</span> </li> </a> - <a href="/incoming" class=""> - <li class="rounded-md mt-1 p-3 {% if page == ActivePage::Incoming %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300"> - <i class="w-8 fa fa-inbox" aria-hidden="true"></i><span>Incoming</span> + <a href="/chat" class=""> + <li class="rounded-md mt-1 p-3 {% if page == ActivePage::Chat %} bg-sky-200 text-sky-900 {% endif %} hover:bg-sky-300"> + <i class="w-8 fa fa-comments" aria-hidden="true"></i><span>Chat</span> </li> </a> <a href="/send" class=""> diff --git a/templates/settings_applied.html b/templates/settings_applied.html new file mode 100644 index 0000000..f536772 --- /dev/null +++ b/templates/settings_applied.html @@ -0,0 +1,13 @@ +{% include "head.html" %} +<div class="content"> + {% if ok %} + <h1>Configuration updated</h1> + <p>If you enabled or disabled tunnel, please restart the cats-radio-node process.</p> + {% else %} + <h1>Configuration update failed</h1> + <p>{{ error_message }}:</p> + <p>{{ error_reason }}:</p> + {% endif %} +</div> +{% include "foot.html" %} +{# vi:set et sw=2 ts=2: #} |