Compare commits
	
		
			2 Commits
		
	
	
		
			f1defa98f2
			...
			d524b919fd
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d524b919fd | |||
| eac5dd243b | 
@@ -24,7 +24,7 @@
 | 
				
			|||||||
  <div id="overlay">
 | 
					  <div id="overlay">
 | 
				
			||||||
    <div class="overlay-content">
 | 
					    <div class="overlay-content">
 | 
				
			||||||
      <p>Verbinde...</p>
 | 
					      <p>Verbinde...</p>
 | 
				
			||||||
      <!-- Hier können Sie eine einfache Animation hinzufügen -->
 | 
					      <span class="loader"></span>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <!-- Connection-Overlay -->
 | 
					  <!-- Connection-Overlay -->
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,4 +41,38 @@ hr {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.overlay-content {
 | 
					.overlay-content {
 | 
				
			||||||
    text-align: center;
 | 
					    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)
 | 
					    else if (DebugSendFailTimeout == MAX_DEBUG_RETRIES)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        Debug_pushMessage("disable CAN-DbgMsg due to timeout");
 | 
					        Debug_pushMessage("disable CAN-DbgMsg due to timeout\n");
 | 
				
			||||||
        DebugSendFailTimeout++;
 | 
					        DebugSendFailTimeout++;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -332,7 +332,7 @@ void wifiMaintainConnectionTicker_callback()
 | 
				
			|||||||
    else
 | 
					    else
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      // Trigger AP mode if the maximum failures are reached
 | 
					      // 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();
 | 
					      toggleWiFiAP();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -198,7 +198,7 @@ void WebserverFirmwareUpdate_Callback(AsyncWebServerRequest *request, const Stri
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if (!index)
 | 
					  if (!index)
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    Debug_pushMessage("Update");
 | 
					    Debug_pushMessage("Update\n");
 | 
				
			||||||
    size_t content_len = request->contentLength();
 | 
					    size_t content_len = request->contentLength();
 | 
				
			||||||
    int cmd = (filename.indexOf(".fs") > -1) ? U_FS : U_FLASH;
 | 
					    int cmd = (filename.indexOf(".fs") > -1) ? U_FS : U_FLASH;
 | 
				
			||||||
    Update.runAsync(true);
 | 
					    Update.runAsync(true);
 | 
				
			||||||
@@ -266,7 +266,7 @@ void WebserverEERestore_Callback(AsyncWebServerRequest *request, const String &f
 | 
				
			|||||||
      buffer = (char *)malloc(1536);
 | 
					      buffer = (char *)malloc(1536);
 | 
				
			||||||
      read_ptr = 0;
 | 
					      read_ptr = 0;
 | 
				
			||||||
      if (buffer == NULL)
 | 
					      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)
 | 
					    if (ee_done)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      Debug_pushMessage("Update complete");
 | 
					      Debug_pushMessage("Update complete\n");
 | 
				
			||||||
      globals.systemStatus = sysStat_Shutdown;
 | 
					      globals.systemStatus = sysStat_Shutdown;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user