mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Add skeleton for advanced page
This commit is contained in:
parent
fe456b62b3
commit
0be1d5ee93
3 changed files with 19 additions and 16 deletions
|
@ -10,6 +10,8 @@ String settings_processor(const String& var) {
|
|||
content += "body { background-color: black; color: white; }";
|
||||
content += "</style>";
|
||||
|
||||
content += "<button onclick='goToMainPage()'>Back to main page</button>";
|
||||
|
||||
// Start a new block with a specific background color
|
||||
content += "<div style='background-color: #303E47; padding: 10px; margin-bottom: 10px;border-radius: 50px'>";
|
||||
|
||||
|
@ -201,7 +203,6 @@ String settings_processor(const String& var) {
|
|||
#endif
|
||||
content += "</script>";
|
||||
|
||||
content += "<button onclick='goToMainPage()'>Back to main page</button>";
|
||||
content += "<script>";
|
||||
content += "function goToMainPage() { window.location.href = '/'; }";
|
||||
content += "</script>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue