1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-29 16:00:15 +02:00

Slim Framework integration #118 #117

- base.html updates
This commit is contained in:
Awilum
2019-05-31 14:03:48 +03:00
parent e53b4e8c78
commit d1d830dd0d

View File

@@ -69,8 +69,8 @@
</a>
</div>
<ul class="nav">
{% for item in registry.admin_navigation.content %}
<li class="nav-item {% if item.item == menu_item %} active {% endif %}">
{% for key, item in registry.admin_navigation.content %}
<li class="nav-item {% if key == menu_item %} active {% endif %}">
<a href="{{ base_url() }}{{ item.link|raw }}"
{% for key, attribute in item.attributes %}
{{ key }} = {{ attribute }}
@@ -78,8 +78,8 @@
>{{ item.title|raw }}</a>
</li>
{% endfor %}
{% for item in registry.admin_navigation.extends %}
<li class="nav-item {% if item.item == menu_item %} active {% endif %}">
{% for key, item in registry.admin_navigation.extends %}
<li class="nav-item {% if key == menu_item %} active {% endif %}">
<a href="{{ base_url() }}{{ item.link|raw }}"
{% for key, attribute in item.attributes %}
{{ key }} = {{ attribute }}
@@ -87,8 +87,8 @@
>{{ item.title|raw }}</a>
</li>
{% endfor %}
{% for item in registry.admin_navigation.settings %}
<li class="nav-item {% if item.item == menu_item %} active {% endif %}">
{% for key, item in registry.admin_navigation.settings %}
<li class="nav-item {% if key == menu_item %} active {% endif %}">
<a href="{{ base_url() }}{{ item.link|raw }}"
{% for key, attribute in item.attributes %}
{{ key }} = {{ attribute }}
@@ -96,8 +96,8 @@
>{{ item.title|raw }}</a>
</li>
{% endfor %}
{% for item in registry.admin_navigation.help %}
<li class="nav-item {% if item.item == menu_item %} active {% endif %}">
{% for key, item in registry.admin_navigation.help %}
<li class="nav-item {% if key == menu_item %} active {% endif %}">
<a href="{{ base_url() }}{{ item.link|raw }}"
{% for key, attribute in item.attributes %}
{{ key }} = {{ attribute }}