Css-преобразования
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
<a href="{{ url_for('logout') }}"><button>Выход</button></a>
|
||||
</div>
|
||||
<h1>Выберите вариант запроса</h1>
|
||||
<nav class="menu">
|
||||
<div class="buttons_menu">
|
||||
{% for point in options %}
|
||||
<a href="{{ url_for(point['url']) }}"><button>{{ point['name'] }}</button></a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</div>
|
||||
<div class="return">
|
||||
<a href="{{ url_for('index') }}"><button>Главное меню</button></a>
|
||||
</div>
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
{% if ses['access_user'] == 'internal_users' %}
|
||||
<h2> Ваша роль: {{ ses['role'] }}</h2>
|
||||
<!-- Not implemented -->
|
||||
<nav class="menu">
|
||||
<div class="buttons_menu">
|
||||
<a href="{{ url_for('requests_bp.requests') }}"><button>Запросы</button></a>
|
||||
<a href="{{ url_for('report_bp.menu') }}"><button>Отчеты</button></a>
|
||||
</nav>
|
||||
</div>
|
||||
{% else %}
|
||||
<!-- <p>Not implemented</p> -->
|
||||
<nav class="menu">
|
||||
<div class="buttons_menu">
|
||||
<a href="{{ url_for('waybill_bp.waybill') }}"><button>Новая накладная</button></a>
|
||||
</nav>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="login">
|
||||
|
||||
Reference in New Issue
Block a user