@@ -3,10 +3,33 @@ <h2 style="margin-top: 0px; margin-bottom: 0px">{{'EDIT_SCRIPT'|translate}}</h2>
33
44< div ng-if ="script.showConfiguration ">
55 < h3 > {{'CONFIGURATION'|translate}}</ h3 >
6- < form class ="form-inline ">
6+ < form class ="form ">
77 <!-- Firefox workaround https://github.com/sensebox/openSenseMap/issues/295-->
88 < input type ="password " style ="display:none; ">
99 <!-- Firefox workaround end -->
10+ < div class ="form-group break " ng-if ="script.box.model === 'homeV2Wifi' || script.box.model === 'homeV2WifiFeinstaub' || script.box.model === 'homeV2Lora' || script.box.model === 'homeV2Ethernet' || script.box.model === 'homeV2EthernetFeinstaub' ">
11+ < div style ="text-align: left; ">
12+ < div class ="checkbox checkbox-success checkbox-inline "
13+ style ="vertical-align: middle; " uib-tooltip ="{{'DEBUG_ENABLED_WARNING' ||translate}} " tooltip-placement ="top " tooltip-trigger ="'mouseenter' ">
14+ < input type ="checkbox " id ="enable_debug " ng-model ="script.enable_debug " ng-change ="script.generateScript() ">
15+ < label for ="enable_debug "> </ label >
16+ </ div >
17+ < span style ="vertical-align: middle; "> {{'ENABLE_DEBUG' | translate}}</ span >
18+ </ div >
19+ </ div >
20+ < div class ="form-group " ng-if ="script.box.model === 'homeV2Wifi' || script.box.model === 'homeV2WifiFeinstaub' || script.box.model === 'homeV2Lora' ">
21+ < div style ="text-align: left; ">
22+ < div class ="checkbox checkbox-success checkbox-inline "
23+ style ="vertical-align: middle; ">
24+ < input type ="checkbox " id ="display_enabled " ng-model ="script.display_enabled " ng-change ="script.generateScript() ">
25+ < label for ="display_enabled "> </ label >
26+ </ div >
27+ < img
28+ src ="https://sensebox.kaufen/api/public/uploads/1524084885676-oled_top.png "
29+ style ="vertical-align: middle; height: 60px; width: 80px; " />
30+ < span style ="vertical-align: middle; "> {{'DISPLAY_ENABLED' | translate}}</ span >
31+ </ div >
32+ </ div >
1033 < div class ="form-group break " ng-if ="script.showSerialPort ">
1134 < label for ="serialport "> {{'PORT'|translate}}</ label >
1235 < div class ="input-group " uib-tooltip-template ="'tooltip_serialports.html' " tooltip-placement ="bottom "
@@ -63,19 +86,6 @@ <h3>{{'CONFIGURATION'|translate}}</h3>
6386 </ div >
6487 </ div >
6588 </ div >
66- < div class ="form-group " ng-if ="script.box.model === 'homeV2Wifi' || script.box.model === 'homeV2WifiFeinstaub' || script.box.model === 'homeV2Lora' ">
67- < div style ="text-align: left; ">
68- < div class ="checkbox checkbox-success checkbox-inline "
69- style ="vertical-align: middle; ">
70- < input type ="checkbox " id ="display_enabled " ng-model ="script.display_enabled " ng-change ="script.generateScript() ">
71- < label for ="display_enabled "> </ label >
72- </ div >
73- < img
74- src ="https://sensebox.kaufen/api/public/uploads/1524084885676-oled_top.png "
75- style ="vertical-align: middle; height: 60px; width: 80px; " />
76- < span style ="vertical-align: middle; "> {{'DISPLAY_ENABLED' | translate}}</ span >
77- </ div >
78- </ div >
7989 < div class ="form-group break " ng-if ="script.showWifiConfiguration ">
8090 < label for ="ssid "> WiFi SSID</ label >
8191 < div class ="input-group " uib-tooltip ="{{'DATA_NOT_STORED'|translate}} " tooltip-placement ="top "
0 commit comments