diff --git a/www/assets/js/ng/controller_config.js b/www/assets/js/ng/controller_config.js index a91179d..c09a1c2 100644 --- a/www/assets/js/ng/controller_config.js +++ b/www/assets/js/ng/controller_config.js @@ -89,4 +89,11 @@ poconsole.controller('configCtrl', function($scope, Page, $log, config, devices) getDeviceTypes.then(function(d){ $scope.device_types = d.device_types; }); + + $scope.deleteAllTagData = function(){ + var deleteAllTags = tags.deleteAll(); + deleteAllTags.then(function(data){ + $log.info(data); + }); + }; }); diff --git a/www/assets/templates/config.html b/www/assets/templates/config.html index e05344c..fd1bf87 100644 --- a/www/assets/templates/config.html +++ b/www/assets/templates/config.html @@ -32,6 +32,13 @@ +
+
+ +
+
+ +

Devices