@@ -1,5 +1,5 @@
|
||||
{# User Account: style can be found in dropdown.less #}
|
||||
{% import "@AvanzuAdminTheme/layout/macros.html.twig" as macro %}
|
||||
{% import "@AdminLTE/Macros/default.html.twig" as macro %}
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
{{ macro.avatar(user.avatar, user.username, 'user-image') }}
|
||||
@@ -1,23 +0,0 @@
|
||||
<aside class="control-sidebar control-sidebar-dark">
|
||||
<ul class="nav nav-tabs nav-justified control-sidebar-tabs">
|
||||
{% if kimai_context.control_sidebar is defined %}
|
||||
{% for name, tab in kimai_context.control_sidebar %}
|
||||
<li{% if loop.first %} class="active"{% endif %}><a href="#control-sidebar-{{ name }}-tab" data-toggle="tab"><i class="{{ tab.icon|icon(tab.icon) }}"></i></a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{% if kimai_context.control_sidebar is defined %}
|
||||
{% for name, tab in kimai_context.control_sidebar %}
|
||||
<div class="tab-pane {% if loop.first %}active{% endif %}" id="control-sidebar-{{ name }}-tab">
|
||||
{% if tab.controller is defined %}
|
||||
{{ render(controller(tab.controller)) }}
|
||||
{% elseif tab.template is defined %}
|
||||
{% include tab.template %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</aside>
|
||||
<div class="control-sidebar-bg"></div>
|
||||
Reference in New Issue
Block a user