summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/index.twig
diff options
context:
space:
mode:
Diffstat (limited to 'localwebsite/templates-web/index.twig')
-rw-r--r--localwebsite/templates-web/index.twig6
1 files changed, 6 insertions, 0 deletions
diff --git a/localwebsite/templates-web/index.twig b/localwebsite/templates-web/index.twig
index 1635459..8a0bdaf 100644
--- a/localwebsite/templates-web/index.twig
+++ b/localwebsite/templates-web/index.twig
@@ -5,6 +5,12 @@
</ol>
</nav>
+ {% if auth_user %}
+ <div class="mb-4 alert alert-secondary">
+ Вы авторизованы как <b>{{ auth_user.username }}</b>. <a href="/deauth/">Выйти</a>
+ </div>
+ {% endif %}
+
<h6>Интернет</h6>
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="/modem/status/">Состояние</a></li>