{% extends '@!EasyAdmin/default/layout.html.twig' %}
{% block head_stylesheets %}
{{ parent() }}
<!--STYLESHEET-->
<!--=================================================-->
<!--Bootstrap Stylesheet [ REQUIRED ]-->
<link href="{{ asset('design/css/bootstrap.min.css') }}" rel="stylesheet">
<!--Jasmine Stylesheet [ REQUIRED ]-->
<link href="{{ asset('design/css/style.css') }}" rel="stylesheet">
{% endblock %}
{% block head_javascript %}
{{ parent() }}
<!--Fast Click [ OPTIONAL ]-->
<script src="{{ asset('design/plugins/fast-click/fastclick.min.js') }}"></script>
<!--Jasmine Admin [ RECOMMENDED ]-->
<script src="{{ asset('design/js/scripts.js') }}"></script>
<!--Jquery Nano Scroller js [ REQUIRED ]-->
<script src="{{ asset('design/plugins/nanoscrollerjs/jquery.nanoscroller.min.js') }}"></script>
<!--Metismenu js [ REQUIRED ]-->
<script src="{{ asset('design/plugins/metismenu/metismenu.min.js') }}"></script>
<!--Switchery [ OPTIONAL ]-->
<script src="{{ asset('design/plugins/switchery/switchery.min.js') }}"></script>
<!--Jquery Steps [ OPTIONAL ]-->
<script src="{{ asset('design/plugins/parsley/parsley.min.js') }}"></script>
<!--Jquery Steps [ OPTIONAL ]-->
<script src="{{ asset('design/plugins/jquery-steps/jquery-steps.min.js') }}"></script>
<!--Fullscreen jQuery [ OPTIONAL ]-->
<script src="{{ asset('design/plugins/screenfull/screenfull.js') }}"></script>
{% endblock head_javascript %}
{% block wrapper_wrapper %}
<div id="container" class="effect mainnav-lg navbar-fixed mainnav-fixed">
{% block wrapper %}
<header id="navbar">
{% block header %}
<div id="navbar-container" class="boxed">
<!--Brand logo & name-->
<!--================================-->
<div class="navbar-header">
{% block header_logo %}
<a href="{{ path('easyadmin') }}" class="navbar-brand">
<img src="{{ asset('assets/img/logo-top.png') }}" alt="">
</a>
{% endblock header_logo %}
</div>
<!--================================-->
<!--End brand logo & name-->
<!--Navbar Dropdown-->
<!--================================-->
<div class="navbar-content clearfix">
<ul class="nav navbar-top-links pull-left">
<!--Navigation toogle button-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<li class="tgl-menu-btn">
<a class="mainnav-toggle" href="#"> <i class="fa fa-navicon fa-lg"></i> </a>
</li>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End Navigation toogle button-->
{% block header_custom_notifications %}
{{ include("default/header_notifications.html.twig") }}
{% endblock header_custom_notifications %}
</ul>
<ul class="nav navbar-top-links pull-right">
{% if admin_config.has_fullscreen is defined and admin_config.has_fullscreen %}
<!--Fullscreen toogle button-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<li class="hidden-xs" id="toggleFullscreen">
<a class="fa fa-expand" data-toggle="fullscreen" href="#" role="button">
<span class="sr-only">Toggle Fullscreen</span>
</a>
</li>
{% endif %}
{% set _user_name = easyadmin_read_property(app.user, easyadmin_config('user.name_property_path'))|default('user.unnamed'|trans(domain = 'EasyAdminBundle')) %}
{% set _logout_path = easyadmin_logout_path() %}
{% set _user_has_logout = _logout_path is not empty %}
{% set _user_is_impersonated = is_granted('ROLE_PREVIOUS_ADMIN') %}
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End Fullscreen toogle button-->
<!--User dropdown-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
{% block header_custom_menu %}
<li id="dropdown-user" class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle text-right">
{% if easyadmin_config('user.display_avatar') %}
<span class="pull-right">
{% set _avatar_image_path = easyadmin_read_property(app.user, easyadmin_config('user.avatar_property_path')) %}
{% if null == _avatar_image_path %}
<i class="fa fa-fw fa-3x {{ app.user is not null ? 'fa-user-circle' : 'fa-user-times' }} user-avatar" style="margin-top: 10px;"></i>
{% else %}
<img class="img-circle img-user media-object" src="{{ _avatar_image_path }}" alt="Profile Picture">
{% endif %}
</span>
{% endif %}
{% if easyadmin_config('user.display_name') %}
<div class="username hidden-xs">{{ _user_name }}</div>
{% endif %}
</a>
{% block user_menu %}
{% if _user_has_logout or _user_is_impersonated %}
<div class="dropdown-menu dropdown-menu-right with-arrow">
<!-- User dropdown menu -->
<ul class="head-list">
<li>
<a href="#"> <i class="fa fa-user fa-fw"></i> {{ "label.profile"|trans }} </a>
</li>
<li>
{% if _user_has_logout %}
<a href="{{ _logout_path }}">
<i class="fa fa-sign-out fa-fw"></i>
{{ 'user.signout'|trans(domain = 'EasyAdminBundle') }}
</a>
{% endif %}
{% if _user_is_impersonated %}
<a href="?_switch_user=_exit">
<i class="fa fa-sign-out fa-fw"></i>
{{ 'user.exit_impersonation'|trans(domain = 'EasyAdminBundle') }}
</a>
{% endif %}
</li>
</ul>
</div>
{% endif %}
{% endblock user_menu %}
</li>
{% endblock header_custom_menu %}
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End user dropdown-->
{% if admin_config.has_chat is defined and admin_config.has_chat %}
<!--Navigation toogle button-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<li class="hidden-xs">
<a id="demo-toggle-aside" href="#">
<i class="fa fa-navicon fa-lg"></i>
</a>
</li>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End Navigation toogle button-->
{% endif %}
</ul>
</div>
<!--================================-->
<!--End Navbar Dropdown-->
</div>
{% endblock header %}
</header>
<div class="boxed">
<!--CONTENT CONTAINER-->
<!--===================================================-->
<div id="content-container">
{% block flash_messages %}
{{ include(_entity_config is defined ? _entity_config.templates.flash_messages : '@EasyAdmin/default/flash_messages.html.twig') }}
{% endblock flash_messages %}
{% block content %}
{% block content_header_wrapper %}
{% set _has_content_help = _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
<!--Page Title-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<div class="pageheader {{ _has_content_help ? 'has-content-help' }}">
{% block content_header %}
<h3>{% block content_header_title %}{% endblock %}</h3>
{% block content_breadcrumb %}
<div class="breadcrumb-wrapper">
<span class="label">{{ "label.you_are_here"|trans }}:</span>
<ol class="breadcrumb">
<li> <a href="{{ path('easyadmin') }}"> Home </a> </li>
{% block content_breadcrumb_link %}{% endblock %}
</ol>
</div>
{% endblock content_breadcrumb %}
{#{% block global_actions_wrapper %}#}
{#<div class="global-actions">{% block global_actions %}{% endblock %}</div>#}
{#{% endblock %}#}
{% block content_help %}
{% if _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
<div class="content-header-help">
{{ _entity_config[app.request.query.get('action')]['help']|trans(domain = _entity_config.translation_domain)|raw }}
</div>
{% endif %}
{% endblock content_help %}
{% endblock content_header %}
</div>
{% endblock content_header_wrapper %}
<div id="page-content">
<div id="main">
{% block main %}{% endblock %}
</div>
</div>
{% block content_footer_wrapper %}
{% block content_footer %}{% endblock %}
{% endblock %}
{% endblock content %}
</div>
<nav id="mainnav-container">
{% block sidebar %}
<div id="mainnav">
{% block main_menu_wrapper %}
{{ include([
_entity_config is defined ? _entity_config.templates.menu,
easyadmin_config('design.templates.menu'),
'@EasyAdmin/default/menu.html.twig'
]) }}
{% endblock main_menu_wrapper %}
</div>
{% endblock sidebar %}
</nav>
{% block main_chat %}
{% if admin_config.has_chat is defined and admin_config.has_chat %}
{{ include("default/chat.html.twig") }}
{% endif %}
{% endblock main_chat %}
</div>
<!-- FOOTER -->
<!--===================================================-->
<footer id="footer">
{% block footer %}
<!-- Visible when footer positions are fixed -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<div class="show-fixed pull-right">
<ul class="footer-list list-inline">
<li>
<p class="text-sm">SEO Proggres</p>
<div class="progress progress-sm progress-light-base">
<div style="width: 80%" class="progress-bar progress-bar-danger"></div>
</div>
</li>
<li>
<p class="text-sm">Online Tutorial</p>
<div class="progress progress-sm progress-light-base">
<div style="width: 80%" class="progress-bar progress-bar-primary"></div>
</div>
</li>
<li>
<button class="btn btn-sm btn-dark btn-active-success">Checkout</button>
</li>
</ul>
</div>
<!-- Visible when footer positions are static -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<div class="hide-fixed pull-right pad-rgt">© Todos los derechos reservados</div>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Remove the class name "show-fixed" and "hide-fixed" to make the content always appears. -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<p class="pad-lft">{{ "now"|date("Y") }} <b>{{ easyadmin_config('site_name')|raw }}</b></p>
{% endblock footer %}
</footer>
<!--===================================================-->
<!-- END FOOTER -->
<!-- SCROLL TOP BUTTON -->
<!--===================================================-->
<button id="scroll-top" class="btn"><i class="fa fa-chevron-up"></i></button>
<!--===================================================-->
{% endblock wrapper %}
</div>
{% endblock wrapper_wrapper %}