<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* security/base.html.twig */
class __TwigTemplate_6dc7a8478f81be560dd157c92e1e006015196c6a84b34635b83847f1fd966990 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'estilos' => [$this, 'block_estilos'],
'contenido' => [$this, 'block_contenido'],
'javascripts_base' => [$this, 'block_javascripts_base'],
'js_document_ready' => [$this, 'block_js_document_ready'],
'dialogos_modales' => [$this, 'block_dialogos_modales'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/base.html.twig"));
// line 1
echo "<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>Consejo de la Magistratura de Buenos Aires</title>
<link rel=\"icon\" href=\"https://www.cmagistratura.gba.gov.ar/core/misc/favicon.ico\">
<link rel=\"stylesheet\" href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/materialize.css", "portal"), "html", null, true);
echo "\" />
<link rel=\"stylesheet\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/custom.css", "portal"), "html", null, true);
echo "\" />
<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
<style>
";
// line 15
$this->displayBlock('estilos', $context, $blocks);
// line 53
echo " </style>
</head>
<body>
<div class=\"section\">
";
// line 58
$this->displayBlock('contenido', $context, $blocks);
// line 59
echo " </div>
<!--fin -->
<script type=\"text/javascript\" src=\"";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-3.5.1.js", "portal"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 63
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/materialize.js", "portal"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\">
";
// line 66
$this->displayBlock('javascripts_base', $context, $blocks);
// line 67
echo " /**
* Fix the displayed date format when opening the calendar for the
* first time since there's no setting to do it otherwise.
*/
function initDateFormat( datePicker ) {
console.debug(datePicker);
var selectedDate = ( typeof datePicker.date === 'undefined' || datePicker.date === null ) ? datePicker.options.defaultDate : datePicker.date;
var shortWeekdays = datePicker.options.i18n.weekdaysShort;
var shortMonths = datePicker.options.i18n.monthsShort;
var day = selectedDate.getDate();
var weekday = shortWeekdays[ selectedDate.getDay() ];
var month = shortMonths[ selectedDate.getMonth() ];
var formattedDate = weekday + ', ' + day + ' ' + month;
document.querySelector(\".datepicker-date-display .date-text\").innerHTML = formattedDate;
document.querySelector(\".datepicker-date-display .year-text\").innerHTML = selectedDate.getFullYear();
}
function inicializarDatePicker(
p_defaultDate,
p_yearRange,
p_maxDate,
p_setDefaultDate
)
{
\$('.datepicker').datepicker({
autoClose: true,
showClearBtn: true,
format: 'dd/mm/yyyy',
container: 'body',
defaultDate: p_defaultDate,
yearRange: p_yearRange,
maxDate: p_maxDate,
setDefaultDate: p_setDefaultDate,
onDraw: function (datePicker) {
// materialize select dropdown not proper working on mobile and tablets so we make it browser default select
\$('.datepicker-container').find('.datepicker-select').addClass('browser-default');
\$(\".datepicker-container .select-dropdown.dropdown-trigger\").remove();
},
onOpen: function (p) {
var instance = M.Datepicker.getInstance(this.el);
var d = instance.el.value.split(/[^0-9]/);
var newDate = new Date(d[2], d[1] - 1, d[0]);
instance.setDate(newDate);
initDateFormat(instance);
},
i18n: {
cancel:\t'Cancelar',
clear: 'Limpiar',
done: 'Aceptar',
weekdays: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
weekdaysShort: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
weekdaysAbbrev: [\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"],
today: 'Hoy',
months: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
monthsShort: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
}
});
}
\$(document).ready(function(){
\$('.modal').modal();
";
// line 131
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 131, $this->source); })()), "session", [], "any", false, false, false, 131), "flashBag", [], "any", false, false, false, 131), "has", [0 => "notice"], "method", false, false, false, 131)) {
// line 132
echo " \$('#modalAvisos').modal('open');
";
}
// line 134
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 134, $this->source); })()), "session", [], "any", false, false, false, 134), "flashBag", [], "any", false, false, false, 134), "has", [0 => "error"], "method", false, false, false, 134)) {
// line 135
echo " \$('#modalErrores').modal('open');
";
}
// line 137
echo "
";
// line 138
$this->displayBlock('js_document_ready', $context, $blocks);
// line 139
echo " });
</script>
";
// line 144
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 144, $this->source); })()), "session", [], "any", false, false, false, 144), "flashBag", [], "any", false, false, false, 144), "has", [0 => "notice"], "method", false, false, false, 144)) {
// line 145
echo " <div id=\"modalAvisos\" class=\"modal\">
<div class=\"modal-content\">
";
// line 147
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 147, $this->source); })()), "session", [], "any", false, false, false, 147), "flashbag", [], "any", false, false, false, 147), "get", [0 => "notice"], "method", false, false, false, 147));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 148
echo " ";
echo $context["message"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
echo " <div>
<div class=\"modal-footer\">
<a href=\"";
// line 152
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
<div>
</div>
";
}
// line 156
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 156, $this->source); })()), "session", [], "any", false, false, false, 156), "flashBag", [], "any", false, false, false, 156), "has", [0 => "error"], "method", false, false, false, 156)) {
// line 157
echo " <div id=\"modalErrores\" class=\"modal red lighten-2\">
<div class=\"modal-content\">
";
// line 159
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 159, $this->source); })()), "session", [], "any", false, false, false, 159), "flashbag", [], "any", false, false, false, 159), "get", [0 => "error"], "method", false, false, false, 159));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 160
echo " ";
echo $context["message"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo " <div>
<div class=\"modal-footer red lighten-2\">
<a href=\"#!\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
<div>
</div>
";
}
// line 168
echo "
";
// line 169
$this->displayBlock('dialogos_modales', $context, $blocks);
// line 170
echo " </body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_estilos($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "estilos"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "estilos"));
// line 16
echo " html,
body {
height: 100%;
}
html {
display: table;
margin: auto;
}
body {
display: table-cell;
vertical-align: middle;
}
body {
background: var(--cdlmag-primario-1); //color azul primario;
}
.caja {width: 400px;}
.card .card-title {
font-size: 18px;
}
.input-field {
position: relative;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.card-error{
padding: 17px;
margin: 0.5rem 0 1rem 0;
border-radius: 2px;
}
@media (max-width: 600px) {
.caja {
width:auto;
}
}
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 58
public function block_contenido($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contenido"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contenido"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 66
public function block_javascripts_base($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_base"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_base"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 138
public function block_js_document_ready($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js_document_ready"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js_document_ready"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 169
public function block_dialogos_modales($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "dialogos_modales"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "dialogos_modales"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "security/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>Consejo de la Magistratura de Buenos Aires</title>
<link rel=\"icon\" href=\"https://www.cmagistratura.gba.gov.ar/core/misc/favicon.ico\">
<link rel=\"stylesheet\" href=\"{{ asset('css/materialize.css', 'portal') }}\" />
<link rel=\"stylesheet\" href=\"{{ asset('css/custom.css', 'portal') }}\" />
<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
<style>
{% block estilos %}
html,
body {
height: 100%;
}
html {
display: table;
margin: auto;
}
body {
display: table-cell;
vertical-align: middle;
}
body {
background: var(--cdlmag-primario-1); //color azul primario;
}
.caja {width: 400px;}
.card .card-title {
font-size: 18px;
}
.input-field {
position: relative;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.card-error{
padding: 17px;
margin: 0.5rem 0 1rem 0;
border-radius: 2px;
}
@media (max-width: 600px) {
.caja {
width:auto;
}
}
{% endblock %}
</style>
</head>
<body>
<div class=\"section\">
{% block contenido %}{% endblock %}
</div>
<!--fin -->
<script type=\"text/javascript\" src=\"{{ asset('js/jquery/jquery-3.5.1.js', 'portal') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('js/materialize.js', 'portal') }}\"></script>
<script type=\"text/javascript\">
{% block javascripts_base %}{% endblock %}
/**
* Fix the displayed date format when opening the calendar for the
* first time since there's no setting to do it otherwise.
*/
function initDateFormat( datePicker ) {
console.debug(datePicker);
var selectedDate = ( typeof datePicker.date === 'undefined' || datePicker.date === null ) ? datePicker.options.defaultDate : datePicker.date;
var shortWeekdays = datePicker.options.i18n.weekdaysShort;
var shortMonths = datePicker.options.i18n.monthsShort;
var day = selectedDate.getDate();
var weekday = shortWeekdays[ selectedDate.getDay() ];
var month = shortMonths[ selectedDate.getMonth() ];
var formattedDate = weekday + ', ' + day + ' ' + month;
document.querySelector(\".datepicker-date-display .date-text\").innerHTML = formattedDate;
document.querySelector(\".datepicker-date-display .year-text\").innerHTML = selectedDate.getFullYear();
}
function inicializarDatePicker(
p_defaultDate,
p_yearRange,
p_maxDate,
p_setDefaultDate
)
{
\$('.datepicker').datepicker({
autoClose: true,
showClearBtn: true,
format: 'dd/mm/yyyy',
container: 'body',
defaultDate: p_defaultDate,
yearRange: p_yearRange,
maxDate: p_maxDate,
setDefaultDate: p_setDefaultDate,
onDraw: function (datePicker) {
// materialize select dropdown not proper working on mobile and tablets so we make it browser default select
\$('.datepicker-container').find('.datepicker-select').addClass('browser-default');
\$(\".datepicker-container .select-dropdown.dropdown-trigger\").remove();
},
onOpen: function (p) {
var instance = M.Datepicker.getInstance(this.el);
var d = instance.el.value.split(/[^0-9]/);
var newDate = new Date(d[2], d[1] - 1, d[0]);
instance.setDate(newDate);
initDateFormat(instance);
},
i18n: {
cancel:\t'Cancelar',
clear: 'Limpiar',
done: 'Aceptar',
weekdays: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
weekdaysShort: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],
weekdaysAbbrev: [\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"],
today: 'Hoy',
months: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
monthsShort: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
}
});
}
\$(document).ready(function(){
\$('.modal').modal();
{# Abrir modal de avisos en caso necesario #}
{% if app.session.flashBag.has('notice') %}
\$('#modalAvisos').modal('open');
{% endif %}
{% if app.session.flashBag.has('error') %}
\$('#modalErrores').modal('open');
{% endif %}
{% block js_document_ready %}{% endblock %}
});
</script>
{# Modals de avisos #}
{% if app.session.flashBag.has('notice') %}
<div id=\"modalAvisos\" class=\"modal\">
<div class=\"modal-content\">
{% for message in app.session.flashbag.get('notice') %}
{{ message |raw }}
{% endfor %}
<div>
<div class=\"modal-footer\">
<a href=\"{{ path('app_login') }}\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
<div>
</div>
{% endif %}
{% if app.session.flashBag.has('error') %}
<div id=\"modalErrores\" class=\"modal red lighten-2\">
<div class=\"modal-content\">
{% for message in app.session.flashbag.get('error') %}
{{ message |raw }}
{% endfor %}
<div>
<div class=\"modal-footer red lighten-2\">
<a href=\"#!\" class=\"modal-close waves-effect waves-green btn-flat\">Aceptar</a>
<div>
</div>
{% endif %}
{% block dialogos_modales %}{% endblock %}
</body>
</html>
", "security/base.html.twig", "/var/www/desarrollo.cmagistraturabsas.gob.ar/sso_consejo/templates/security/base.html.twig");
}
}