forked from Aircoookie/WLED
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dynamic replacements for other pages
- Loading branch information
Showing
9 changed files
with
124 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html><head> | ||
<html> | ||
|
||
<head> | ||
<meta content='width=device-width' name='viewport'> | ||
<title>WLED Message</title> | ||
<script> | ||
function B() { | ||
window.history.back(); | ||
} | ||
function RS() { | ||
window.location = "/settings"; | ||
} | ||
function RP() { | ||
top.location.href="/"; | ||
} | ||
</script> | ||
<script>function B() { window.history.back() }; function RS() { window.location = "/settings"; } function RP() { top.location.href = "/"; }</script> | ||
<style> | ||
:root { | ||
--aCol: #D9B310; | ||
--bCol: #0B3C5D; | ||
--cCol: #1D2731; | ||
--dCol: #328CC1; | ||
--sCol: #000; | ||
--tCol: #328CC1; | ||
--cFn: Verdana; | ||
} | ||
.bt { | ||
background: var(--bCol); | ||
color: var(--tCol); | ||
border: 0.3ch solid var(--bCol); | ||
background: #333; | ||
color: #fff; | ||
font-family: Verdana, sans-serif; | ||
border: .3ch solid #333; | ||
display: inline-block; | ||
filter: drop-shadow( -5px -5px 5px var(--sCol) ); | ||
font-family: var(--cFn), sans-serif; | ||
font-size: 20px; | ||
margin: 8px; | ||
margin-top: 12px; | ||
margin-top: 12px | ||
} | ||
input[type=file] { | ||
font-size: 16px; | ||
} | ||
|
||
body { | ||
font-family: var(--cFn), sans-serif; | ||
font-family: Verdana, sans-serif; | ||
text-align: center; | ||
background: var(--cCol); | ||
color: var(--tCol); | ||
line-height: 200%; | ||
margin: 0; | ||
background-attachment: fixed; | ||
background: #222; | ||
color: #fff; | ||
line-height: 200%%; | ||
margin: 0 | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h2>Sample message.</h2> | ||
Sample detail. | ||
<h2>Sample Message.</h2> | ||
Sample Detail. | ||
</body> | ||
</html> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html><head><meta content='width=device-width' name='viewport'><title>WLED Message</title><script>function B(){window.history.back()}</script> | ||
<style>:root{--aCol:#D9B310;--bCol:#0B3C5D;--cCol:#1D2731;--dCol:#328CC1;--sCol:#000;--tCol:#328CC1;--cFn:Verdana;}.bt{background:var(--bCol);color:var(--tCol);font-family:var(--cFn),sans-serif;border:.3ch solid var(--bCol);display:inline-block;filter:drop-shadow(-5px -5px 5px var(--sCol));font-size:20px;margin:8px;margin-top:12px}input[type=file]{font-size:16px}body{font-family:var(--cFn),sans-serif;text-align:center;background:var(--cCol);color:var(--tCol);line-height:200%}</style></head> | ||
<body><h2>WLED Software Update</h2>Installed version: 0.8.5-dev<br>Download the latest binary: <a href="https://github.com/Aircoookie/WLED/releases"><img src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br><form method='POST' action='/update' enctype='multipart/form-data'><input type='file' class="bt" name='update' required><br><input type='submit' class="bt" value='Update!'></form><button type="button" class="bt" onclick="B()">Back</button></body></html> | ||
<html> | ||
|
||
<head> | ||
<meta content='width=device-width' name='viewport'> | ||
<title>WLED Update</title> | ||
<script>function B() { window.history.back() }</script> | ||
<style> | ||
.bt { | ||
background: #333; | ||
color: #fff; | ||
font-family: Verdana, sans-serif; | ||
border: .3ch solid #333; | ||
display: inline-block; | ||
font-size: 20px; | ||
margin: 8px; | ||
margin-top: 12px | ||
} | ||
|
||
input[type=file] { | ||
font-size: 16px | ||
} | ||
|
||
body { | ||
font-family: Verdana, sans-serif; | ||
text-align: center; | ||
background: #222; | ||
color: #fff; | ||
line-height: 200% | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h2>WLED Software Update</h2>Installed version: 0.10.0<br>Download the latest binary: <a | ||
href="https://github.com/Aircoookie/WLED/releases"><img | ||
src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br> | ||
<form method='POST' action='/update' enctype='multipart/form-data'><input type='file' class="bt" name='update' | ||
required><br><input type='submit' class="bt" value='Update!'></form><button type="button" class="bt" | ||
onclick="B()">Back</button> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.