Compare commits
2 Commits
f1defa98f2
...
d524b919fd
Author | SHA1 | Date | |
---|---|---|---|
d524b919fd | |||
eac5dd243b |
@ -24,7 +24,7 @@
|
||||
<div id="overlay">
|
||||
<div class="overlay-content">
|
||||
<p>Verbinde...</p>
|
||||
<!-- Hier können Sie eine einfache Animation hinzufügen -->
|
||||
<span class="loader"></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Connection-Overlay -->
|
||||
|
@ -41,4 +41,38 @@ hr {
|
||||
|
||||
.overlay-content {
|
||||
text-align: center;
|
||||
}
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
.loader {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border: 12px solid #FFF;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
animation: rotation 1s linear infinite;
|
||||
}
|
||||
.loader::after {
|
||||
content: '';
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
border: 12px solid transparent;
|
||||
border-bottom-color: #FF3D00;
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
@ -182,7 +182,7 @@ void sendCANDebugMessage()
|
||||
}
|
||||
else if (DebugSendFailTimeout == MAX_DEBUG_RETRIES)
|
||||
{
|
||||
Debug_pushMessage("disable CAN-DbgMsg due to timeout");
|
||||
Debug_pushMessage("disable CAN-DbgMsg due to timeout\n");
|
||||
DebugSendFailTimeout++;
|
||||
}
|
||||
}
|
||||
|
@ -332,7 +332,7 @@ void wifiMaintainConnectionTicker_callback()
|
||||
else
|
||||
{
|
||||
// Trigger AP mode if the maximum failures are reached
|
||||
Debug_pushMessage("WiFi not connected! - Start AP");
|
||||
Debug_pushMessage("WiFi not connected! - Start AP\n");
|
||||
toggleWiFiAP();
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ void WebserverFirmwareUpdate_Callback(AsyncWebServerRequest *request, const Stri
|
||||
|
||||
if (!index)
|
||||
{
|
||||
Debug_pushMessage("Update");
|
||||
Debug_pushMessage("Update\n");
|
||||
size_t content_len = request->contentLength();
|
||||
int cmd = (filename.indexOf(".fs") > -1) ? U_FS : U_FLASH;
|
||||
Update.runAsync(true);
|
||||
@ -266,7 +266,7 @@ void WebserverEERestore_Callback(AsyncWebServerRequest *request, const String &f
|
||||
buffer = (char *)malloc(1536);
|
||||
read_ptr = 0;
|
||||
if (buffer == NULL)
|
||||
Debug_pushMessage("malloc() failed for EEPROM-Restore");
|
||||
Debug_pushMessage("malloc() failed for EEPROM-Restore\n");
|
||||
}
|
||||
}
|
||||
|
||||
@ -328,7 +328,7 @@ void WebserverEERestore_Callback(AsyncWebServerRequest *request, const String &f
|
||||
|
||||
if (ee_done)
|
||||
{
|
||||
Debug_pushMessage("Update complete");
|
||||
Debug_pushMessage("Update complete\n");
|
||||
globals.systemStatus = sysStat_Shutdown;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user