Veiko Aasa 296f6dbe85
i2p: New style app page layout
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>
2020-03-06 15:26:40 -08:00

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