homekit/web/kbn_templates/routing_main.j2
2024-04-03 01:26:41 +03:00

19 lines
580 B
Django/Jinja

{% 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 %}