var/cache/dev/twig/54/542fd7005df4ec8f85e6676f4cd7687e.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layouts/layout-portal.html.twig */
  14. class __TwigTemplate_5c379010f6c89c6afe7320c199f9e660 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  28.         ];
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout-portal.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout-portal.html.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. <html lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  43.         echo "\">
  44. \t<head>
  45. \t\t<!-- Required meta tags -->
  46. \t\t<meta charset=\"utf-8\">
  47. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0\"\">
  48. \t\t<meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate, max-age=0\">
  49. \t\t<meta http-equiv=\"Pragma\" content=\"no-cache\">
  50. \t\t";
  51.         // line 9
  52.         ob_start();
  53.         // line 10
  54.         echo "\t\t";
  55.         // line 11
  56.         echo "\t\t";
  57.         // line 12
  58.         echo "\t\t";
  59.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method"falsefalsefalse12);
  60.         // line 13
  61.         echo "\t\t";
  62.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"=> null=> null=> ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T""crossorigin" => "anonymous"]], "method"falsefalsefalse13);
  63.         // line 14
  64.         echo "\t\t";
  65.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method"falsefalsefalse14);
  66.         // line 15
  67.         echo "\t\t";
  68.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.css"), => "screen"], "method"falsefalsefalse15);
  69.         // line 16
  70.         echo "\t\t";
  71.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/css/autoComplete.css"), => "screen"], "method"falsefalsefalse16);
  72.         // line 17
  73.         echo "\t\t";
  74.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://use.fontawesome.com/releases/v5.7.0/css/all.css"=> null=> null=> ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ""crossorigin" => "anonymous"]], "method"falsefalsefalse17);
  75.         // line 18
  76.         echo "\t\t";
  77.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/global.css")], "method"falsefalsefalse18);
  78.         // line 19
  79.         echo "\t\t";
  80.         // line 20
  81.         echo "\t\t";
  82.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/sidebar.css")], "method"falsefalsefalse20);
  83.         // line 21
  84.         echo "\t\t";
  85.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css"], "method"falsefalsefalse21);
  86.         // line 22
  87.         echo "\t\t";
  88.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/react-overrides.css")], "method"falsefalsefalse22);
  89.         // line 23
  90.         echo "\t\t";
  91.         // line 24
  92.         echo "\t\t\t";
  93.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'24$this->source); })())) {
  94.             // line 25
  95.             echo "\t\t";
  96.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method"falsefalsefalse25);
  97.             // line 26
  98.             echo "\t\t";
  99.         }
  100.         // line 27
  101.         echo "\t\t";
  102.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://code.jquery.com/jquery-3.3.1.slim.min.js"=> null=> null=> ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo""crossorigin" => "anonymous"]], "method"falsefalsefalse27);
  103.         // line 28
  104.         echo "\t\t";
  105.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"=> null=> null=> ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1""crossorigin" => "anonymous"]], "method"falsefalsefalse28);
  106.         // line 29
  107.         echo "\t\t";
  108.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"=> null=> null=> ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM""crossorigin" => "anonymous"]], "method"falsefalsefalse29);
  109.         // line 30
  110.         echo "\t\t";
  111.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdn.jsdelivr.net/npm/axios@0.24.0/dist/axios.min.js"=> null=> null=> ["integrity" => "sha256-rtaseLgkmpx8/wAw87kh7p93HLFoQWTz5nnhAjpNXGk=""crossorigin" => "anonymous"]], "method"falsefalsefalse30);
  112.         // line 31
  113.         echo "\t\t";
  114.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "//cdn.jsdelivr.net/npm/sweetalert2@11"=> null=> null=> null], "method"falsefalsefalse31);
  115.         // line 32
  116.         echo "\t\t";
  117.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"=> null=> null=> null], "method"falsefalsefalse32);
  118.         // line 33
  119.         echo "\t\t";
  120.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.js")], "method"falsefalsefalse33);
  121.         // line 34
  122.         echo "\t\t";
  123.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/js/autoComplete.min.js")], "method"falsefalsefalse34);
  124.         // line 35
  125.         echo "\t\t";
  126.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/search-autocomplete.js")], "method"falsefalsefalse35);
  127.         // line 36
  128.         echo "\t\t";
  129.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method"falsefalsefalse36);
  130.         // line 37
  131.         echo "\t\t";
  132.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/sidebar.js")], "method"falsefalsefalse37);
  133.         // line 38
  134.         echo "\t\t\t";
  135.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'38$this->source); })())) {
  136.             // line 39
  137.             echo "\t\t";
  138.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/frontend.js")], "method"falsefalsefalse39);
  139.             // line 40
  140.             echo "\t\t";
  141.         }
  142.         // line 41
  143.         echo "
  144. \t\t\t";
  145.         // line 42
  146.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'42$this->source); })()))) {
  147.             // line 43
  148.             echo "\t\t";
  149.             $context["document"] = Pimcore\Model\Document::getById(1);
  150.             // line 44
  151.             echo "\t\t";
  152.         }
  153.         // line 45
  154.         echo "
  155. \t\t\t";
  156.         // line 46
  157.         if (call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'46$this->source); })()), "\\Pimcore\\Model\\Document\\Link"])) {
  158.             // line 47
  159.             echo "\t\t\t";
  160.             // line 48
  161.             echo "\t\t";
  162.             $context["document"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'48$this->source); })()), "getObject", [], "method"falsefalsefalse48);
  163.             // line 49
  164.             echo "\t\t";
  165.         }
  166.         // line 50
  167.         echo "
  168. \t\t\t";
  169.         // line 51
  170.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'51$this->source); })()), "getTitle", [], "method"falsefalsefalse51))) {
  171.             // line 52
  172.             echo "\t\t";
  173.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "set", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'52$this->source); })()), "getTitle", [], "method"falsefalsefalse52)], "method"falsefalsefalse52);
  174.             // line 53
  175.             echo "\t\t";
  176.         }
  177.         // line 54
  178.         echo "
  179. \t\t\t";
  180.         // line 55
  181.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'55$this->source); })()), "getDescription", [], "method"falsefalsefalse55))) {
  182.             // line 56
  183.             echo "\t\t";
  184.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setDescription", [=> twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'56$this->source); })()), "getDescription", [], "method"falsefalsefalse56)], "method"falsefalsefalse56);
  185.             // line 57
  186.             echo "\t\t";
  187.         }
  188.         // line 58
  189.         echo "
  190. \t\t";
  191.         // line 59
  192.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "append", [=> "Carpeta Ciudadana"], "method"falsefalsefalse59);
  193.         // line 60
  194.         echo "\t\t";
  195.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "setSeparator", [=> " : "], "method"falsefalsefalse60);
  196.         // line 61
  197.         echo "\t\t";
  198.         $context["isPortal"] = (array_key_exists("isPortal"$context) && (isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'61$this->source); })()));
  199.         // line 62
  200.         echo "\t\t";
  201.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  202.         // line 9
  203.         echo twig_spaceless($___internal_parse_0_);
  204.         // line 63
  205.         echo "
  206. \t\t";
  207.         // line 65
  208.         echo "\t\t\t";
  209.         $this->displayBlock('layout_head_meta'$context$blocks);
  210.         // line 73
  211.         echo "
  212. \t\t";
  213.         // line 74
  214.         $this->displayBlock('head_stylesheets'$context$blocks);
  215.         // line 77
  216.         echo "\t</head>
  217. \t<body>
  218. \t\t<div
  219. \t\t\tclass=\"wrapper\">
  220. \t\t\t";
  221.         // line 82
  222.         echo "\t\t\t";
  223.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'82$this->source); })()))) {
  224.             // line 83
  225.             echo "\t\t\t\t";
  226.             $context["document"] = Pimcore\Model\Document::getById(1);
  227.             // line 84
  228.             echo "\t\t\t";
  229.         }
  230.         // line 85
  231.         echo "
  232. \t\t\t";
  233.         // line 87
  234.         echo "\t\t\t";
  235.         $context["navStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'87$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsefalse87);
  236.         // line 88
  237.         echo "
  238. \t\t\t";
  239.         // line 89
  240.         if ( !call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'89$this->source); })()), "\\Pimcore\\Model\\Document"])) {
  241.             // line 90
  242.             echo "\t\t\t\t";
  243.             $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  244.             // line 91
  245.             echo "\t\t\t";
  246.         }
  247.         // line 92
  248.         echo "
  249. \t\t\t
  250. \t\t\t<div class=\"sidebar\">
  251. \t\t\t\t<div class=\"logo-details d-flex justify-content-center\">
  252. \t\t\t\t\t<img src=\"/static/images/M.png\" width=\"100px\" height=\"100px\" class='bx bxl-c-plus-plus icon'>
  253. \t\t\t\t\t<span class=\"tooltip\"></span>
  254. \t\t\t\t\t<!--<div class=\"logo_name\">
  255. \t\t\t\t\t\t\t\t\t\t\t\t\t\t                    &nbsp; P C C
  256. \t\t\t\t\t\t\t\t\t\t\t\t\t\t                </div>-->
  257. \t\t\t\t\t<i class='bx bx-menu' id=\"btn\"></i>
  258. \t\t\t\t</div>
  259. \t\t\t\t<hr style=\"height:2px;border-width:0;color:gray;background-color:white\">
  260. \t\t\t\t<ul class=\"nav-list\">
  261.                     ";
  262.         // line 108
  263.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  264.             // line 109
  265.             echo "                        <li>
  266.                             <a href=\"/es/psp/admin/Catalogos\">
  267.                                 <i class='bx bx-grid-alt'></i>
  268.                                 <span class=\"links_name\">Administración de catálogos</span>
  269.                             </a>
  270.                             <span class=\"tooltip\">Administración de catálogos</span>
  271.                         </li>
  272.                         <li>
  273.                             <a href=\"#\">
  274.                                 <i class='bx bx-pie-chart-alt-2'></i>
  275.                                 <span class=\"links_name\">Tablero de Control</span>
  276.                             </a>
  277.                             <span class=\"tooltip\">Tablero de Control</span>
  278.                         </li>
  279.                         <li>
  280.                             <a href=\"#\">
  281.                                 <i class='bx bx-user'></i>
  282.                                 <span class=\"links_name\">Reportes</span>
  283.                             </a>
  284.                             <span class=\"tooltip\">Reportes</span>
  285.                         </li>
  286.                         <li>
  287.                             <a href=\"#\">
  288.                                 <i class='bx bx-folder'></i>
  289.                                 <span class=\"links_name\">Visor de Documentos</span>
  290.                             </a>
  291.                             <span class=\"tooltip\">Visor de Documentos</span>
  292.                         </li>
  293.                     ";
  294.         }
  295.         // line 138
  296.         echo "\t\t\t\t</ul>
  297.                 <div class=\"profile\">
  298.                     <div class=\"profile-details\">
  299.                         <div class=\"name_job\">
  300.                             ";
  301.         // line 142
  302.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  303.             // line 143
  304.             echo "                                <div class=\"name\">";
  305.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.logged-in-as", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'143$this->source); })()), "user", [], "any"falsefalsefalse143), "firstname", [], "any"falsefalsefalse143)]), "html"nulltrue);
  306.             echo "</div>
  307.                                 <a class=\"text-white\" style=\"background: none;font-size:x-small;\" href=\"";
  308.             // line 144
  309.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account-index");
  310.             echo "\" class=\"name\">";
  311.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.profile"), "html"nulltrue);
  312.             echo "</a>
  313.                             ";
  314.         }
  315.         // line 146
  316.         echo "                        </div>
  317.                     </div>
  318.                     
  319.                 </div>
  320. \t\t\t</div>
  321. \t\t\t<section class=\"home-section\">
  322. \t\t\t\t";
  323.         // line 183
  324.         echo "
  325. \t\t\t\t";
  326.         // line 184
  327.         echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'184$this->source); })()), "getProperty", [=> "header"], "method"falsefalsefalse184)]);
  328.         echo "
  329. \t\t\t\t<main role=\"main\">
  330. \t\t\t\t\t\t";
  331.         // line 189
  332.         $this->displayBlock("content"$context$blocks);
  333.         echo "
  334. \t\t\t\t\t
  335. \t\t\t\t\t<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\">
  336. \t\t\t\t\t\t<span class=\"fa fa-arrow-up\"></span>
  337. \t\t\t\t\t</a>
  338. \t\t\t\t</main>
  339. \t\t\t</section>
  340. \t\t</div>
  341. \t\t";
  342.         // line 200
  343.         echo "\t\t";
  344.         $this->displayBlock('headscripts'$context$blocks);
  345.         // line 203
  346.         echo "
  347. \t\t";
  348.         // line 205
  349.         $this->displayBlock('inlinescripts'$context$blocks);
  350.         // line 208
  351.         echo "\t\t
  352. \t\t";
  353.         // line 209
  354.         $context['_parent'] = $context;
  355.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'209$this->source); })()), "flashes", [], "any"falsefalsefalse209));
  356.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  357.             // line 210
  358.             echo "\t\t\t";
  359.             $context['_parent'] = $context;
  360.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  361.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  362.                 // line 211
  363.                 echo "\t\t\t\t";
  364.                 // line 215
  365.                 echo "\t\t\t\t<script>
  366. \t\t\t\t\tvar title = 'Éxito';
  367. var icono = 'success';
  368. if ('";
  369.                 // line 218
  370.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  371.                 echo "' === 'danger') {
  372. title = 'Error';
  373. icono = 'error';
  374. }
  375. if ('";
  376.                 // line 222
  377.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  378.                 echo "' === 'warning') {
  379. title = 'Advertencia';
  380. icono = 'warning';
  381. }
  382. Swal.fire(title, '";
  383.                 // line 226
  384.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  385.                 echo "', icono)
  386. \t\t\t\t</script>
  387. \t\t\t";
  388.             }
  389.             $_parent $context['_parent'];
  390.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  391.             $context array_intersect_key($context$_parent) + $_parent;
  392.             // line 229
  393.             echo "\t\t";
  394.         }
  395.         $_parent $context['_parent'];
  396.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  397.         $context array_intersect_key($context$_parent) + $_parent;
  398.         // line 230
  399.         echo "\t</body>
  400. </html>";
  401.         $this->deferred->resolve($this$context$blocks);
  402.         
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  404.         
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  406.     }
  407.     public function block_layout_head_meta($context, array $blocks = [])
  408.     {
  409.         $this->deferred->defer($this'layout_head_meta');
  410.     }
  411.     // line 65
  412.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  413.     {
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  415.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  416.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  417.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  418.         // line 66
  419.         echo "\t\t\t";
  420.         echo call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []);
  421.         echo "
  422. \t\t\t";
  423.         // line 67
  424.         echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
  425.         echo "
  426. \t\t\t\t";
  427.         // line 69
  428.         if (twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]), "count", [], "method"falsefalsefalse69)) {
  429.             // line 70
  430.             echo "\t\t\t<link rel=\"canonical\" href=\"";
  431.             echo call_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]);
  432.             echo "\"/> ";
  433.         }
  434.         // line 71
  435.         echo "
  436. \t\t";
  437.         
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  439.         
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  441.         $this->deferred->resolve($this$context$blocks);
  442.     }
  443.     public function block_head_stylesheets($context, array $blocks = [])
  444.     {
  445.         $this->deferred->defer($this'head_stylesheets');
  446.     }
  447.     // line 74
  448.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  449.     {
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  452.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  453.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  454.         // line 75
  455.         echo "\t\t\t";
  456.         echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  457.         echo "
  458. \t\t";
  459.         
  460.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  461.         
  462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  463.         $this->deferred->resolve($this$context$blocks);
  464.     }
  465.     public function block_headscripts($context, array $blocks = [])
  466.     {
  467.         $this->deferred->defer($this'headscripts');
  468.     }
  469.     // line 200
  470.     public function block_headscripts_deferred($context, array $blocks = [])
  471.     {
  472.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  474.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  475.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  476.         // line 201
  477.         echo "\t\t\t";
  478.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  479.         echo "
  480. \t\t";
  481.         
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  483.         
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  485.         $this->deferred->resolve($this$context$blocks);
  486.     }
  487.     public function block_inlinescripts($context, array $blocks = [])
  488.     {
  489.         $this->deferred->defer($this'inlinescripts');
  490.     }
  491.     // line 205
  492.     public function block_inlinescripts_deferred($context, array $blocks = [])
  493.     {
  494.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  496.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  498.         // line 206
  499.         echo "\t\t\t";
  500.         echo call_user_func_array($this->env->getFunction('pimcore_inline_script')->getCallable(), []);
  501.         echo "
  502. \t\t";
  503.         
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  505.         
  506.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  507.         $this->deferred->resolve($this$context$blocks);
  508.     }
  509.     public function getTemplateName()
  510.     {
  511.         return "layouts/layout-portal.html.twig";
  512.     }
  513.     public function isTraitable()
  514.     {
  515.         return false;
  516.     }
  517.     public function getDebugInfo()
  518.     {
  519.         return array (  544 => 206,  535 => 205,  516 => 201,  507 => 200,  488 => 75,  479 => 74,  462 => 71,  457 => 70,  455 => 69,  450 => 67,  445 => 66,  436 => 65,  419 => 230,  413 => 229,  404 => 226,  397 => 222,  390 => 218,  385 => 215,  383 => 211,  378 => 210,  374 => 209,  371 => 208,  369 => 205,  365 => 203,  362 => 200,  349 => 189,  341 => 184,  338 => 183,  328 => 146,  321 => 144,  316 => 143,  314 => 142,  308 => 138,  277 => 109,  275 => 108,  257 => 92,  254 => 91,  251 => 90,  249 => 89,  246 => 88,  243 => 87,  240 => 85,  237 => 84,  234 => 83,  231 => 82,  225 => 77,  223 => 74,  220 => 73,  217 => 65,  214 => 63,  212 => 9,  209 => 62,  206 => 61,  203 => 60,  201 => 59,  198 => 58,  195 => 57,  192 => 56,  190 => 55,  187 => 54,  184 => 53,  181 => 52,  179 => 51,  176 => 50,  173 => 49,  170 => 48,  168 => 47,  166 => 46,  163 => 45,  160 => 44,  157 => 43,  155 => 42,  152 => 41,  149 => 40,  146 => 39,  143 => 38,  140 => 37,  137 => 36,  134 => 35,  131 => 34,  128 => 33,  125 => 32,  122 => 31,  119 => 30,  116 => 29,  113 => 28,  110 => 27,  107 => 26,  104 => 25,  101 => 24,  99 => 23,  96 => 22,  93 => 21,  90 => 20,  88 => 19,  85 => 18,  82 => 17,  79 => 16,  76 => 15,  73 => 14,  70 => 13,  67 => 12,  65 => 11,  63 => 10,  61 => 9,  51 => 2,  48 => 1,);
  520.     }
  521.     public function getSourceContext()
  522.     {
  523.         return new Source("<!doctype html>
  524. <html lang=\"{{ app.request.locale }}\">
  525. \t<head>
  526. \t\t<!-- Required meta tags -->
  527. \t\t<meta charset=\"utf-8\">
  528. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0\"\">
  529. \t\t<meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate, max-age=0\">
  530. \t\t<meta http-equiv=\"Pragma\" content=\"no-cache\">
  531. \t\t{% apply spaceless %}
  532. \t\t{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  533. \t\t{# we use the view helper to have cache buster functionality #}
  534. \t\t{% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
  535. \t\t{% 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\"}) %}
  536. \t\t{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  537. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
  538. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
  539. \t\t{% 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'}) %}
  540. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  541. \t\t{# Estilos Sidebar #}
  542. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/sidebar.css')) %}
  543. \t\t{% do pimcore_head_link().appendStylesheet('https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css') %}
  544. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/react-overrides.css')) %}
  545. \t\t{# Fin estilos Sidebar #}
  546. \t\t\t{% if editmode %}
  547. \t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  548. \t\t{% endif %}
  549. \t\t{% 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\"}) %}
  550. \t\t{% 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\"}) %}
  551. \t\t{% 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\"}) %}
  552. \t\t{% 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\"}) %}
  553. \t\t{% do pimcore_head_script().appendFile('//cdn.jsdelivr.net/npm/sweetalert2@11',null,null,null) %}
  554. \t\t{% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js',null,null,null) %}
  555. \t\t{% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
  556. \t\t{% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
  557. \t\t{% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
  558. \t\t{% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  559. \t\t{% do pimcore_head_script().appendFile(asset('static/js/sidebar.js')) %}
  560. \t\t\t{% if not editmode %}
  561. \t\t{% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  562. \t\t{% endif %}
  563. \t\t\t{% if not document is defined or not document %}
  564. \t\t{% set document = pimcore_document(1) %}
  565. \t\t{% endif %}
  566. \t\t\t{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  567. \t\t\t{# @var document \\Pimcore\\Model\\Document\\Link #}
  568. \t\t{% set document = document.getObject() %}
  569. \t\t{% endif %}
  570. \t\t\t{% if document.getTitle() is not empty %}
  571. \t\t{% do pimcore_head_title().set(document.getTitle()) %}
  572. \t\t{% endif %}
  573. \t\t\t{% if document.getDescription() is not empty %}
  574. \t\t{% do pimcore_head_meta().setDescription(document.getDescription()) %}
  575. \t\t{% endif %}
  576. \t\t{% do pimcore_head_title().append('Carpeta Ciudadana') %}
  577. \t\t{% do pimcore_head_title().setSeparator(' : ') %}
  578. \t\t{% set isPortal = ((isPortal is defined) and isPortal) %}
  579. \t\t{% endapply %}
  580. \t\t{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  581. \t\t\t{% block layout_head_meta deferred %}
  582. \t\t\t{{ pimcore_head_title() }}
  583. \t\t\t{{ pimcore_head_meta() }}
  584. \t\t\t\t{% if pimcore_placeholder('canonical').count() %}
  585. \t\t\t<link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/> {% endif %}
  586. \t\t{% endblock %}
  587. \t\t{% block head_stylesheets deferred %}
  588. \t\t\t{{ pimcore_head_link() }}
  589. \t\t{% endblock %}
  590. \t</head>
  591. \t<body>
  592. \t\t<div
  593. \t\t\tclass=\"wrapper\">
  594. \t\t\t{# get root node if there is no document defined (for pages which are routed directly through static route) #}
  595. \t\t\t{% if not document is defined or not document %}
  596. \t\t\t\t{% set document = pimcore_document(1) %}
  597. \t\t\t{% endif %}
  598. \t\t\t{# get the document which should be used to start in navigation | default home #}
  599. \t\t\t{% set navStartNode = document.getProperty('navigation_root') %}
  600. \t\t\t{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  601. \t\t\t\t{% set navStartNode = pimcore_document(1) %}
  602. \t\t\t{% endif %}
  603. \t\t\t
  604. \t\t\t<div class=\"sidebar\">
  605. \t\t\t\t<div class=\"logo-details d-flex justify-content-center\">
  606. \t\t\t\t\t<img src=\"/static/images/M.png\" width=\"100px\" height=\"100px\" class='bx bxl-c-plus-plus icon'>
  607. \t\t\t\t\t<span class=\"tooltip\"></span>
  608. \t\t\t\t\t<!--<div class=\"logo_name\">
  609. \t\t\t\t\t\t\t\t\t\t\t\t\t\t                    &nbsp; P C C
  610. \t\t\t\t\t\t\t\t\t\t\t\t\t\t                </div>-->
  611. \t\t\t\t\t<i class='bx bx-menu' id=\"btn\"></i>
  612. \t\t\t\t</div>
  613. \t\t\t\t<hr style=\"height:2px;border-width:0;color:gray;background-color:white\">
  614. \t\t\t\t<ul class=\"nav-list\">
  615.                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  616.                         <li>
  617.                             <a href=\"/es/psp/admin/Catalogos\">
  618.                                 <i class='bx bx-grid-alt'></i>
  619.                                 <span class=\"links_name\">Administración de catálogos</span>
  620.                             </a>
  621.                             <span class=\"tooltip\">Administración de catálogos</span>
  622.                         </li>
  623.                         <li>
  624.                             <a href=\"#\">
  625.                                 <i class='bx bx-pie-chart-alt-2'></i>
  626.                                 <span class=\"links_name\">Tablero de Control</span>
  627.                             </a>
  628.                             <span class=\"tooltip\">Tablero de Control</span>
  629.                         </li>
  630.                         <li>
  631.                             <a href=\"#\">
  632.                                 <i class='bx bx-user'></i>
  633.                                 <span class=\"links_name\">Reportes</span>
  634.                             </a>
  635.                             <span class=\"tooltip\">Reportes</span>
  636.                         </li>
  637.                         <li>
  638.                             <a href=\"#\">
  639.                                 <i class='bx bx-folder'></i>
  640.                                 <span class=\"links_name\">Visor de Documentos</span>
  641.                             </a>
  642.                             <span class=\"tooltip\">Visor de Documentos</span>
  643.                         </li>
  644.                     {% endif %}
  645. \t\t\t\t</ul>
  646.                 <div class=\"profile\">
  647.                     <div class=\"profile-details\">
  648.                         <div class=\"name_job\">
  649.                             {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  650.                                 <div class=\"name\">{{ 'general.logged-in-as' | trans([app.user.firstname]) }}</div>
  651.                                 <a class=\"text-white\" style=\"background: none;font-size:x-small;\" href=\"{{ path('account-index') }}\" class=\"name\">{{ 'general.profile' | trans }}</a>
  652.                             {% endif %}
  653.                         </div>
  654.                     </div>
  655.                     
  656.                 </div>
  657. \t\t\t</div>
  658. \t\t\t<section class=\"home-section\">
  659. \t\t\t\t{# <header>
  660. \t\t\t\t\t<div class=\"bg-white m-3 p-1 border border-gray shadow\" style=\"border-radius: 8px;\">
  661. \t\t\t\t\t\t<div class=\"row\">
  662. \t\t\t\t\t\t\t<div
  663. \t\t\t\t\t\t\t\tclass=\"col d-none d-md-block justify-content-center\" style=\"align-items: center;\">
  664. \t\t\t\t\t\t\t\t<a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  665. \t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/edomex-logo1.png') }}\" alt=\"PCC\" width=\"170\" height=\"100\">
  666. \t\t\t\t\t\t\t\t</a>
  667. \t\t\t\t\t\t\t</div>
  668. \t\t\t\t\t\t\t<div class=\"col\">
  669. \t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
  670. \t\t\t\t\t\t\t\t\t<h2>PSP</h2>
  671. \t\t\t\t\t\t\t\t</div>
  672. \t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
  673. \t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/linea.png') }}\" alt=\"PCC\" width=\"240\" height=\"3\">
  674. \t\t\t\t\t\t\t\t</div>
  675. \t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
  676. \t\t\t\t\t\t\t\t\t<p>Portal del Servidor Público Carpeta Ciudadana</p>
  677. \t\t\t\t\t\t\t\t</div>
  678. \t\t\t\t\t\t\t</div>
  679. \t\t\t\t\t\t\t<div
  680. \t\t\t\t\t\t\t\tclass=\"col d-none d-md-block  justify-content-center\" style=\"align-items: center;\">
  681. \t\t\t\t\t\t\t\t<a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  682. \t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/edomex-logo2.png') }}\" alt=\"PCC\" width=\"100\" height=\"100\">
  683. \t\t\t\t\t\t\t\t</a>
  684. \t\t\t\t\t\t\t</div>
  685. \t\t\t\t\t\t</div>
  686. \t\t\t\t\t</div>
  687. \t\t\t\t</header> #}
  688. \t\t\t\t{{ pimcore_inc(document.getProperty('header')) }}
  689. \t\t\t\t<main role=\"main\">
  690. \t\t\t\t\t\t{{ block('content') }}
  691. \t\t\t\t\t
  692. \t\t\t\t\t<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\">
  693. \t\t\t\t\t\t<span class=\"fa fa-arrow-up\"></span>
  694. \t\t\t\t\t</a>
  695. \t\t\t\t</main>
  696. \t\t\t</section>
  697. \t\t</div>
  698. \t\t{# output scripts added before #}
  699. \t\t{% block headscripts deferred %}
  700. \t\t\t{{ pimcore_head_script() }}
  701. \t\t{% endblock %}
  702. \t\t{% block inlinescripts deferred %}
  703. \t\t\t{{ pimcore_inline_script() }}
  704. \t\t{% endblock %}
  705. \t\t
  706. \t\t{% for label, messages in app.flashes %}
  707. \t\t\t{% for message in messages %}
  708. \t\t\t\t{# <div class=\"alert alert-{{ label }} alert-dismissable\">
  709. \t\t\t\t\t\t\t\t\t\t\t\t                        <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  710. \t\t\t\t\t\t\t\t\t\t\t\t                        {{ message }}
  711. \t\t\t\t\t\t\t\t\t\t\t\t                    </div> #}
  712. \t\t\t\t<script>
  713. \t\t\t\t\tvar title = 'Éxito';
  714. var icono = 'success';
  715. if ('{{ label }}' === 'danger') {
  716. title = 'Error';
  717. icono = 'error';
  718. }
  719. if ('{{ label }}' === 'warning') {
  720. title = 'Advertencia';
  721. icono = 'warning';
  722. }
  723. Swal.fire(title, '{{ message }}', icono)
  724. \t\t\t\t</script>
  725. \t\t\t{% endfor %}
  726. \t\t{% endfor %}
  727. \t</body>
  728. </html>""layouts/layout-portal.html.twig""/var/www/html/templates/layouts/layout-portal.html.twig");
  729.     }
  730. }