diff options
Diffstat (limited to 'localwebsite/templates-web/routing_page.twig')
-rw-r--r-- | localwebsite/templates-web/routing_page.twig | 17 |
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 |