Arduino/CanGrow/CanGrow.ino aktualisiert

This commit is contained in:
DeltaLima 2024-05-03 18:30:51 +02:00
parent a6070cd29e
commit 7e1a06d2c5

View file

@ -286,6 +286,8 @@ a:active {
width: 60%; min-width: 420px; width: 60%; min-width: 420px;
} }
} }
.spacer { width: 10px; }
</style> </style>
</head> </head>
<body> <body>
@ -333,7 +335,6 @@ function convertDateToEpoch(src, dst) {
const char CSSgauge[] PROGMEM = R"EOF( const char CSSgauge[] PROGMEM = R"EOF(
.gauge { .gauge {
position: relative; position: relative;
margin-right: 10px;
} }
.gaugeWrapper { .gaugeWrapper {
@ -547,7 +548,7 @@ return exports;
const char HTMLgauge[] PROGMEM = R"EOF( const char HTMLgauge[] PROGMEM = R"EOF(
<div class='gaugeWrapper'> <div class='gaugeWrapper'>
<div class='gauge gauge--liveupdate' id='gaugeTemperature' style='float:left;'> <div class='gauge gauge--liveupdate spacer' id='gaugeTemperature' style='float:left;'>
<span class='gaugeLabel'>Temperature</span> <span class='gaugeLabel'>Temperature</span>
<div class='gauge__container'> <div class='gauge__container'>
<div class='gauge__background'></div> <div class='gauge__background'></div>
@ -562,7 +563,7 @@ const char HTMLgauge[] PROGMEM = R"EOF(
</div> </div>
</div> </div>
<div class='gauge gauge--liveupdate' id='gaugeHumidity' style='float:left;'> <div class='gauge gauge--liveupdate spacer' id='gaugeHumidity' style='float:left;'>
<span class='gaugeLabel'>Humidity</span> <span class='gaugeLabel'>Humidity</span>
<div class='gauge__container'> <div class='gauge__container'>
<div class='gauge__background'></div> <div class='gauge__background'></div>
@ -576,7 +577,7 @@ const char HTMLgauge[] PROGMEM = R"EOF(
<span class='gauge__label--high'></span> <span class='gauge__label--high'></span>
</div> </div>
</div> </div>
<div class='gauge gauge--liveupdate' id='gaugeSoilmoisture' style='float:left;'> <div class='gauge gauge--liveupdate' id='gaugeSoilmoisture' style='float:left;'>
<span class='gaugeLabel'>Soilmoisture</span> <span class='gaugeLabel'>Soilmoisture</span>
<div class='gauge__container'> <div class='gauge__container'>