var/cache/dev/twig/7d/7d7395406c298b06b001488535e4e83dc91005feb808163bb2c25c7c51b15aca.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. /* security/base.html.twig */
  14. class __TwigTemplate_6dc7a8478f81be560dd157c92e1e006015196c6a84b34635b83847f1fd966990 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.             'estilos' => [$this'block_estilos'],
  25.             'contenido' => [$this'block_contenido'],
  26.             'javascripts_base' => [$this'block_javascripts_base'],
  27.             'js_document_ready' => [$this'block_js_document_ready'],
  28.             'dialogos_modales' => [$this'block_dialogos_modales'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/base.html.twig"));
  38.         // line 1
  39.         echo "<html>
  40.     <head>
  41.         <meta charset=\"UTF-8\">
  42.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  43.         <title>Consejo de la Magistratura de Buenos Aires</title>
  44.         <link rel=\"icon\" href=\"https://www.cmagistratura.gba.gov.ar/core/misc/favicon.ico\">
  45.         
  46.         <link rel=\"stylesheet\" href=\"";
  47.         // line 10
  48.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/materialize.css""portal"), "html"nulltrue);
  49.         echo "\" />
  50.         <link rel=\"stylesheet\" href=\"";
  51.         // line 11
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/custom.css""portal"), "html"nulltrue);
  53.         echo "\" /> 
  54.         <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
  55.     
  56.         <style>
  57.             ";
  58.         // line 15
  59.         $this->displayBlock('estilos'$context$blocks);
  60.         // line 53
  61.         echo "        </style>
  62.     </head>
  63.     <body>
  64.         <div class=\"section\">
  65.             ";
  66.         // line 58
  67.         $this->displayBlock('contenido'$context$blocks);
  68.         // line 59
  69.         echo "        </div>
  70.         <!--fin -->
  71.         <script type=\"text/javascript\" src=\"";
  72.         // line 62
  73.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-3.5.1.js""portal"), "html"nulltrue);
  74.         echo "\"></script>
  75.         <script type=\"text/javascript\" src=\"";
  76.         // line 63
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/materialize.js""portal"), "html"nulltrue);
  78.         echo "\"></script>
  79.         <script type=\"text/javascript\">
  80.             ";
  81.         // line 66
  82.         $this->displayBlock('javascripts_base'$context$blocks);
  83.         // line 67
  84.         echo "            /**
  85.             * Fix the displayed date format when opening the calendar for the 
  86.             * first time since there's no setting to do it otherwise.
  87.             */
  88.             function initDateFormat( datePicker ) {
  89.                 console.debug(datePicker);
  90.                 var selectedDate = ( typeof datePicker.date === 'undefined' || datePicker.date === null ) ? datePicker.options.defaultDate : datePicker.date;
  91.                 var shortWeekdays = datePicker.options.i18n.weekdaysShort; 
  92.                 var shortMonths = datePicker.options.i18n.monthsShort; 
  93.                 var day     = selectedDate.getDate();
  94.                 var weekday = shortWeekdays[ selectedDate.getDay() ];
  95.                 var month   = shortMonths[ selectedDate.getMonth() ];
  96.                 var formattedDate = weekday + ', ' + day + ' ' + month;
  97.                 document.querySelector(\".datepicker-date-display .date-text\").innerHTML = formattedDate;
  98.                 document.querySelector(\".datepicker-date-display .year-text\").innerHTML = selectedDate.getFullYear();
  99.             }
  100.             function inicializarDatePicker(
  101.                 p_defaultDate,
  102.                 p_yearRange,
  103.                 p_maxDate,
  104.                 p_setDefaultDate
  105.             )
  106.             {
  107.                 \$('.datepicker').datepicker({
  108.                     autoClose: true,
  109.                     showClearBtn: true,
  110.                     format: 'dd/mm/yyyy',
  111.                     container: 'body',
  112.                     defaultDate: p_defaultDate,
  113.                     yearRange: p_yearRange,
  114.                     maxDate: p_maxDate,
  115.                     setDefaultDate: p_setDefaultDate,
  116.                     onDraw: function (datePicker) { 
  117.                         // materialize select dropdown not proper working on mobile and tablets so we make it browser default select
  118.                         \$('.datepicker-container').find('.datepicker-select').addClass('browser-default');
  119.                         \$(\".datepicker-container .select-dropdown.dropdown-trigger\").remove();
  120.                     },
  121.                     onOpen: function (p) {
  122.                         var instance = M.Datepicker.getInstance(this.el);
  123.                         var d = instance.el.value.split(/[^0-9]/);
  124.                         var newDate = new Date(d[2], d[1] - 1, d[0]);
  125.                         instance.setDate(newDate);
  126.                         initDateFormat(instance);
  127.                     },
  128.                     i18n: {
  129.                         cancel:\t'Cancelar',
  130.                         clear: 'Limpiar',
  131.                         done: 'Aceptar',
  132.                         weekdays: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
  133.                         weekdaysShort: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
  134.                         weekdaysAbbrev: [\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"],
  135.                         today: 'Hoy',
  136.                         months: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
  137.                         monthsShort: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
  138.                     }
  139.                 });
  140.             }
  141.             \$(document).ready(function(){
  142.                 \$('.modal').modal();
  143.                 ";
  144.         // line 131
  145.         echo "                ";
  146.         if (twig_get_attribute($this->env$this->sourcetwig_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.'131$this->source); })()), "session", [], "any"falsefalsefalse131), "flashBag", [], "any"falsefalsefalse131), "has", [=> "notice"], "method"falsefalsefalse131)) {
  147.             // line 132
  148.             echo "                    \$('#modalAvisos').modal('open');
  149.                 ";
  150.         }
  151.         // line 134
  152.         echo "                ";
  153.         if (twig_get_attribute($this->env$this->sourcetwig_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.'134$this->source); })()), "session", [], "any"falsefalsefalse134), "flashBag", [], "any"falsefalsefalse134), "has", [=> "error"], "method"falsefalsefalse134)) {
  154.             // line 135
  155.             echo "                    \$('#modalErrores').modal('open');
  156.                 ";
  157.         }
  158.         // line 137
  159.         echo "
  160.                 ";
  161.         // line 138
  162.         $this->displayBlock('js_document_ready'$context$blocks);
  163.         // line 139
  164.         echo "            });
  165.         </script>
  166.         ";
  167.         // line 144
  168.         echo "        ";
  169.         if (twig_get_attribute($this->env$this->sourcetwig_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.'144$this->source); })()), "session", [], "any"falsefalsefalse144), "flashBag", [], "any"falsefalsefalse144), "has", [=> "notice"], "method"falsefalsefalse144)) {
  170.             // line 145
  171.             echo "            <div id=\"modalAvisos\" class=\"modal\">
  172.                 <div class=\"modal-content\">
  173.                     ";
  174.             // line 147
  175.             $context['_parent'] = $context;
  176.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'147$this->source); })()), "session", [], "any"falsefalsefalse147), "flashbag", [], "any"falsefalsefalse147), "get", [=> "notice"], "method"falsefalsefalse147));
  177.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  178.                 // line 148
  179.                 echo "                        ";
  180.                 echo $context["message"];
  181.                 echo "
  182.                     ";
  183.             }
  184.             $_parent $context['_parent'];
  185.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  186.             $context array_intersect_key($context$_parent) + $_parent;
  187.             // line 150
  188.             echo "                <div>
  189.                 <div class=\"modal-footer\">
  190.                     <a href=\"";
  191.             // line 152
  192.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  193.             echo "\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
  194.                 <div>
  195.             </div>
  196.         ";
  197.         }
  198.         // line 156
  199.         echo "        ";
  200.         if (twig_get_attribute($this->env$this->sourcetwig_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.'156$this->source); })()), "session", [], "any"falsefalsefalse156), "flashBag", [], "any"falsefalsefalse156), "has", [=> "error"], "method"falsefalsefalse156)) {
  201.             // line 157
  202.             echo "            <div id=\"modalErrores\" class=\"modal red lighten-2\">
  203.                 <div class=\"modal-content\">
  204.                     ";
  205.             // line 159
  206.             $context['_parent'] = $context;
  207.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'159$this->source); })()), "session", [], "any"falsefalsefalse159), "flashbag", [], "any"falsefalsefalse159), "get", [=> "error"], "method"falsefalsefalse159));
  208.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  209.                 // line 160
  210.                 echo "                        ";
  211.                 echo $context["message"];
  212.                 echo "
  213.                     ";
  214.             }
  215.             $_parent $context['_parent'];
  216.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  217.             $context array_intersect_key($context$_parent) + $_parent;
  218.             // line 162
  219.             echo "                <div>
  220.                 <div class=\"modal-footer red lighten-2\">
  221.                     <a href=\"#!\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
  222.                 <div>
  223.             </div>
  224.         ";
  225.         }
  226.         // line 168
  227.         echo "
  228.         ";
  229.         // line 169
  230.         $this->displayBlock('dialogos_modales'$context$blocks);
  231.         // line 170
  232.         echo "    </body>
  233. </html>
  234. ";
  235.         
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.     }
  240.     // line 15
  241.     public function block_estilos($context, array $blocks = [])
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""estilos"));
  246.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""estilos"));
  248.         // line 16
  249.         echo "                html,
  250.                 body {
  251.                     height: 100%;
  252.                 }
  253.                 html {
  254.                     display: table;
  255.                     margin: auto;
  256.                 }
  257.                 body {
  258.                     display: table-cell;
  259.                     vertical-align: middle;
  260.                 }
  261.                 body {
  262.                     background: var(--cdlmag-primario-1); //color azul primario;
  263.                 }
  264.                 .caja {width: 400px;}  
  265.                 .card .card-title {
  266.                     font-size: 18px;
  267.                 }
  268.                 .input-field {
  269.                     position: relative;
  270.                     margin-top: 0.5rem; 
  271.                     margin-bottom: 0.5rem; 
  272.                 }
  273.                 .card-error{
  274.                     padding: 17px;
  275.                     margin: 0.5rem 0 1rem 0;
  276.                     border-radius: 2px;
  277.                 }
  278.                 @media (max-width: 600px) {
  279.                     .caja {
  280.                         width:auto;
  281.                     }
  282.                 }
  283.             ";
  284.         
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  286.         
  287.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  288.     }
  289.     // line 58
  290.     public function block_contenido($context, array $blocks = [])
  291.     {
  292.         $macros $this->macros;
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  294.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contenido"));
  295.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  296.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contenido"));
  297.         
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  299.         
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  301.     }
  302.     // line 66
  303.     public function block_javascripts_base($context, array $blocks = [])
  304.     {
  305.         $macros $this->macros;
  306.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  307.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_base"));
  308.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_base"));
  310.         
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.     }
  315.     // line 138
  316.     public function block_js_document_ready($context, array $blocks = [])
  317.     {
  318.         $macros $this->macros;
  319.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js_document_ready"));
  321.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  322.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""js_document_ready"));
  323.         
  324.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  325.         
  326.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  327.     }
  328.     // line 169
  329.     public function block_dialogos_modales($context, array $blocks = [])
  330.     {
  331.         $macros $this->macros;
  332.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  333.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dialogos_modales"));
  334.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""dialogos_modales"));
  336.         
  337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  338.         
  339.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  340.     }
  341.     public function getTemplateName()
  342.     {
  343.         return "security/base.html.twig";
  344.     }
  345.     public function isTraitable()
  346.     {
  347.         return false;
  348.     }
  349.     public function getDebugInfo()
  350.     {
  351.         return array (  374 => 169,  356 => 138,  338 => 66,  320 => 58,  274 => 16,  264 => 15,  252 => 170,  250 => 169,  247 => 168,  239 => 162,  230 => 160,  226 => 159,  222 => 157,  219 => 156,  212 => 152,  208 => 150,  199 => 148,  195 => 147,  191 => 145,  188 => 144,  182 => 139,  180 => 138,  177 => 137,  173 => 135,  170 => 134,  166 => 132,  163 => 131,  98 => 67,  96 => 66,  90 => 63,  86 => 62,  81 => 59,  79 => 58,  72 => 53,  70 => 15,  63 => 11,  59 => 10,  48 => 1,);
  352.     }
  353.     public function getSourceContext()
  354.     {
  355.         return new Source("<html>
  356.     <head>
  357.         <meta charset=\"UTF-8\">
  358.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  359.         <title>Consejo de la Magistratura de Buenos Aires</title>
  360.         <link rel=\"icon\" href=\"https://www.cmagistratura.gba.gov.ar/core/misc/favicon.ico\">
  361.         
  362.         <link rel=\"stylesheet\" href=\"{{ asset('css/materialize.css', 'portal') }}\" />
  363.         <link rel=\"stylesheet\" href=\"{{ asset('css/custom.css', 'portal') }}\" /> 
  364.         <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
  365.     
  366.         <style>
  367.             {% block estilos %}
  368.                 html,
  369.                 body {
  370.                     height: 100%;
  371.                 }
  372.                 html {
  373.                     display: table;
  374.                     margin: auto;
  375.                 }
  376.                 body {
  377.                     display: table-cell;
  378.                     vertical-align: middle;
  379.                 }
  380.                 body {
  381.                     background: var(--cdlmag-primario-1); //color azul primario;
  382.                 }
  383.                 .caja {width: 400px;}  
  384.                 .card .card-title {
  385.                     font-size: 18px;
  386.                 }
  387.                 .input-field {
  388.                     position: relative;
  389.                     margin-top: 0.5rem; 
  390.                     margin-bottom: 0.5rem; 
  391.                 }
  392.                 .card-error{
  393.                     padding: 17px;
  394.                     margin: 0.5rem 0 1rem 0;
  395.                     border-radius: 2px;
  396.                 }
  397.                 @media (max-width: 600px) {
  398.                     .caja {
  399.                         width:auto;
  400.                     }
  401.                 }
  402.             {% endblock %}
  403.         </style>
  404.     </head>
  405.     <body>
  406.         <div class=\"section\">
  407.             {% block contenido %}{% endblock %}
  408.         </div>
  409.         <!--fin -->
  410.         <script type=\"text/javascript\" src=\"{{ asset('js/jquery/jquery-3.5.1.js', 'portal') }}\"></script>
  411.         <script type=\"text/javascript\" src=\"{{ asset('js/materialize.js', 'portal') }}\"></script>
  412.         <script type=\"text/javascript\">
  413.             {% block javascripts_base %}{% endblock %}
  414.             /**
  415.             * Fix the displayed date format when opening the calendar for the 
  416.             * first time since there's no setting to do it otherwise.
  417.             */
  418.             function initDateFormat( datePicker ) {
  419.                 console.debug(datePicker);
  420.                 var selectedDate = ( typeof datePicker.date === 'undefined' || datePicker.date === null ) ? datePicker.options.defaultDate : datePicker.date;
  421.                 var shortWeekdays = datePicker.options.i18n.weekdaysShort; 
  422.                 var shortMonths = datePicker.options.i18n.monthsShort; 
  423.                 var day     = selectedDate.getDate();
  424.                 var weekday = shortWeekdays[ selectedDate.getDay() ];
  425.                 var month   = shortMonths[ selectedDate.getMonth() ];
  426.                 var formattedDate = weekday + ', ' + day + ' ' + month;
  427.                 document.querySelector(\".datepicker-date-display .date-text\").innerHTML = formattedDate;
  428.                 document.querySelector(\".datepicker-date-display .year-text\").innerHTML = selectedDate.getFullYear();
  429.             }
  430.             function inicializarDatePicker(
  431.                 p_defaultDate,
  432.                 p_yearRange,
  433.                 p_maxDate,
  434.                 p_setDefaultDate
  435.             )
  436.             {
  437.                 \$('.datepicker').datepicker({
  438.                     autoClose: true,
  439.                     showClearBtn: true,
  440.                     format: 'dd/mm/yyyy',
  441.                     container: 'body',
  442.                     defaultDate: p_defaultDate,
  443.                     yearRange: p_yearRange,
  444.                     maxDate: p_maxDate,
  445.                     setDefaultDate: p_setDefaultDate,
  446.                     onDraw: function (datePicker) { 
  447.                         // materialize select dropdown not proper working on mobile and tablets so we make it browser default select
  448.                         \$('.datepicker-container').find('.datepicker-select').addClass('browser-default');
  449.                         \$(\".datepicker-container .select-dropdown.dropdown-trigger\").remove();
  450.                     },
  451.                     onOpen: function (p) {
  452.                         var instance = M.Datepicker.getInstance(this.el);
  453.                         var d = instance.el.value.split(/[^0-9]/);
  454.                         var newDate = new Date(d[2], d[1] - 1, d[0]);
  455.                         instance.setDate(newDate);
  456.                         initDateFormat(instance);
  457.                     },
  458.                     i18n: {
  459.                         cancel:\t'Cancelar',
  460.                         clear: 'Limpiar',
  461.                         done: 'Aceptar',
  462.                         weekdays: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
  463.                         weekdaysShort: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
  464.                         weekdaysAbbrev: [\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"],
  465.                         today: 'Hoy',
  466.                         months: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
  467.                         monthsShort: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
  468.                     }
  469.                 });
  470.             }
  471.             \$(document).ready(function(){
  472.                 \$('.modal').modal();
  473.                 {# Abrir modal de avisos en caso necesario #}
  474.                 {% if app.session.flashBag.has('notice') %}
  475.                     \$('#modalAvisos').modal('open');
  476.                 {% endif %}
  477.                 {% if app.session.flashBag.has('error') %}
  478.                     \$('#modalErrores').modal('open');
  479.                 {% endif %}
  480.                 {% block js_document_ready %}{% endblock %}
  481.             });
  482.         </script>
  483.         {# Modals de avisos #}
  484.         {% if app.session.flashBag.has('notice') %}
  485.             <div id=\"modalAvisos\" class=\"modal\">
  486.                 <div class=\"modal-content\">
  487.                     {% for message in app.session.flashbag.get('notice') %}
  488.                         {{ message |raw }}
  489.                     {% endfor %}
  490.                 <div>
  491.                 <div class=\"modal-footer\">
  492.                     <a href=\"{{ path('app_login') }}\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
  493.                 <div>
  494.             </div>
  495.         {% endif %}
  496.         {% if app.session.flashBag.has('error') %}
  497.             <div id=\"modalErrores\" class=\"modal red lighten-2\">
  498.                 <div class=\"modal-content\">
  499.                     {% for message in app.session.flashbag.get('error') %}
  500.                         {{ message |raw }}
  501.                     {% endfor %}
  502.                 <div>
  503.                 <div class=\"modal-footer red lighten-2\">
  504.                     <a href=\"#!\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
  505.                 <div>
  506.             </div>
  507.         {% endif %}
  508.         {% block dialogos_modales %}{% endblock %}
  509.     </body>
  510. </html>
  511. ""security/base.html.twig""/var/www/desarrollo.cmagistraturabsas.gob.ar/sso_consejo/templates/security/base.html.twig");
  512.     }
  513. }