summaryrefslogtreecommitdiffstats
path: root/templates/systemstatus/diskstat.html
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-05 20:41:32 +0200
committerSimon Rettberg2014-06-05 20:41:32 +0200
commitda5ae919f868d1da90548d7cbafec55a06d2a62b (patch)
tree9af9d1933f03c518875d672cdc1ac87dd13273ad /templates/systemstatus/diskstat.html
parentAdd functions to add script includes to the beginning or end of the document ... (diff)
downloadslx-admin-da5ae919f868d1da90548d7cbafec55a06d2a62b.tar.gz
slx-admin-da5ae919f868d1da90548d7cbafec55a06d2a62b.tar.xz
slx-admin-da5ae919f868d1da90548d7cbafec55a06d2a62b.zip
Started "System Status" page
Diffstat (limited to 'templates/systemstatus/diskstat.html')
-rw-r--r--templates/systemstatus/diskstat.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/templates/systemstatus/diskstat.html b/templates/systemstatus/diskstat.html
new file mode 100644
index 00000000..e1d4a57e
--- /dev/null
+++ b/templates/systemstatus/diskstat.html
@@ -0,0 +1,50 @@
+<div class="slx-storechart">
+ {{#system}}
+ <b>Systempartition</b>
+ <div id="circles-system"></div>
+ Kapazität: {{size}}
+ {{/system}}
+ {{^system}}
+ <b>Fehler beim Ermitteln des verfügbaren Speichers auf der Systempartition!</b>
+ {{/system}}
+</div>
+<div class="slx-storechart">
+ {{#store}}
+ <b>VM-Speicher</b>
+ <div id="circles-store"></div>
+ Kapazität: {{size}}
+ {{/store}}
+ {{^store}}
+ <b>Fehler beim Ermitteln des verfügbaren Speicherplatzes am VM-Speicherort. Bitte überprüfen Sie die Konfiguration.</b>
+ {{/store}}
+</div>
+<script type="text/javascript">
+ {{#store}}
+ Circles.create({
+ id: 'circles-store',
+ radius: 60,
+ value: {{{percent}}},
+ maxValue: 100,
+ width: 10,
+ text: function(value){return value + '%'; },
+ colors: ['#D3B6C6', '#{{color}}'],
+ duration: 400,
+ wrpClass: 'circles-wrp',
+ textClass: 'circles-text'
+ });
+ {{/store}}
+ {{#system}}
+ Circles.create({
+ id: 'circles-system',
+ radius: 60,
+ value: {{{percent}}},
+ maxValue: 100,
+ width: 10,
+ text: function(value){return value + '%'; },
+ colors: ['#D3B6C6', '#{{color}}'],
+ duration: 400,
+ wrpClass: 'circles-wrp',
+ textClass: 'circles-text'
+ });
+ {{/system}}
+</script> \ No newline at end of file