]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/admin-downloads.html
Move everything to the root of the repository.
[people/shoehn/ipfire.org.git] / templates / admin-downloads.html
diff --git a/templates/admin-downloads.html b/templates/admin-downloads.html
new file mode 100644 (file)
index 0000000..ea4d5b9
--- /dev/null
@@ -0,0 +1,27 @@
+{% extends "admin-downloads-base.html" %}
+
+{% block body %}
+       <div id="post">
+               <h3>{{ _("Download statistics") }}</h3>
+
+               <h4>{{ _("Download counters") }}</h4>
+               <table>
+                       <tr>
+                               <td>{{ _("Today") }}</td>
+                               <td>{{ downloads_today }}</td>
+                       </tr>
+                       <tr>
+                               <td>{{ _("Yesterday") }}</td>
+                               <td>{{ downloads_yesterday }}</td>
+                       </tr>
+                       <tr>
+                               <td>{{ _("Total") }}</td>
+                               <td>{{ downloads_total }}</td>
+                       </tr>
+               </table>
+
+               <h4>{{ _("Downloads by country") }}</h4>
+               {{ modules.StasyGeoTable(downloads_locations_today) }}
+               {{ modules.StasyGeoTable(downloads_locations_total) }}
+       </div>
+{% end %}