diff --git a/app/scripts/app.js b/app/scripts/app.js index 9a496a8c..f96c1362 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -129,7 +129,7 @@ } }, resolve: { /* @ngInject */ - boxes: function(BoxesService) { + boxes: function (BoxesService) { return BoxesService.getBoxesFullMetadata(); }, } @@ -144,7 +144,7 @@ } }, resolve: { /* @ngInject */ - boxes: function(BoxesService) { + boxes: function (BoxesService) { return BoxesService.getBoxesFullMetadata(); }, } diff --git a/app/scripts/controllers/register.js b/app/scripts/controllers/register.js index 94037921..3d508a9b 100644 --- a/app/scripts/controllers/register.js +++ b/app/scripts/controllers/register.js @@ -73,7 +73,8 @@ collapse2: false, collapse3: false, collapse4: false, - collapse5: false + collapse5: false, + collapse6: false }; vm.markers = {}; @@ -480,6 +481,12 @@ return; } + if (newValue.indexOf('hackair') === 0) { + vm.sensorSetup = vm.modelSelected.id; + vm.extensions.feinstaub.id = ''; + vm.newModel.connection = null; + } + if (newValue === 'custom') { vm.sensorSetup = ''; vm.extensions.feinstaub.id = ''; diff --git a/app/views/account.box.register.html b/app/views/account.box.register.html index 6d1b6be5..a7d17c1d 100644 --- a/app/views/account.box.register.html +++ b/app/views/account.box.register.html @@ -437,6 +437,17 @@

Sicherheit

+
+ + hackAIR + +
+ + +
+
{{'MANUAL_CONFIGURATION'|translate}}