mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
Get rid of tabs in the app page. Tests performed: - enable/disable app - check that links to the external site work - check that links to the external site are disabled if app is disabled - i2p functional tests pass Signed-off-by: Veiko Aasa <veiko17@disroot.org>
38 lines
850 B
HTML
38 lines
850 B
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block configuration %}
|
|
{{ block.super }}
|
|
|
|
<h3>{% trans "I2P Proxies and Tunnels" %}</h3>
|
|
{% for line in proxies_description %}
|
|
<p>{{ line|safe }}</p>
|
|
{% endfor %}
|
|
|
|
<p>
|
|
<a class="btn btn-primary" target="_blank" role="button"
|
|
href="/i2p/i2ptunnel/"
|
|
{{ is_enabled|yesno:',disabled="disabled"' }}>
|
|
{% trans "Launch" %}
|
|
</a>
|
|
</p>
|
|
|
|
<h3>{% trans "Anonymous Torrents" %}</h3>
|
|
{% for line in torrents_description %}
|
|
<p>{{ line|safe }}</p>
|
|
{% endfor %}
|
|
|
|
<p>
|
|
<a class="btn btn-primary" target="_blank" role="button"
|
|
href="/i2p/i2psnark/"
|
|
{{ is_enabled|yesno:',disabled="disabled"' }}>
|
|
{% trans "Launch" %}
|
|
</a>
|
|
</p>
|
|
{% endblock %}
|