This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit e9423c98b877b1e280961c83599dd53e6f60ca9a Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Thu Mar 12 17:28:33 2015 +0100 qqes corrections dans hostpage --- app/module_loader.py | 2 ++ views/groups.html | 1 - views/hostpage.html | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/module_loader.py b/app/module_loader.py index 7b8d136..f4db97f 100644 --- a/app/module_loader.py +++ b/app/module_loader.py @@ -85,6 +85,8 @@ class ModuleLoader: conn['args'], self.public_keys_loc, modules.CommandNotFoundException) + else: + print "Error: no connection have been configured yet" return mod_inst def load_all_detection_modules(self): diff --git a/views/groups.html b/views/groups.html index fe9eca1..153b3ff 100644 --- a/views/groups.html +++ b/views/groups.html @@ -1,7 +1,6 @@ <div class="col-md-offset-2 main"> <h1 class="page-header">Group manager</h1> - <button type="button" class="btn btn-primary" ng-click="toto()">ngf.</button> <div class="row"> <div class="col-xs-3"> <label for="grpoption">Your existing groups</label> diff --git a/views/hostpage.html b/views/hostpage.html index c7c53f3..a90d2b0 100644 --- a/views/hostpage.html +++ b/views/hostpage.html @@ -84,10 +84,10 @@ <label for="freq">Frequency check (d:hh:mm)</label> <input type="text" class="form-control" id="freq" ng-model="freq"> <div ng-show="items.unit == '%'"> - <label for="minor_%">Minor notification at {{minor_limit}}% of charge</label> + <label for="minor_%">Minor notification at {{minor_limit_percent}}% of charge</label> <input type="range" min="0" max="99" id="minor_%" ng-model="minor_limit_percent"> - <label for="major_%">Major notification at {{major_limit}}% of charge</label> - <input type="range" min="{{minor_limit}}" max="100" id="major_%" ng-model="major_limit_percent"> + <label for="major_%">Major notification at {{major_limit_percent}}% of charge</label> + <input type="range" min="{{minor_limit_percent}}" max="100" id="major_%" ng-model="major_limit_percent"> </div> <div ng-show="items.unit == 'bool'"> <label for="minor_bool">If down, send a </label> @@ -105,9 +105,9 @@ </div> </div> <div ng-show="items.unit != '%' && items.unit != 'bool'"> - <label for="minor_unit">Minor notif at {{items.unit}}</label> + <label for="minor_unit">Minor notif at {{minor_limit_unit}}</label> <input type="number" class="form-control" id="minor_unit" min="0" ng-model="minor_limit_unit"> - <label for="maj_pack">Major notif at {{items.unit}}</label> + <label for="maj_pack">Major notif at {{major_limit_unit}}</label> <input type="number" class="form-control" id="maj_pack" min="0" ng-model="major_limit_unit"> </div> </div> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.