mirror of https://github.com/aredn/aredn.git
* Reboot & firmware update screens (#1626)
This commit is contained in:
parent
6f2661c17a
commit
bd68cd18b9
|
@ -650,7 +650,7 @@
|
|||
const source = new EventSource(`{{request.env.REQUEST_URI}}?v=${download}`);
|
||||
source.addEventListener("close", e => {
|
||||
source.close();
|
||||
const all = htmx.find("#all");
|
||||
const all = htmx.find("#all") || htmx.find("#m-all");
|
||||
all.outerHTML = JSON.parse(e.data).v;
|
||||
const scripts = document.querySelectorAll("#all script");
|
||||
for (let i = 0; i < scripts.length; i++) {
|
||||
|
|
|
@ -273,3 +273,18 @@ body.mobile .meshpage-help
|
|||
{
|
||||
padding: 20px 20px 0 20px;
|
||||
}
|
||||
|
||||
body.mobile .reboot
|
||||
{
|
||||
padding: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
body.mobile .reboot > div:first-child
|
||||
{
|
||||
scale: 0.8;
|
||||
margin: auto auto;
|
||||
}
|
||||
body.mobile .reboot > div:nth-child(2)
|
||||
{
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue