Добавление заголовка страницы авторизации
This commit is contained in:
@@ -9,7 +9,6 @@ def auth():
|
|||||||
return render_template('auth.html')
|
return render_template('auth.html')
|
||||||
else:
|
else:
|
||||||
data = request.form.to_dict()
|
data = request.form.to_dict()
|
||||||
print(data)
|
|
||||||
auth_data = auth_model(data)
|
auth_data = auth_model(data)
|
||||||
if auth_data.status:
|
if auth_data.status:
|
||||||
session.update({
|
session.update({
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<h1>Авторизация</h1>
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<form action="" method="post" name="auth">
|
<form action="" method="post" name="auth">
|
||||||
<label for="login">Логин: </label>
|
<label for="login">Логин: </label>
|
||||||
|
|||||||
Reference in New Issue
Block a user