From 87d2b9ea6da64a28f7a2967fdb5dfeb2bca66cfa Mon Sep 17 00:00:00 2001 From: ARC Date: Wed, 13 May 2015 16:36:38 -0400 Subject: disk percent display --- www/js/app.js | 1 + www/templates/state.html | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) (limited to 'www') 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 @@
+   ZoneMinder is:
@@ -23,6 +24,7 @@
+   ZoneMinder load:
@@ -30,6 +32,20 @@
+ + +
+ +
+   + Disk Usage: +
+
+ {{zmDisk}} +
+
+
+