]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/downloads-index.html
Move everything to the root of the repository.
[people/shoehn/ipfire.org.git] / templates / downloads-index.html
diff --git a/templates/downloads-index.html b/templates/downloads-index.html
new file mode 100644 (file)
index 0000000..0ed63b4
--- /dev/null
@@ -0,0 +1,58 @@
+{% extends "base-1.html" %}
+
+{% block title %}{{ _("Download Center") }}{% end block %}
+
+{% block body %}
+       <div class="page-header">
+               <h1>{{ _("IPFire Download Center") }}</h1>
+       </div>
+
+       <div class="row">
+               <div class="span12">
+                       <img class="pull-right" src="{{ static_url("images/box_ipfire.png") }}" alt="{{ _("CD-Box") }}">
+
+                       {% if lang == "de" %}
+                               <p>
+                                       Willkommen in der Downloadsektion des IPFire-Projekts.
+                                       Hier findest du alle bisher veröffentlichten Releases zum Download..
+                               </p>
+                       {% else %}
+                               <p>
+                                       Welcome to the downloads section of the IPFire project.
+                                       You will find all published releases of IPFire for download.
+                               </p>
+                       {% end %}
+               </div>
+       </div>
+
+       <hr>
+
+       <h3>{{ _("Available releases") }}</h3>
+
+       <table class="table table-striped table-hover">
+               <thead>
+                       <tr>
+                               <th>{{ _("Release") }}</th>
+                               <th>{{ _("Release type") }}</th>
+                               <th>{{ _("Release date") }}</th>
+                       </tr>
+               </thead>
+               <tbody>
+                       {% for release in releases %}
+                               <tr>
+                                       <td>
+                                               <a href="/release/{{ release.id }}">{{ release.name }}</a>
+                                       </td>
+                                       <td>
+                                               {% if release.stable %}
+                                                       <span class="label label-success">{{ _("Stable") }}</span>
+                                               {% else %}
+                                                       <span class="label label-important">{{ _("Development") }}</span>
+                                               {% end %}
+                                       </td>
+                                       <td>{{ locale.format_date(release.date, shorter=True) }}</td>
+                               </tr>
+                       {% end %}
+               </tbody>
+       </table>
+{% end block %}