From fba2210bbd461e14b18dccfa85626bcf0d70cedd Mon Sep 17 00:00:00 2001 From: Marcus Date: Sun, 27 Oct 2024 00:42:35 +0200 Subject: [PATCH] playground - i think using form and submit button for actions edit and delte looks good --- playground/html/root/cangrow.css | 14 ++++--- playground/html/root/index.html | 68 ++++++++++++++++++++++++++++---- 2 files changed, 69 insertions(+), 13 deletions(-) diff --git a/playground/html/root/cangrow.css b/playground/html/root/cangrow.css index cdde02c..96b4bf3 100644 --- a/playground/html/root/cangrow.css +++ b/playground/html/root/cangrow.css @@ -119,7 +119,8 @@ a:active { border-top-left-radius: 3px; border-bottom-left-radius: 3px; } -.nav li a, .nav span, .subnav li a, .subnav span, .button, .button:link, input[type=button], input[type=submit], input[type=reset] { +.nav li a, .nav span, .subnav li a, .subnav span, .button, .button:link, input[type=button], input[type=submit], +input[type=reset], .linkForm input[type=submit] { color: #ddd; display: block; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; @@ -133,7 +134,8 @@ a:active { padding: 5px 10px; } -.nav li a:hover, .subnav li a:hover, .activeNav, .button:link:hover, .button:visited:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { +.nav li a:hover, .subnav li a:hover, .activeNav, .button:link:hover, .button:visited:hover, input[type=button]:hover, +input[type=submit]:hover, input[type=reset]:hover, .linkForm input[type=submit]:hover { background: #04AA6D; color: #fff; border-radius: 3px; @@ -152,7 +154,8 @@ a:active { background: #292929; } -.button, .button:link, .button:visited, input[type=button], input[type=submit], input[type=reset] { +.button, .button:link, .button:visited, input[type=button], input[type=submit],input[type=reset], +.linkForm input[type=submit] { background: #026b45; color: #fff; border-radius: 3px; @@ -163,7 +166,8 @@ a:active { border: none; } -.button:link:active, .button:visited:active, input[type=button]:active, input[type=submit]:active, input[type=reset]:active { +.button:link:active, .button:visited:active, input[type=button]:active, input[type=submit]:active, +input[type=reset]:active, .linkForm input[type=submit]:active { background: #026b45; color: #cae0d0; } @@ -191,4 +195,4 @@ input[type=text], input[type=date], input[type=number], input[type=password], se /*@media only screen and (min-width: 640px) { -}*/ \ No newline at end of file +}*/ diff --git a/playground/html/root/index.html b/playground/html/root/index.html index 7c81e83..9198747 100644 --- a/playground/html/root/index.html +++ b/playground/html/root/index.html @@ -64,34 +64,86 @@ GPIO Light 1 -
-
2 + +
+ + +
+
+ + +
+2 LED1 Dimmer I2C Light 1 -
-
3 + +
+ + +
+
+ + +
+3 Fan exhaust GPIO Fan 1 -✏️ 4 + +
+ + +
+
+ + +
+4 Fan inside GPIO Fan 1 -✏️ 5 + +
+ + +
+
+ + +
+5 Tasmota Dehum Webcall Dehumidifier 1 -✏️ 6 + +
+ + +
+
+ + +
+6 Test GPIO Humidifier 0 -✏️ + +
+ + +
+
+ + +
+