{% block title %}{{ release }}{% end block %}
{% block container %}
- <section>
+ <div class="header">
<div class="container">
- <h6 class="mb-0">{{ _("Download") }}</h6>
+ <h1>{{ release }}</h1>
- <h1 class="mb-0">{{ release }}</h1>
-
- <h6 class="mb-5">
+ <p class="text-muted">
{{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }}
{% if release.blog %}
•
<a href="/blog/{{ release.blog.slug }}">{{ _("Release Notes") }}</a>
{% end %}
- </h6>
+ </p>
+ </div>
+ </div>
+ <div class="container">
+ <section>
{% for arch in release.primary_arches %}
- <div class="my-5">
- <h5>{{ arch }}</h5>
-
- <ul class="list-group">
- {% for file in release.get_files_by_arch(arch) %}
- <li class="list-group-item">
- <div class="d-flex w-100 justify-content-between">
- <a href="{{ file.url }}">{{ _(file.desc) }}</a>
-
- {% if file.size >= 1024 * 1024 %}
- <span class="text-muted">{{ format_size(file.size) }}</span>
- {% end %}
- </div>
+ <h5>{{ arch }}</h5>
+
+ <ul class="list-group mb-5">
+ {% for file in release.get_files_by_arch(arch) %}
+ <li class="list-group-item">
+ <div class="d-flex w-100 justify-content-between">
+ <a href="{{ file.url }}">{{ _(file.desc) }}</a>
+
+ {% if file.size >= 1024 * 1024 %}
+ <span class="text-muted">{{ format_size(file.size) }}</span>
+ {% end %}
+ </div>
+
+ <ul class="list-inline text-muted small mb-0 d-none d-md-block">
+ <li class="list-inline-item">
+ {{ "%s: %s" % ("SHA256" if file.sha256 else "SHA1", file.sha256 or file.sha1) }}
+ </li>
- <ul class="list-inline text-muted small mb-0 d-none d-md-block">
+ {% if file.torrent_url %}
<li class="list-inline-item">
- {{ "%s: %s" % ("SHA256" if file.sha256 else "SHA1", file.sha256 or file.sha1) }}
+ <a href="{{ file.torrent_url }}">
+ <i class="fas fa-download"></i> {{ _("Torrent Download") }}
+ </a>
</li>
-
- {% if file.torrent_url %}
- <li class="list-inline-item">
- <a href="{{ file.torrent_url }}">
- <i class="fas fa-download"></i> {{ _("Torrent Download") }}
- </a>
- </li>
- {% end %}
- </ul>
- </li>
- {% end %}
- </ul>
- </div>
+ {% end %}
+ </ul>
+ </li>
+ {% end %}
+ </ul>
{% end %}
- </div>
- </section>
+ </section>
+ </div>
<section class="inverse">
<div class="container">
</section>
{% if release.secondary_arches %}
- <section>
- <div class="container">
+ <div class="container">
+ <section>
<h3>{{ _("Secondary Architectures") }}</h3>
{% for arch in release.secondary_arches %}
- <div class="my-5">
- <h5>
- {{ arch }}
-
- {% if arch in release.experimental_arches %}
- <span class="badge badge-success small">{{ _("Experimental") }}</span>
- {% else %}
- <span class="badge badge-warning small">{{ _("Legacy") }}</span>
- {% end %}
- </h5>
-
- <ul class="list-group">
- {% for file in release.get_files_by_arch(arch) %}
- <li class="list-group-item">
- <div class="d-flex w-100 justify-content-between">
- <a href="{{ file.url }}">{{ _(file.desc) }}</a>
-
- {% if file.size >= 1024 * 1024 %}
- <span class="text-muted">{{ format_size(file.size) }}</span>
- {% end %}
- </div>
-
- <ul class="list-inline text-muted small mb-0 d-none d-md-block">
+ <h5>
+ {{ arch }}
+
+ {% if arch in release.experimental_arches %}
+ <span class="badge badge-success small">{{ _("Experimental") }}</span>
+ {% else %}
+ <span class="badge badge-warning small">{{ _("Legacy") }}</span>
+ {% end %}
+ </h5>
+
+ <ul class="list-group mb-5">
+ {% for file in release.get_files_by_arch(arch) %}
+ <li class="list-group-item">
+ <div class="d-flex w-100 justify-content-between">
+ <a href="{{ file.url }}">{{ _(file.desc) }}</a>
+
+ {% if file.size >= 1024 * 1024 %}
+ <span class="text-muted">{{ format_size(file.size) }}</span>
+ {% end %}
+ </div>
+
+ <ul class="list-inline text-muted small mb-0 d-none d-md-block">
+ <li class="list-inline-item">
+ {{ "%s: %s" % ("SHA256" if file.sha256 else "SHA1", file.sha256 or file.sha1) }}
+ </li>
+
+ {% if file.torrent_url %}
<li class="list-inline-item">
- {{ "%s: %s" % ("SHA256" if file.sha256 else "SHA1", file.sha256 or file.sha1) }}
+ <a href="{{ file.torrent_url }}">
+ <i class="fas fa-download"></i> {{ _("Torrent Download") }}
+ </a>
</li>
-
- {% if file.torrent_url %}
- <li class="list-inline-item">
- <a href="{{ file.torrent_url }}">
- <i class="fas fa-download"></i> {{ _("Torrent Download") }}
- </a>
- </li>
- {% end %}
- </ul>
- </li>
- {% end %}
- </ul>
- </div>
+ {% end %}
+ </ul>
+ </li>
+ {% end %}
+ </ul>
{% end %}
- </div>
- </section>
+ </section>
+ </div>
{% end %}
{% end block %}