Files
I2P_Website/i2p2www/pages/downloads/select.html

18 lines
935 B
HTML
Raw Normal View History

2012-12-05 01:21:34 +00:00
{% extends "global/layout.html" %}
{% block title %}{% trans %}Mirror selection{% endtrans %}{% endblock %}
2012-12-05 01:21:34 +00:00
{% block content %}
<h1>{% trans %}Mirror selection{% endtrans %}</h1>
<h2>{% trans %}File:{% endtrans %} /{{ file }}</h2>
2012-12-05 01:21:34 +00:00
{% for protocol in mirrors -%}
<div class="protocol">
<h3>{{ protocol.name | upper }}</h3>
<ul>
<li><a href="{{ url_for('downloads_redirect', protocol=protocol.name, file=file) }}">{% trans %}Any mirror{% endtrans %}</a></li>
2012-12-05 01:21:34 +00:00
{% for mirror in protocol.mirrors -%}
<li><img src="{{ url_for('static', filename='images/flags/'+mirror.country+'.png') }}" />&nbsp;{% if mirror.org_url %}<a href="{{ mirror.org_url }}">{% endif %}{{ mirror.org }}{% if mirror.org_url %}</a>{% endif %} <a href="{{ url_for('downloads_redirect', protocol=protocol.name, file=file, mirror=loop.index-1) }}">[{% trans %}Download{% endtrans %}]</a></li>
2012-12-05 01:21:34 +00:00
{%- endfor %}
</ul>
</div>
{%- endfor %}
{% endblock %}