templates/menu/menu.html.twig line 1

Open in your IDE?
  1. <nav class="sidebar">
  2.     <div class="sidebar-content ">
  3.         <a class="sidebar-brand" href="{{ path('app_default') }}"><br>
  4.                 <img src="{{ asset('images/logo.png') }}" style='width: 100%;'><br><br>
  5.                             </a>
  6.                             <ul class="sidebar-nav">
  7.                                 <li class="sidebar-item active">
  8.                                     <a class="sidebar-link" href="">
  9.                                         <span class="align-middle h4 text-white">DaitekeCRM</span>
  10.                                     </a>
  11.                                 </li>
  12.                                 <li class="sidebar-item">
  13.                                     <a class="sidebar-link" href="{{ path('app_comun_proyecto_index') }}">
  14.                                         <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-book align-middle me-2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
  15.                                         <span class="align-middle">{{ 'menu.proyectos'|trans }}</span>
  16.                                     </a>
  17.                                 </li>
  18.                                     
  19.                                 <li class="sidebar-item">
  20.                                     <a class="sidebar-link" href="{{ path('app_comun_proyecto_index_finalizados') }}">
  21.                                         <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-book align-middle me-2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
  22.                                         <span class="align-middle">{{ 'menu.proyectosfinalizados'|trans }}</span>
  23.                                     </a>
  24.                                 </li>
  25.                                 {% if "ROLE_EMPLEADA" in app.user.roles or "ROLE_ADMIN" in app.user.roles %}
  26.                                     <li class="sidebar-item">                
  27.                                         <a class="sidebar-link" href="{{ path('app_comun_tarea_kanban') }}">
  28.                                             <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-clock align-middle me-2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
  29.                                             <span class="align-middle">{{ 'menu.tareas'|trans }}</span>
  30.                                         </a>
  31.                                     </li>
  32.                                     <li class="sidebar-item">
  33.                                         <a data-toggle="collapse" class="sidebar-link collapsed" href="#fichajesmenu">
  34.                                             <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-disc align-middle me-2"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle></svg>
  35.                                             <span class="align-middle">{{ 'menu.fichajes'|trans }}</span>
  36.                                         </a>
  37.                                         <ul id="fichajesmenu" class="sidebar-dropdown list-unstyled collapse ">
  38.                                             <li class="sidebar-item">
  39.                                                 <a class="sidebar-link" href="{{ path('app_comun_fichaje_diario_index') }}">
  40.                                                     <span class="align-middle">{{ 'menu.fichajesDiarios'|trans }}</span>
  41.                                                 </a>
  42.                                             </li>
  43.                                             <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_fichaje_index') }}">
  44.                                                     <span class="align-middle">{{ 'menu.fichajesPorTarea'|trans }}</span>
  45.                                                 </a>
  46.                                             </li>
  47.                                         </ul>
  48.                                     </li>
  49.                                     <li class="sidebar-item">
  50.                                         <a data-toggle="collapse" class="sidebar-link collapsed" href="#accionesmenu">
  51.                                             <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-activity align-middle me-2"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>
  52.                                             <span class="align-middle">{{ 'menu.acciones'|trans }}</span>
  53.                                         </a>
  54.                                         <ul id="accionesmenu" class="sidebar-dropdown list-unstyled collapse ">
  55.                                             <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_relacion_index') }}">
  56.                                                     <span class="align-middle">{{ 'menu.esquema'|trans }}</span>
  57.                                                 </a>
  58.                                             </li>
  59.                                             <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_reunion_index') }}">
  60.                                                     <span class="align-middle">{{ 'menu.reuniones'|trans }}</span>
  61.                                                 </a>
  62.                                             </li>
  63.                                             <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_llamada_index') }}">
  64.                                                     <span class="align-middle">{{ 'menu.llamadas'|trans }}</span>
  65.                                                 </a>
  66.                                             </li>
  67.                                             <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_accion_email_index') }}">
  68.                                                     <span class="align-middle">{{ 'menu.emails'|trans }}</span>
  69.                                                 </a>
  70.                                             </li>
  71.                                         </ul>
  72.                                     </li>
  73.                                     <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_admin_cliente_index') }}">
  74.                                             <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-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
  75.                                             <span class="align-middle">{{ 'menu.clientes'|trans }}</span>
  76.                                         </a>
  77.                                     </li>
  78.                                      <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_festivo_index') }}">
  79.                                             <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-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
  80.                                             <span class="align-middle">{{ 'festivo.titulo'|trans }}</span>
  81.                                         </a>
  82.                                     </li>
  83.                                     <br>
  84.                                     {% endif %}
  85.                                     {% if "ROLE_ADMIN" in app.user.roles %}
  86.                                         <li class="sidebar-item active">
  87.                                             <a class="sidebar-link" href="#">
  88.                                                 <span class="align-middle h4 text-white">{{ 'menu.administracion'|trans }}</span>
  89.                                             </a>
  90.                                         </li>
  91.                                         <li class="sidebar-item">
  92.                                             <a class="sidebar-link" href="{{ path('app_mf_main') }}">
  93.                                                 <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-search align-middle mr-2"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
  94.                                                 <span class="align-middle">{{ 'menu.busqueda'|trans }}</span>
  95.                                             </a>
  96.                                         </li>
  97.                                         <li class="sidebar-item">
  98.                                             <a class="sidebar-link" href="{{ path('app_admin_excel_empleadas') }}">
  99.                                                 <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-download align-middle mr-2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>
  100.                                                 <span class="align-middle">{{ 'menu.excelFichajes'|trans }}</span>
  101.                                             </a>
  102.                                         </li>
  103.                                             
  104.                                         <li class="sidebar-item">
  105.                                             <a data-toggle="collapse" class="sidebar-link collapsed" href="#empleadamenu">
  106.                                                 <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-users align-middle me-2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
  107.                                                 <span class="align-middle">{{ 'menu.empleadas'|trans }}</span>
  108.                                             </a>
  109.                                             <ul id="empleadamenu" class="sidebar-dropdown list-unstyled collapse ">
  110.                                                 <li class="sidebar-item">
  111.                                                     <a class="sidebar-link" href="{{ path('app_admin_empleada_index') }}">
  112.                                                         <span>  {{ ('menu.empleadas'|trans) }}</span>
  113.                                                     </a>
  114.                                                 </li>    
  115.                                                 <li class="sidebar-item">
  116.                                                     <a class="sidebar-link" href="{{ path('app_admin_rango_salarial_index') }}">
  117.                                                         <span class="align-middle">{{ 'menu.rangosSalariales'|trans }}</span>
  118.                                                     </a>
  119.                                                 </li>
  120.                                             </ul>
  121.                                         </li>
  122.                                         <li class="sidebar-item">
  123.                                             <a data-toggle="collapse" class="sidebar-link collapsed" href="#clientesmenu">
  124.                                                 <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-bar-chart-2 align-middle me-2"><line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line></svg>
  125.                                                 <span class="align-middle">{{ 'menu.clientes'|trans }}</span>
  126.                                             </a>
  127.                                             <ul id="clientesmenu" class="sidebar-dropdown list-unstyled collapse ">
  128.                                                 <li class="sidebar-item"> <a class="sidebar-link" href="{{ path("app_admin_tipo_cliente_index") }}">
  129.                                                         {{ 'menu.tipoClientes'|trans }}
  130.                                                     </a>
  131.                                                 </li>
  132.                                                 <li class="sidebar-item"><a class="sidebar-link" href="{{ path("app_admin_sector_index") }}">
  133.                                                         {{ 'menu.sectores'|trans }}</a></li>
  134.                                             </ul>
  135.                                         </li>
  136.                                         <li class="sidebar-item">
  137.                                             <a class="sidebar-link" href="{{ path('app_admin_proveedor_index') }}">
  138.                                                 <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-target align-middle me-2"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle></svg>
  139.                                                 <span class="align-middle">{{ 'menu.proveedores'|trans }}</span>
  140.                                             </a>
  141.                                         </li>
  142.                                         <li class="sidebar-item">
  143.                                             <a class="sidebar-link" href="{{ path("app_accesos_usuario_index") }}">
  144.                                                 <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-user-plus align-middle me-2"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line></svg>
  145.                                                 {{ 'menu.usuarios'|trans }}</a>
  146.                                         </li>
  147.                                         <li class="sidebar-item">
  148.                                             <a data-toggle="collapse" class="sidebar-link collapsed" href="#opciones">
  149.                                                 <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 me-2"><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>
  150.                                                 <span class="align-middle">{{ 'menu.otrosDatos'|trans }}</span>
  151.                                             </a>
  152.                                             <ul id="opciones" class="sidebar-dropdown list-unstyled collapse ">
  153.                                                 <li class="sidebar-item">                
  154.                                                     <a class="sidebar-link" href="{{ path('app_admin_area_index') }}">
  155.                                                         <span class="align-middle">{{ 'menu.areas'|trans }}</span>
  156.                                                     </a>
  157.                                                 </li>
  158.                                                 <li class="sidebar-item">
  159.                                                     <a class="sidebar-link" href="{{ path("app_admin_localidad_index") }}">
  160.                                                         <span class="align-middle"> {{ 'menu.localidades'|trans }}</span>
  161.                                                     </a>
  162.                                                 </li>
  163.                                                 <li class="sidebar-item"><a class="sidebar-link" href="{{ path("app_admin_globales_index") }}">
  164.                                                         <span class="align-middle">     {{ 'menu.globales'|trans }}</span>
  165.                                                     </a>
  166.                                                 </li>
  167.                                             </ul>
  168.                                         </li>
  169.                                                     
  170.                                         <li class="sidebar-item"><a class="sidebar-link" href="{{ path('app_comun_festivo_admin') }}">
  171.                                                 <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-users align-middle"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
  172.                                                 <span class="align-middle">{{ 'festivo.titulo'|trans }}</span>
  173.                                             </a>
  174.                                         </li>
  175.                                     {% endif %}
  176.                             </ul>
  177.                             </div>
  178.                             </nav>