+ Добавлена авторизация как отдельная страница
+ Небольшие исправления в JS при ответе от сервера
This commit is contained in:
Alexander Zhirov 2023-06-05 19:48:33 +03:00
parent 639118f781
commit e74c0a1af0
11 changed files with 283 additions and 40 deletions

64
public/authorization.css Normal file
View file

@ -0,0 +1,64 @@
@font-face {
font-family: Scada;
src: url(Scada-Regular.ttf);
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin-top: -5%;
color: #333;
opacity: 0;
font-family: Scada;
}
div.form {
display: flex;
flex-direction: column;
align-items: center;
}
.div-button {
display: flex;
justify-content: center;
margin-top: 10px;
}
input {
text-align: center;
color: #333;
border: 1px solid#c5c5c5;
height: 30px;
}
input:hover {
border: 1px solid #999;
box-shadow: 1px 1px 10px 1px #ccc;
}
.input-focus:focus {
outline: none;
box-shadow: 1px 1px 10px 1px #666;
border: 1px solid #555;
}
.logo {
background-image: url("favicon.png");
min-width: 128px;
min-height: 128px;
background-size: contain;
margin-bottom: 20px;
}
.title {
margin: 30px;
color:#333333
}
.label {
text-align: right;
padding-right: 10px;
}