Modify login form

This commit is contained in:
hok7z 2022-12-11 15:48:03 +02:00
parent 9bc25a09d8
commit 98922ce312
2 changed files with 3 additions and 7 deletions

View File

@ -21,7 +21,7 @@ body {
} }
#title { #title {
font-size: 2em; font-size: 1.7em;
margin-bottom: 12px; margin-bottom: 12px;
} }
@ -36,10 +36,6 @@ body {
outline: none; outline: none;
} }
.inputfield::placeholder {
color: #000;
}
.inputfield:focus { .inputfield:focus {
outline: none; outline: none;
border-color: #407ce5; border-color: #407ce5;
@ -74,7 +70,7 @@ body {
opacity: 0.6; opacity: 0.6;
} }
#error-alert { #error_message {
color: red; color: red;
font-size: 12px; font-size: 12px;
} }

View File

@ -22,7 +22,7 @@
<input type="password" name="password" placeholder="Enter password" class="inputfield" required> <input type="password" name="password" placeholder="Enter password" class="inputfield" required>
{% for message in get_flashed_messages()%} {% for message in get_flashed_messages()%}
<p id="error-alert">{{ message }}</p> <div id="error_message">{{ message }}</div>
{% endfor %} {% endfor %}
<button type="submit" id="sumbit-button">Log in</button> <button type="submit" id="sumbit-button">Log in</button>