Hard reload, fix background
This commit is contained in:
parent
1cd458c852
commit
8b8491199c
|
@ -8,10 +8,8 @@
|
||||||
html {
|
html {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: white;
|
color: white;
|
||||||
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.4), transparent);
|
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.2), transparent);
|
||||||
}
|
height: 100%;
|
||||||
body {
|
|
||||||
height: 100vh;
|
|
||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
@ -36,7 +34,7 @@
|
||||||
error(req.statusText || "Authentication failed")
|
error(req.statusText || "Authentication failed")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
window.location = window.location
|
location.reload(true)
|
||||||
}
|
}
|
||||||
function init() {
|
function init() {
|
||||||
document.querySelector("form").addEventListener("submit", login)
|
document.querySelector("form").addEventListener("submit", login)
|
||||||
|
|
|
@ -8,10 +8,8 @@
|
||||||
html {
|
html {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: white;
|
color: white;
|
||||||
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.4), transparent);
|
background: seagreen linear-gradient(315, rgba(255,255,255,0.2), transparent);
|
||||||
}
|
height: 100%;
|
||||||
body {
|
|
||||||
height: 100vh;
|
|
||||||
}
|
}
|
||||||
div {
|
div {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
|
Loading…
Reference in New Issue