init
This commit is contained in:
66
rodchenko/app/templates/login.html
Executable file
66
rodchenko/app/templates/login.html
Executable file
@@ -0,0 +1,66 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="layout-center">
|
||||
<div style="text-align: center; margin-bottom: 40px;">
|
||||
<h1 style="font-size: 48px; margin-bottom: 10px;">ВХОД</h1>
|
||||
<div class="decorative-line" style="width: 100px; margin: 0 auto;"></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">◆ Авторизация</div>
|
||||
<div class="card-body">
|
||||
<form method="POST">
|
||||
<div class="form-group">
|
||||
<label for="username" class="form-label">Имя пользователя</label>
|
||||
<input type="text" class="form-control" id="username" name="username"
|
||||
placeholder="Введите логин" required autofocus>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="password" name="password"
|
||||
placeholder="Введите пароль" required>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary" style="width: 100%;">Войти</button>
|
||||
</form>
|
||||
|
||||
<div class="decorative-line mt-3"></div>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<p class="text-muted">Нет аккаунта?</p>
|
||||
<a href="{{ url_for('register') }}" class="btn btn-outline">Зарегистрироваться</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
/* Декоративные фигуры для страницы входа */
|
||||
.layout-center {
|
||||
position: relative;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
.layout-center::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: var(--red);
|
||||
transform: rotate(15deg);
|
||||
}
|
||||
|
||||
.layout-center::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -50px;
|
||||
right: -80px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border: 8px solid var(--black);
|
||||
border-radius: 50%;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user