summaryrefslogtreecommitdiff
path: root/web/kbn_templates/sms.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/sms.j2
parent63ff5dd151ca6a21dbae8a654d81cf60f2f6f0cc (diff)
web_kbn: relative paths
Diffstat (limited to 'web/kbn_templates/sms.j2')
-rw-r--r--web/kbn_templates/sms.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/web/kbn_templates/sms.j2 b/web/kbn_templates/sms.j2
index 41be6fc..720a7bd 100644
--- a/web/kbn_templates/sms.j2
+++ b/web/kbn_templates/sms.j2
@@ -6,7 +6,7 @@
<nav>
<div class="nav nav-tabs" id="nav-tab">
{% for modem in modems.keys() %}
- {% if selected_modem != modem %}<a href="/sms.cgi?id={{ modem }}" class="text-decoration-none">{% endif %}
+ {% if selected_modem != modem %}<a href="sms.cgi?id={{ modem }}" class="text-decoration-none">{% endif %}
<button class="nav-link{% if modem == selected_modem %} active{% endif %}" type="button">{{ (modem|lang('modems'))['short'] }}</button>
{% if selected_modem != modem %}</a>{% endif %}
{% endfor %}
@@ -26,7 +26,7 @@
{% endif %}
<div>
- <form method="post" action="/sms.cgi">
+ <form method="post" action="sms.cgi">
<input type="hidden" name="modem" value="{{ selected_modem }}">
<div class="form-floating mb-3">
<input type="text" name="phone" class="form-control" id="inputPhone" placeholder="+7911xxxyyzz">
@@ -45,9 +45,9 @@
<h6 class="text-primary mt-4">
{{ "sms_latest"|lang }}
{% if not is_outbox %}
- <b>{{ "sms_inbox"|lang }}</b> <span class="text-black-50">|</span> <a href="/sms.cgi?id={{ selected_modem }}&amp;outbox=1">{{ "sms_outbox"|lang }}</a>
+ <b>{{ "sms_inbox"|lang }}</b> <span class="text-black-50">|</span> <a href="sms.cgi?id={{ selected_modem }}&amp;outbox=1">{{ "sms_outbox"|lang }}</a>
{% else %}
- <a href="/sms.cgi?id={{ selected_modem }}">{{ "sms_inbox"|lang }}</a> <span class="text-black-50">|</span> <b>{{ "sms_outbox"|lang }}</b>
+ <a href="sms.cgi?id={{ selected_modem }}">{{ "sms_inbox"|lang }}</a> <span class="text-black-50">|</span> <b>{{ "sms_outbox"|lang }}</b>
{% endif %}
</h6>