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