18 lines
863 B
HTML
18 lines
863 B
HTML
{% extends "global/layout.html" %}
|
|
{% block title %}{{ _('Mirror selection') }}{% endblock %}
|
|
{% block content %}
|
|
<h1>{{ _('Mirror selection') }}</h1>
|
|
<h2>{{ _('File:') }} /{{ file }}</h2>
|
|
{% 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) }}">{{ _('Any mirror') }}</a></li>
|
|
{% for mirror in protocol.mirrors -%}
|
|
<li><img src="{{ url_for('static', filename='images/flags/'+mirror.country+'.png') }}" /> {% 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) }}">[{{ _('Download') }}]</a></li>
|
|
{%- endfor %}
|
|
</ul>
|
|
</div>
|
|
{%- endfor %}
|
|
{% endblock %}
|