Order page

This commit is contained in:
2024-01-27 10:50:38 +07:00
parent 00c2de9e5c
commit c6ab0f714e

View File

@@ -50,7 +50,7 @@
{% assign _type = _category[0] %} {% assign _type = _category[0] %}
{% assign _menuArray = _category[1].menu %} {% assign _menuArray = _category[1].menu %}
{% if _category[1].enable == 1 %} {% if _category[1].enable == 1 %}
<details {% if _type==global.name %} open {% endif %}> <details {% if _type == global.name %} open {% endif %}>
<summary class="item"> <summary class="item">
<div class="flex items-center"> <div class="flex items-center">
@@ -76,8 +76,8 @@
<div class="sub-menu"> <div class="sub-menu">
{% for _item in _menuArray %} {% for _item in _menuArray %}
<a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view==global.view and <a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view == global.view and
_type==global.name %} class="current" {% endif %}> {{ _item.name }} </a> _type == global.name %} class="current" {% endif %}> {{ _item.name }} </a>
{% endfor %} {% endfor %}
</div> </div>
</details> </details>
@@ -158,8 +158,8 @@
<div class="menu-list"> <div class="menu-list">
{% for _item in _menuArray %} {% for _item in _menuArray %}
<a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view==global.view and <a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view == global.view and
_type==global.name %} class="current" {% endif %}> {{ _item.name }} </a> _type == global.name %} class="current" {% endif %}> {{ _item.name }} </a>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>