{% extends 'frontend/layout.html.twig' %}
{% block title %} {{ seo_on_page.titulo }} {% endblock title %}
{% block metas_titulo %}
<meta name="title" content="{{ seo_on_page.titulo }}"/>
<meta http-equiv="title" content="{{ seo_on_page.titulo }}"/>
<meta name="DC.Title" content="{{ seo_on_page.titulo }}"/>
{% endblock metas_titulo %}
{% block metas_descripcion %}
<meta name="description" content="{{ seo_on_page.descripcion }}"/>
<meta http-equiv="description" content="{{ seo_on_page.descripcion }}"/>
<meta name="DC.description" content="{{ seo_on_page.descripcion }}"/>
{% endblock metas_descripcion %}
{% block keywords %}
<meta name="Keywords" content="{{ seo_on_page.tags }}"/>
<meta http-equiv="keywords" content="{{ seo_on_page.tags }}"/>
<meta name="DC.keywords" content="{{ seo_on_page.tags }}"/>
{% endblock keywords %}
{% block datosestructurados %}
{% endblock datosestructurados %}
{% block stylesheetspecific %}
<link href="{{ asset('bundles/frontend/css/documentos.css') }}" rel="stylesheet" type="text/css"/>
<style>
.m_form_search{
height: 32px !important;
}
</style>
{% endblock %}
{% block header_nav_item_document_active_class %}active{% endblock %}
{% block header_nav_item_document_public_active_class %}active{% endblock %}
{% block content %}
<div id="content" class="p-0 clearfix">
<div id="events" class="container py-4 py-lg-6">
<hr class="hr-lg mt-0 mb-2 w-10 mx-auto hr-primary"/>
<h2 class="text-slab text-center text-uppercase mt-0 mb-5">
Public Documents
</h2>
<div id="lista-documento" class="form-wrapper">
<!--begin: Search Form -->
<form class="p-3 bg-light mb-2">
<div class="row align-items-center">
<!-- filtro categoria -->
<div class="col-md-3">
<select data-toggle="select" data-live-search="true"
class="form-control" id="filtro-categoria">
<option value="">Category</option>
{% for item in categorias %}
<option value="{{ item.categoria_id }}">{{ item.descripcion }}
</option>
{% endfor %}
</select>
</div>
<div class="col-md-3">
<input type="text" class="form-control m_form_search" placeholder="Search...">
</div>
<!-- btn filtrar -->
<div class="col-md-2">
<a href="javascript:;" id="btn-filtrar" class="btn btn-dark">
<span>
<i class="fa fa-search"></i>
<span>Search</span>
</span>
</a>
</div>
</div>
</form>
<!--end: Search Form -->
<!--begin: Datatable -->
<div class="m_datatable" id="documento-table-editable"></div>
<!--end: Datatable -->
</div>
</div>
</div>
{% endblock %}
{% block javascriptspecific %}
<script src="{{ asset('bundles/ican/plugins/jquery-validation/js/jquery.validate.min.js') }}"></script>
<script src="{{ asset('bundles/ican/js/date.format.js') }}"></script>
<script src="{{ asset('bundles/ican/js/myapp.js') }}"></script>
<script>
// usuario actual
var currentUser = {
usuario_id: "{{ app.user.usuarioId }}",
nombre: "{{ app.user.nombre }}",
email: "{{ app.user.email }}",
rol: "{{ app.user.rol.rolId }}",
empresa_id: "{% if app.user.empresa %}{{ app.user.empresa.empresaId }}{% endif %}"
}
jQuery(document).ready(function () {
MyApp.init();
});
</script>
<script src="{{ asset('bundles/frontend/js/my/documentos-public.js') }}"></script>
<script>
jQuery(document).ready(function () {
DocumentosPublic.init();
});
</script>
{% endblock %}