summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/routing_page.twig
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-21 01:45:56 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-21 01:45:56 +0300
commit6f53e6e997c9f4647a667bd58b11bc622fa3b47f (patch)
tree226bd65a04576de4f41bf8396af97cd43ca27829 /localwebsite/templates-web/routing_page.twig
parent902a3bfbe2c4645e6725fb7583500d1a28026fad (diff)
move local website to homekit's tree
Diffstat (limited to 'localwebsite/templates-web/routing_page.twig')
-rw-r--r--localwebsite/templates-web/routing_page.twig17
1 files changed, 17 insertions, 0 deletions
diff --git a/localwebsite/templates-web/routing_page.twig b/localwebsite/templates-web/routing_page.twig
new file mode 100644
index 0000000..90437fd
--- /dev/null
+++ b/localwebsite/templates-web/routing_page.twig
@@ -0,0 +1,17 @@
+{% include 'routing_header.twig' with {
+ selected_tab: 'smallhome'
+} %}
+
+<div class="mt-3 mb-3">
+ Текущий апстрим: <b>{{ current.label }}</b>
+</div>
+
+{% for key, modem in modems %}
+ {% if key != current.key %}
+ <div class="pt-1 pb-2">
+ <a href="/routing/switch-small-home/?upstream={{ key }}">
+ <button type="button" class="btn btn-primary">Переключить на <b>{{ modem.label }}</b></button>
+ </a>
+ </div>
+ {% endif %}
+{% endfor %} \ No newline at end of file