init
This commit is contained in:
73
rodchenko/app/templates/register.html
Executable file
73
rodchenko/app/templates/register.html
Executable file
@@ -0,0 +1,73 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="layout-center">
|
||||
<div style="text-align: center; margin-bottom: 40px;">
|
||||
<h1 style="font-size: 42px; 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">
|
||||
<div class="info-block mb-3">
|
||||
<p style="font-size: 14px;">
|
||||
Присоединяйтесь к миру супрематизма!<br>
|
||||
Начальный баланс: <strong>1000 ₽</strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<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-success" 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('login') }}" class="btn btn-outline">Войти</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.layout-center {
|
||||
position: relative;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
.layout-center::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -30px;
|
||||
right: -100px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: var(--yellow);
|
||||
transform: rotate(-10deg);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.layout-center::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -30px;
|
||||
left: -60px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: var(--black);
|
||||
z-index: -1;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user