summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/index.html1
-rw-r--r--www/js/MonitorCtrl.js4
-rw-r--r--www/js/app.js1
-rw-r--r--www/templates/help.html8
4 files changed, 8 insertions, 6 deletions
diff --git a/www/index.html b/www/index.html
index 1db134e8..65f0e1cd 100644
--- a/www/index.html
+++ b/www/index.html
@@ -35,6 +35,7 @@
<!-- your app's js -->
+ <script src="js/templates.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index 2ae91b69..ee9605fc 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -285,8 +285,8 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu
// The status is provided by zmdc.pl
// "not running", "pending", "running since", "Unable to connect"
-
- for (var i = 0; i < $scope.monitors.length; i++) {
+ var i;
+ for ( i = 0; i < $scope.monitors.length; i++) {
(function (j) {
$scope.monitors[j].Monitor.isRunningText = "...";
$scope.monitors[j].Monitor.isRunning = "...";
diff --git a/www/js/app.js b/www/js/app.js
index 4c157eda..ffff0c68 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -7,7 +7,6 @@
angular.module('zmApp', [
'ionic',
'zmApp.controllers',
- //'cordovaHTTP'
])
//------------------------------------------------------------------
diff --git a/www/templates/help.html b/www/templates/help.html
index 011f577c..9a979d6b 100644
--- a/www/templates/help.html
+++ b/www/templates/help.html
@@ -8,13 +8,15 @@
<ion-content class="padding">
<div class="list">
+
+
<ion-item class="item-text-wrap">
<h2><b> What do I enter for ZM Portal URL, Base path to cgi-bin and ZM API URL?</b> </h2>
<ul>
- <li>ZM Portal URL: The URL using which you can access ZM (example http://myserver.ddns.net/zm)</li>
- <li>CGI base path: The URL using which your cgi-bin directory is accessible (example http://myserver.ddns.net/). You don't have to enter cgi-bin explictly</li>
- <li>API Url: The URL using which your API directory is accessible (example: http://myserver.ddns.net/zm/api)</li>
+ <li>- ZM Portal URL: The URL using which you can access ZM (example http://myserver.ddns.net/zm)</li>
+ <li>- CGI base path: The URL using which your cgi-bin directory is accessible (example http://myserver.ddns.net/). You don't have to enter cgi-bin explictly</li>
+ <li>- API Url: The URL using which your API directory is accessible (example: http://myserver.ddns.net/zm/api)</li>
</ul>
</ion-item>