diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-26 21:18:29 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-27 01:04:47 +0300 |
commit | cf0b9f036b3e3eb218610e7eeececda1320d9f50 (patch) | |
tree | 39e6d1853aecb3fb77036a941a4c6df12a0ce793 /localwebsite/templates-web/index.twig | |
parent | c3ed2483ea508141431be74f29f7c209271897cd (diff) |
auth
Diffstat (limited to 'localwebsite/templates-web/index.twig')
-rw-r--r-- | localwebsite/templates-web/index.twig | 6 |
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> |