<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}
<link href="{{ asset('template/css/classic.css') }}" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<link href="https://cdn.datatables.net/responsive/2.2.9/css/responsive.bootstrap4.min.css" rel="stylesheet">
{% endblock %}
</head>
<body>
<input type="hidden" id="locale" value="{{ app.request.locale }}">
<input type="hidden" id="raiz" value="{{ app.request.getSchemeAndHttpHost() }}{{ app.request.getBaseUrl() }}">
<input type="hidden" id="error" value="{{ 'comun.error'|trans }}">
<div class="wrapper">
{% include('menu/menu.html.twig') %}
<div class='main'>
<nav class='navbar navbar-expand navbar-light bg-white'>
<a class="sidebar-toggle d-flex mr-2">
<i class="hamburger align-self-center"></i>
</a>{% if "ROLE_EXTERNO" not in app.user.roles %}<button id="fichar" style="display: none" data-link="{{ path('app_comun_fichaje_diario_new') }}" data-horasactivado="{{ path('app_comun_fichaje_diario_activado') }}" data-aviso="{{ path('app_comun_fichaje_diario_aviso') }}" class="btn btn-dribbble float-left"></button>{% endif %}
<div class="navbar-collapse collapse">
<ul class="navbar-nav ml-auto">
{% if "ROLE_EXTERNO" not in app.user.roles %}
{{ render(controller('App\\Controller\\Comun\\NotificacionController::mostrarNotificacionesPopUp')) }}
{% endif %}
<li class="nav-item dropdown">
<a class="nav-icon dropdown-toggle d-inline-block d-sm-none" href="#" data-toggle="dropdown">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings align-middle"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>
</a>
<a class="nav-link dropdown-toggle d-none d-sm-inline-block" href="#" data-toggle="dropdown">
<span class="text-dark">{{ 'comun.idioma'|trans }}</span>
</a>
<div class="dropdown-menu dropdown-menu-right">
{% if app.request.locale=='eus' %}
<a class="dropdown-item" href="{{ path('idioma', {'idioma': 'es'}) }}">Español </a>
{% else %}
<a class="dropdown-item" href="{{ path('idioma', {'idioma': 'eus'}) }}">Euskera</a>
{% endif %}
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-icon dropdown-toggle d-inline-block d-sm-none" href="#" data-toggle="dropdown">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings align-middle"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>
</a>
<a class="nav-link dropdown-toggle d-none d-sm-inline-block" href="#" data-toggle="dropdown">
{% if app.user is defined and app.user is not null %}
<img src="{{ asset('images/avatar.png') }}" style="width: 26.5px">
<span class="text-dark">{{ app.user.nombre}}</span>
{% endif %}
</a>
<div class="dropdown-menu dropdown-menu-right">
{% if app.user %}
<a class="dropdown-item" href="{{ path("app_accesos_usuario_cambiar_password") }}">{{ 'comun.cambiarPass'|trans }}</a>
<a class="dropdown-item" href="{{ path("app_logout") }}">{{ 'comun.cerrarSesion'|trans }}</a>
{% else %}
<a class="dropdown-item" href="{{ path("app_login") }}">Iniciar Sesión</a>
{% endif %}
</div>
</li>
</ul>
</div>
</nav>
<main class='content'>
{% block body %}
TEXTO PLANTILLA
{% endblock %}
</main>
</div>
</div>
{% block javascripts %}
<script src="{{ asset('template/js/app.js') }}"></script>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.11.5/datatables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.colVis.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.bootstrap4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/2.2.2/js/buttons.print.min.js"></script>
<script src="https://cdn.datatables.net/rowgroup/1.1.4/js/dataTables.rowGroup.min.js"></script>
<script src="{{ asset('js/global.js') }}"></script>
<script src="{{ asset('js/filtro.js') }}"></script>
<script src="{{ asset('js/comun/fichaje.js') }}"></script>
<script src="{{ asset('js/comun/notificacion.js') }}"></script>
{% endblock %}
</body>
</html>