5896b1eb71
* open releases in new tab
* Revert "open releases in new tab"
This reverts commit 6e3940c8eb
.
* open releases in new tab
Co-authored-by: Woody <>
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
<!DOCTYPE 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: ##VERSION##<br>Download the latest binary: <a
|
|
href="https://github.com/Aircoookie/WLED/releases" target="_blank"><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> |