<!doctype html>
<html lang="{{ app.request.locale }}">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0"">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate, max-age=0">
<meta http-equiv="Pragma" content="no-cache">
{% apply spaceless %}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
{% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T",crossorigin:"anonymous"}) %}
{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
{% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
{% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
{# Estilos Sidebar #}
{% do pimcore_head_link().appendStylesheet(asset('static/css/sidebar.css')) %}
{% do pimcore_head_link().appendStylesheet('https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css') %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/react-overrides.css')) %}
{# Fin estilos Sidebar #}
{% if editmode %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
{% endif %}
{% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo",crossorigin:"anonymous"}) %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1",crossorigin:"anonymous"}) %}
{% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM",crossorigin:"anonymous"}) %}
{% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/axios@0.24.0/dist/axios.min.js',null,null,{ integrity:"sha256-rtaseLgkmpx8/wAw87kh7p93HLFoQWTz5nnhAjpNXGk=",crossorigin:"anonymous"}) %}
{% do pimcore_head_script().appendFile('//cdn.jsdelivr.net/npm/sweetalert2@11',null,null,null) %}
{% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js',null,null,null) %}
{% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
{% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
{% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
{% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
{% do pimcore_head_script().appendFile(asset('static/js/sidebar.js')) %}
{% if not editmode %}
{% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
{% endif %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %}
{# @var document \Pimcore\Model\Document\Link #}
{% set document = document.getObject() %}
{% endif %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Carpeta Ciudadana') %}
{% do pimcore_head_title().setSeparator(' : ') %}
{% set isPortal = ((isPortal is defined) and isPortal) %}
{% endapply %}
{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% if pimcore_placeholder('canonical').count() %}
<link rel="canonical" href="{{ pimcore_placeholder('canonical') }}"/> {% endif %}
{% endblock %}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
</head>
<body>
<div
class="wrapper">
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{# get the document which should be used to start in navigation | default home #}
{% set navStartNode = document.getProperty('navigation_root') %}
{% if not navStartNode is instanceof('\\Pimcore\\Model\\Document') %}
{% set navStartNode = pimcore_document(1) %}
{% endif %}
<div class="sidebar">
<div class="logo-details d-flex justify-content-center">
<img src="/static/images/M.png" width="100px" height="100px" class='bx bxl-c-plus-plus icon'>
<span class="tooltip"></span>
<!--<div class="logo_name">
P C C
</div>-->
<i class='bx bx-menu' id="btn"></i>
</div>
<hr style="height:2px;border-width:0;color:gray;background-color:white">
<ul class="nav-list">
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<li>
<a href="/es/psp/admin/Catalogos">
<i class='bx bx-grid-alt'></i>
<span class="links_name">Administración de catálogos</span>
</a>
<span class="tooltip">Administración de catálogos</span>
</li>
<li>
<a href="#">
<i class='bx bx-pie-chart-alt-2'></i>
<span class="links_name">Tablero de Control</span>
</a>
<span class="tooltip">Tablero de Control</span>
</li>
<li>
<a href="#">
<i class='bx bx-user'></i>
<span class="links_name">Reportes</span>
</a>
<span class="tooltip">Reportes</span>
</li>
<li>
<a href="#">
<i class='bx bx-folder'></i>
<span class="links_name">Visor de Documentos</span>
</a>
<span class="tooltip">Visor de Documentos</span>
</li>
{% endif %}
</ul>
<div class="profile">
<div class="profile-details">
<div class="name_job">
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<div class="name">{{ 'general.logged-in-as' | trans([app.user.firstname]) }}</div>
<a class="text-white" style="background: none;font-size:x-small;" href="{{ path('account-index') }}" class="name">{{ 'general.profile' | trans }}</a>
{% endif %}
</div>
</div>
</div>
</div>
<section class="home-section">
{# <header>
<div class="bg-white m-3 p-1 border border-gray shadow" style="border-radius: 8px;">
<div class="row">
<div
class="col d-none d-md-block justify-content-center" style="align-items: center;">
<a class="py-2 mb-2" href="{{ navStartNode }}">
<img id="logo" src="{{ asset('/static/images/edomex-logo1.png') }}" alt="PCC" width="170" height="100">
</a>
</div>
<div class="col">
<div class="row d-flex justify-content-center" style="align-items: center;">
<h2>PSP</h2>
</div>
<div class="row d-flex justify-content-center" style="align-items: center;">
<img id="logo" src="{{ asset('/static/images/linea.png') }}" alt="PCC" width="240" height="3">
</div>
<div class="row d-flex justify-content-center" style="align-items: center;">
<p>Portal del Servidor Público Carpeta Ciudadana</p>
</div>
</div>
<div
class="col d-none d-md-block justify-content-center" style="align-items: center;">
<a class="py-2 mb-2" href="{{ navStartNode }}">
<img id="logo" src="{{ asset('/static/images/edomex-logo2.png') }}" alt="PCC" width="100" height="100">
</a>
</div>
</div>
</div>
</header> #}
{{ pimcore_inc(document.getProperty('header')) }}
<main role="main">
{{ block('content') }}
<a id="back-to-top" href="#" class="btn btn-primary btn-lg back-to-top" role="button" title="Click to return on the top" data-toggle="tooltip" data-placement="left">
<span class="fa fa-arrow-up"></span>
</a>
</main>
</section>
</div>
{# output scripts added before #}
{% block headscripts deferred %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts deferred %}
{{ pimcore_inline_script() }}
{% endblock %}
{% for label, messages in app.flashes %}
{% for message in messages %}
{# <div class="alert alert-{{ label }} alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ message }}
</div> #}
<script>
var title = 'Éxito';
var icono = 'success';
if ('{{ label }}' === 'danger') {
title = 'Error';
icono = 'error';
}
if ('{{ label }}' === 'warning') {
title = 'Advertencia';
icono = 'warning';
}
Swal.fire(title, '{{ message }}', icono)
</script>
{% endfor %}
{% endfor %}
</body>
</html>