#8 Relais ein / ausschalten von Ocotprint aus

- Toggle Button anzeigen und Events eingebaut
- Api funktionen für Relais ein / aus und toggle implementiert
This commit is contained in:
David Zingg
2019-11-24 15:14:11 +01:00
parent a8fa2b31fd
commit 4bd7df899c
5 changed files with 83 additions and 11 deletions

View File

@ -32,6 +32,20 @@
display:none;
}
.mystromToggleButton {
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
display: block;
height: 100%;
padding-left: 10px;
padding-right: 10px;
margin-left: 20px;
margin-right: 20px;
font-size: 14px;
font-weight: bold;
color: #fff;
background-color: #eb0000;
}
#touch body #tabs #sidebar_plugin_mystromswitch_wrapper_link a:before, #touch body #navbar #all_touchui_settings #sidebar_plugin_mystromswitch_wrapper_link a:before,#touch body #tabs #sidebar_plugin_mystromswitch_wrapper_link2 a:before, #touch body #navbar #all_touchui_settings #sidebar_plugin_mystromswitch_wrapper_link2 a:before {
content: "\f011";
}