From 6acc69b519422171eb661edbe192bf2074ce6d8f Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Wed, 2 Apr 2014 17:25:00 +0200 Subject: Added more views for content. --- templates/apps/content/cluster.html | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 templates/apps/content/cluster.html (limited to 'templates/apps/content/cluster.html') diff --git a/templates/apps/content/cluster.html b/templates/apps/content/cluster.html new file mode 100644 index 0000000..6d30690 --- /dev/null +++ b/templates/apps/content/cluster.html @@ -0,0 +1,59 @@ +{% extends "base.html" %} +{% block js %} + + + + + +{% endblock %} +{% block content %} + +{% if cluster_name %} +

Storage for {{cluster_name}}

+
+ Total storage: {{ total_bytecount|filesizeformat }} +
+
+
+
+ + + + + + + + {% for domain in domains %} + + + + + + + {% endfor %} + +
DomainNumber of filesStorage usedPercent
{{ domain.domain }}{{ domain.number_of_files }}{{ domain.domain_bytes|filesizeformat}}{% widthratio domain.domain_bytes total_bytecount 100 %}%
+
+{% endif %} +{% endblock %} + +{% block widgets %} + +{% endblock %} \ No newline at end of file -- cgit v1.1