Временная depageзация
This commit is contained in:
@@ -13,7 +13,7 @@ requests_bp = Blueprint('requests_bp', __name__, template_folder='templates')
|
||||
@check_auth
|
||||
def requests():
|
||||
if request.method == 'GET':
|
||||
return render_template('pages_menu.html', options=requests_list, header='Запросы')
|
||||
return render_template('zapros_menu.html', options=requests_list)
|
||||
|
||||
@requests_bp.route('/sklad', methods=['GET', 'POST'])
|
||||
@check_auth
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ header }}</title>
|
||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="logout">
|
||||
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
|
||||
</div>
|
||||
<h1>Выберите один из предложенных вариантов</h1>
|
||||
<nav class="menu">
|
||||
{% for point in options %}
|
||||
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<div class="return">
|
||||
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user