summaryrefslogtreecommitdiff
path: root/web/kbn_templates/index.j2
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-04-03 01:26:41 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-04-03 01:26:41 +0300
commit8314dc42dc21185f556b4bb257ce198378d30d71 (patch)
treeab11a973c920f99063f55a58ed2affc397fd8945 /web/kbn_templates/index.j2
parent63ff5dd151ca6a21dbae8a654d81cf60f2f6f0cc (diff)
web_kbn: relative paths
Diffstat (limited to 'web/kbn_templates/index.j2')
-rw-r--r--web/kbn_templates/index.j216
1 files changed, 8 insertions, 8 deletions
diff --git a/web/kbn_templates/index.j2 b/web/kbn_templates/index.j2
index 9d683e0..6f579c7 100644
--- a/web/kbn_templates/index.j2
+++ b/web/kbn_templates/index.j2
@@ -23,16 +23,16 @@
<h6>{{ "internet"|lang }}</h6>
<ul class="list-group list-group-flush">
- <li class="list-group-item"><a href="/modems.cgi">{{ "modems"|lang }}</a></li>
- <li class="list-group-item"><a href="/routing/main.cgi">{{ "routing"|lang }}</a></li>
- <li class="list-group-item"><a href="/sms.cgi">{{ "sms"|lang }}</a></li>
+ <li class="list-group-item"><a href="modems.cgi">{{ "modems"|lang }}</a></li>
+ <li class="list-group-item"><a href="routing/main.cgi">{{ "routing"|lang }}</a></li>
+ <li class="list-group-item"><a href="sms.cgi">{{ "sms"|lang }}</a></li>
</ul>
<h6 class="mt-4">{{ "misc"|lang }}</h6>
<ul class="list-group list-group-flush">
- <li class="list-group-item"><a href="/inverter.cgi">{{ "inverter"|lang }}</a> (<a href="{{ inverter_grafana_url }}">Grafana</a>)</li>
-{# <li class="list-group-item"><a href="/pump.cgi">{{ "pump"|lang }}</a></li>#}
-{# <li class="list-group-item"><a href="/sensors.cgi">{{ "sensors"|lang }}</a> (<a href="{{ sensors_grafana_url }}">Grafana</a>)</li>#}
+ <li class="list-group-item"><a href="inverter.cgi">{{ "inverter"|lang }}</a> (<a href="{{ inverter_grafana_url }}">Grafana</a>)</li>
+{# <li class="list-group-item"><a href="pump.cgi">{{ "pump"|lang }}</a></li>#}
+{# <li class="list-group-item"><a href="sensors.cgi">{{ "sensors"|lang }}</a> (<a href="{{ sensors_grafana_url }}">Grafana</a>)</li>#}
</ul>
<nav class="mt-4">
@@ -45,7 +45,7 @@
<div class="camzones" id="cam_zones"{% if tab_selected != 'zones' %} style="display: none"{% endif %}>
{% for zone in camzones %}
- <a href="/cams.cgi?zone={{ zone }}" class="camzone">
+ <a href="cams.cgi?zone={{ zone }}" class="camzone">
<div class="camzone_text">{{ zone|lang('ipcam_zones') }}</div>
</a>
{% endfor %}
@@ -53,7 +53,7 @@
<div class="list-group cams_list_group" id="cam_list"{% if tab_selected != 'list' %} style="display: none"{% endif %}>
{% for id in allcams %}
- <a href="/cams.cgi?id={{ id }}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
+ <a href="cams.cgi?id={{ id }}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
{{ id|lang('ipcam') }}
<span class="icon-right">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">