diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 01:26:41 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 01:26:41 +0300 |
commit | 8314dc42dc21185f556b4bb257ce198378d30d71 (patch) | |
tree | ab11a973c920f99063f55a58ed2affc397fd8945 /web/kbn_templates/sms.j2 | |
parent | 63ff5dd151ca6a21dbae8a654d81cf60f2f6f0cc (diff) |
web_kbn: relative paths
Diffstat (limited to 'web/kbn_templates/sms.j2')
-rw-r--r-- | web/kbn_templates/sms.j2 | 8 |
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 }}&outbox=1">{{ "sms_outbox"|lang }}</a> + <b>{{ "sms_inbox"|lang }}</b> <span class="text-black-50">|</span> <a href="sms.cgi?id={{ selected_modem }}&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> |