feat: Implement basic (dummy) admin auth
This commit is contained in:
parent
b37c0665d3
commit
8c29f1d31f
13 changed files with 706 additions and 5 deletions
81
assets/css/main.css
Normal file
81
assets/css/main.css
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: block;
|
||||
max-height: 5rem;
|
||||
max-width: 5rem;
|
||||
height: auto;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#center {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: space-around;
|
||||
flex-direction: column;
|
||||
max-width: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#login-form {
|
||||
max-width: 200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#login-line {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 2rem;
|
||||
text-align: center;
|
||||
height: 2.5rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#login-line > img {
|
||||
width: 1.75rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#login-line > input {
|
||||
border-color: rgba(31, 41, 55, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
#submit-login {
|
||||
width: 100%;
|
||||
background-color: rgb(87, 13, 248);
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
color: rgb(240, 240, 240);
|
||||
font-weight: bolder;
|
||||
text-transform: uppercase;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.banner {
|
||||
margin: 1rem auto;
|
||||
width: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.banner > p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.is-success {
|
||||
background-color: #28cb28;
|
||||
color: #efefef;
|
||||
}
|
||||
|
||||
.is-error {
|
||||
background-color: #d42929;
|
||||
color: #efefef;
|
||||
}
|
||||
BIN
assets/img/logo.png
Normal file
BIN
assets/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
1
assets/img/password.svg
Normal file
1
assets/img/password.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg data-v-c3ad5561="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" viewBox="0 0 24 24"><path fill="currentColor" d="M12 17a2 2 0 0 0 2-2a2 2 0 0 0-2-2a2 2 0 0 0-2 2a2 2 0 0 0 2 2m6-9a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5a5 5 0 0 1 5 5v2h1m-6-5a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 403 B |
1
assets/img/user.svg
Normal file
1
assets/img/user.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg data-v-c3ad5561="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" viewBox="0 0 24 24"><path fill="currentColor" d="M12 19.2c-2.5 0-4.71-1.28-6-3.2c.03-2 4-3.1 6-3.1s5.97 1.1 6 3.1a7.232 7.232 0 0 1-6 3.2M12 5a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-3A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10c0-5.53-4.5-10-10-10Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 424 B |
Loading…
Reference in a new issue