summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/index.twig
blob: 452791185257f997ffd55b73fa82345dbb4d98aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div class="container py-4">
  <nav aria-label="breadcrumb">
    <ol class="breadcrumb">
      <li class="breadcrumb-item active" aria-current="page">Главная</li>
    </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/">Модемы</a></li>
    <li class="list-group-item"><a href="/routing/">Маршрутизация</a></li>
    <li class="list-group-item"><a href="/sms/">SMS-сообщения</a></li>
  </ul>

  <h6 class="mt-4">Другое</h6>
  <ul class="list-group list-group-flush">
    <li class="list-group-item"><a href="/inverter/">Инвертор</a> (<a href="{{ grafana_inverter_url }}">Grafana</a>)</li>
    <li class="list-group-item"><a href="/pump/">Насос</a></li>
    <li class="list-group-item"><a href="/sensors/">Датчики</a> (<a href="{{ grafana_sensors_url }}">Grafana</a>)</li>
    <li class="list-group-item"><a href="/cams/">Камеры</a></li>
  </ul>
</div>