summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/app.js1
-rw-r--r--www/templates/state.html16
2 files changed, 17 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 6af0dc5a..7efea0e1 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -45,6 +45,7 @@ angular.module('zmApp', [
'request': function (config) {
if ( !(config.url.indexOf("stop.json") > -1 ||
config.url.indexOf("start.json") > -1 ||
+ config.url.indexOf("getDiskPercent.json") > -1 ||
config.url.indexOf("restart.json") > -1 ))
{
config.timeout = 15000;
diff --git a/www/templates/state.html b/www/templates/state.html
index ec25a0c9..08e6bccf 100644
--- a/www/templates/state.html
+++ b/www/templates/state.html
@@ -13,6 +13,7 @@
<ion-item>
<div class="row">
<div class="col">
+ <i class="ion-home" style="font-size:200%;"></i>&nbsp;
ZoneMinder is:
</div>
<div class="col" style="text-align:right; {{color}}">
@@ -23,6 +24,7 @@
<ion-item>
<div class="row">
<div class="col">
+ <i class="ion-arrow-graph-up-right" style="font-size:200%;"></i>&nbsp;
ZoneMinder load:
</div>
<div class="col" style="text-align:right;">
@@ -30,6 +32,20 @@
</div>
</div>
</ion-item>
+
+ <ion-item>
+ <div class="row">
+
+ <div class="col">
+ <i class="ion-soup-can" style="font-size:200%;"></i>&nbsp;
+ Disk Usage:
+ </div>
+ <div class="col" style="text-align:right;">
+ {{zmDisk}}
+ </div>
+ </div>
+ </ion-item>
+
<ion-item>
<button class="button button-full {{dangerButtonColor[showDanger?1:0]}}" ng-click="showDanger=!showDanger">
<i class="ion-alert-circled" "style:font-size:300%;"></i> {{dangerText[showDanger?1:0]}}