templates/frontend/documento/public.html.twig line 103

Open in your IDE?
  1. {% extends 'frontend/layout.html.twig' %}
  2. {% block title %} {{ seo_on_page.titulo }} {% endblock title %}
  3. {% block metas_titulo %}
  4.     <meta name="title" content="{{ seo_on_page.titulo }}"/>
  5.     <meta http-equiv="title" content="{{ seo_on_page.titulo }}"/>
  6.     <meta name="DC.Title" content="{{ seo_on_page.titulo }}"/>
  7. {% endblock metas_titulo %}
  8. {% block metas_descripcion %}
  9.     <meta name="description" content="{{ seo_on_page.descripcion }}"/>
  10.     <meta http-equiv="description" content="{{ seo_on_page.descripcion }}"/>
  11.     <meta name="DC.description" content="{{ seo_on_page.descripcion }}"/>
  12. {% endblock metas_descripcion %}
  13. {% block keywords %}
  14.     <meta name="Keywords" content="{{ seo_on_page.tags }}"/>
  15.     <meta http-equiv="keywords" content="{{ seo_on_page.tags }}"/>
  16.     <meta name="DC.keywords" content="{{ seo_on_page.tags }}"/>
  17. {% endblock keywords %}
  18. {% block datosestructurados %}
  19. {% endblock datosestructurados %}
  20. {% block stylesheetspecific %}
  21.     <link href="{{ asset('bundles/frontend/css/documentos.css') }}" rel="stylesheet" type="text/css"/>
  22.     <style>
  23.         .m_form_search{
  24.             height: 32px !important;
  25.         }
  26.     </style>
  27. {% endblock %}
  28. {% block header_nav_item_document_active_class %}active{% endblock %}
  29. {% block header_nav_item_document_public_active_class %}active{% endblock %}
  30. {% block content %}
  31.     <div id="content" class="p-0 clearfix">
  32.         <div id="events" class="container py-4 py-lg-6">
  33.             <hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
  34.             <h2 class="text-slab text-center text-uppercase mt-0 mb-5">
  35.                 Public Documents
  36.             </h2>
  37.             <div id="lista-documento" class="form-wrapper">
  38.                 <!--begin: Search Form -->
  39.                 <form class="p-3 bg-light mb-2">
  40.                     <div class="row align-items-center">
  41.                         <!-- filtro categoria -->
  42.                         <div class="col-md-3">
  43.                             <select data-toggle="select"  data-live-search="true"
  44.                                     class="form-control" id="filtro-categoria">
  45.                                 <option value="">Category</option>
  46.                                 {% for item in categorias %}
  47.                                     <option value="{{ item.categoria_id }}">{{ item.descripcion }}
  48.                                     </option>
  49.                                 {% endfor %}
  50.                             </select>
  51.                         </div>
  52.                         <div class="col-md-3">
  53.                             <input type="text" class="form-control m_form_search" placeholder="Search...">
  54.                         </div>
  55.                         <!-- btn filtrar -->
  56.                         <div class="col-md-2">
  57.                             <a href="javascript:;" id="btn-filtrar" class="btn btn-dark">
  58.                                 <span>
  59.                                     <i class="fa fa-search"></i>
  60.                                     <span>Search</span>
  61.                                 </span>
  62.                             </a>
  63.                         </div>
  64.                     </div>
  65.                 </form>
  66.                 <!--end: Search Form -->
  67.                 <!--begin: Datatable -->
  68.                 <div class="m_datatable" id="documento-table-editable"></div>
  69.                 <!--end: Datatable -->
  70.             </div>
  71.         </div>
  72.     </div>
  73. {% endblock %}
  74. {% block javascriptspecific %}
  75.     <script src="{{ asset('bundles/ican/plugins/jquery-validation/js/jquery.validate.min.js') }}"></script>
  76.     <script src="{{ asset('bundles/ican/js/date.format.js') }}"></script>
  77.     <script src="{{ asset('bundles/ican/js/myapp.js') }}"></script>
  78.     <script>
  79.         // usuario actual
  80.         var currentUser = {
  81.             usuario_id: "{{ app.user.usuarioId }}",
  82.             nombre: "{{ app.user.nombre }}",
  83.             email: "{{ app.user.email }}",
  84.             rol: "{{ app.user.rol.rolId }}",
  85.             empresa_id: "{% if app.user.empresa %}{{ app.user.empresa.empresaId }}{% endif %}"
  86.         }
  87.         jQuery(document).ready(function () {
  88.             MyApp.init();
  89.         });
  90.     </script>
  91.     <script src="{{ asset('bundles/frontend/js/my/documentos-public.js') }}"></script>
  92.     <script>
  93.         jQuery(document).ready(function () {
  94.             DocumentosPublic.init();
  95.         });
  96.     </script>
  97. {% endblock %}