aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/admin/backups.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/admin/backups.html
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/templates/admin/backups.html')
-rw-r--r--servo/templates/admin/backups.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/servo/templates/admin/backups.html b/servo/templates/admin/backups.html
new file mode 100644
index 0000000..1670ea5
--- /dev/null
+++ b/servo/templates/admin/backups.html
@@ -0,0 +1,17 @@
+{% extends "admin/index.html" %}
+{% load i18n %}
+
+{% block second_column %}
+ <h2>{% trans "Backups" %}</h2>
+ <table class="table">
+ <tbody>
+ {% for b in backups %}
+ <tr>
+ <td>{{ b.filename }}</td>
+ <td>{{ b.filesize|filesizeformat }}</td>
+ <td><a href="?dl={{ b.filename }}" class="btn btn-default"><i class="icon-download"></i></a></td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+{% endblock second_column %}