replaced AvanzuAdminTheme with AdminLTE bundle #201 (#202)

This commit is contained in:
Kevin Papst
2018-07-09 18:25:08 +02:00
committed by GitHub
parent 0eb8ae5117
commit 7a0d690101
38 changed files with 452 additions and 559 deletions

View File

@@ -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') }}

View File

@@ -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>