@@ -3,10 +3,33 @@ <h2 style="margin-top: 0px; margin-bottom: 0px">{{'EDIT_SCRIPT'|translate}}</h2>
3
3
4
4
< div ng-if ="script.showConfiguration ">
5
5
< h3 > {{'CONFIGURATION'|translate}}</ h3 >
6
- < form class ="form-inline ">
6
+ < form class ="form ">
7
7
<!-- Firefox workaround https://github.com/sensebox/openSenseMap/issues/295-->
8
8
< input type ="password " style ="display:none; ">
9
9
<!-- 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 >
10
33
< div class ="form-group break " ng-if ="script.showSerialPort ">
11
34
< label for ="serialport "> {{'PORT'|translate}}</ label >
12
35
< div class ="input-group " uib-tooltip-template ="'tooltip_serialports.html' " tooltip-placement ="bottom "
@@ -63,19 +86,6 @@ <h3>{{'CONFIGURATION'|translate}}</h3>
63
86
</ div >
64
87
</ div >
65
88
</ 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 >
79
89
< div class ="form-group break " ng-if ="script.showWifiConfiguration ">
80
90
< label for ="ssid "> WiFi SSID</ label >
81
91
< div class ="input-group " uib-tooltip ="{{'DATA_NOT_STORED'|translate}} " tooltip-placement ="top "
0 commit comments