19 lines
581 B
Django/Jinja
19 lines
581 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 %} |