summaryrefslogtreecommitdiff
path: root/web/kbn_templates/routing_main.j2
blob: 21d0965de1722b2ef299a2aec26fdf0e0f69c0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 %}