FreedomBox/plinth/modules/networks/templates/network_topology_main.html
Nektarios Katakis 06664e1489
networks: Update main networks page Internet connectivity section
Closes: #1555

Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
[sunil: Use the term 'network topology' consistently]
[sunil: s/Router/router in template]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-03-06 14:19:53 -08:00

44 lines
1.2 KiB
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
<h3>
{% blocktrans trimmed %}
{{ box_name }} Internet Connectivity
{% endblocktrans %}
</h3>
<p>
{% blocktrans trimmed %}
The following best describes how your {{ box_name }} is connected in your
network. This information is used only to suggest necessary configuration
actions.
{% endblocktrans %}
</p>
<p>
{% if network_topology == "to_router" %}
{% blocktrans trimmed %}
Your {{ box_name }} gets its Internet connection from your router via Wi-Fi
or Ethernet cable. This is a typical home setup.
{% endblocktrans %}
{% elif network_topology == "as_router" %}
{% blocktrans trimmed %}
Your {{ box_name }} is directly connected to the Internet and all your
devices connect to {{ box_name }} for their Internet connectivity.
{% endblocktrans %}
{% else %}
{% blocktrans trimmed %}
Your Internet connection is directly attached to your {{ box_name }} and there
are no other devices on the network.
{% endblocktrans %}
{% endif %}
<a href="{% url 'networks:network-topology' %}" class="btn btn-default"
role="button">
{% trans 'Update...' %}
</a>
</p>