Fixed W12
This commit is contained in:
parent
ee0715c3b2
commit
8680f03b91
19 changed files with 444 additions and 253 deletions
|
|
@ -1,32 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if mail %}
|
||||
<div id="mail" style="padding: 1rem; border: 2px solid black; background-color: lightsteelblue; color: stellblue">{{mail | raw}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
{% if message %}
|
||||
<div id="message" style="padding: 1rem; border: 2px solid black; background-color: green; color: white">{{message}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
{% if error %}
|
||||
<div id="error" style="padding: 1rem; border: 2px solid black; background-color: red; color: white">{{error}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
<h4>Password recovery page</h4>
|
||||
<form action="/recover-password" method="post">
|
||||
<input type="text" name="login" placeholder="login">
|
||||
<input type="submit" name="submit" value="submit">
|
||||
</form>
|
||||
<hr>
|
||||
<a href="/register">Registration</a>
|
||||
<br>
|
||||
<a href="/login">Login</a>
|
||||
</body>
|
||||
</html>
|
||||
{% extends "template.twig" %}
|
||||
|
||||
{% block title %}Восстановление парля{% endblock %}
|
||||
{% block head %}
|
||||
{{ parent() }}
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
background: rgb(15 33 33);
|
||||
}
|
||||
|
||||
.auth-holder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
background: rgb(185 255 245);
|
||||
width: fit-content;
|
||||
padding: 2rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="auth-holder">
|
||||
{% if mail %}
|
||||
<div id="mail" style="padding: 1rem; border: 2px solid black; background-color: lightsteelblue; color: stellblue">{{mail | raw}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
{% if message %}
|
||||
<div id="message" style="padding: 1rem; border: 2px solid black; background-color: green; color: white">{{message}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
{% if error %}
|
||||
<div id="error" style="padding: 1rem; border: 2px solid black; background-color: red; color: white">{{error}}</div>
|
||||
<br>
|
||||
{% endif %}
|
||||
<h4>Восстановление пароля</h4>
|
||||
<form action="/recover-password" method="post">
|
||||
<input type="text" name="login" placeholder="Логин">
|
||||
<input type="submit" name="submit" value="Восстановить">
|
||||
</form>
|
||||
<hr>
|
||||
<a href="/register">Зарегистрироваться</a>
|
||||
<br>
|
||||
<a href="/login">Войти</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue