summaryrefslogtreecommitdiff
path: root/web/kbn_templates/routing_main.j2
diff options
context:
space:
mode:
Diffstat (limited to 'web/kbn_templates/routing_main.j2')
-rw-r--r--web/kbn_templates/routing_main.j219
1 files changed, 19 insertions, 0 deletions
diff --git a/web/kbn_templates/routing_main.j2 b/web/kbn_templates/routing_main.j2
new file mode 100644
index 0000000..856da78
--- /dev/null
+++ b/web/kbn_templates/routing_main.j2
@@ -0,0 +1,19 @@
+{% extends "base.j2" %}
+
+{% block content %}
+{% include 'routing_header.j2' %}
+
+<div class="mt-3 mb-3">
+ {{ "routing_current_upstream"|lang }}: <b>{{ (upstream|lang('modems'))['full'] }}</b>
+</div>
+
+{% for modem in modems %}
+ {% if modem != upstream %}
+ <div class="pt-1 pb-2">
+ <a href="/routing/main.cgi?set-upstream-to={{ modem }}">
+ <button type="button" class="btn btn-primary">{{ "routing_switch_to"|lang }} <b>{{ (modem|lang('modems'))['full'] }}</b></button>
+ </a>
+ </div>
+ {% endif %}
+{% endfor %}
+{% endblock %} \ No newline at end of file