Добавление нового типа пользователя + исправления из второй лабы
This commit is contained in:
14
App/templates/error.html
Normal file
14
App/templates/error.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Ошибка</title>
|
||||
<link href="/static/css/auth.css" type="text/css" rel="stylesheet">
|
||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Сожалеем</h1>
|
||||
<p>{{ error_message }}</p>
|
||||
<a href="{{ url_for('index') }}"><button>На главную страницу</button></a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Привет мир!</title>
|
||||
<link href="static/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello World</h1>
|
||||
<nav class="menu">
|
||||
{% for point in menu %}
|
||||
<a class="middle" href="{{ point['url'] }}">{{ point['name'] }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user