var/cache/dev/twig/51/5129c3c2de0f590064e75955173abb52.php line 40

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\ingresar.html.twig */
  14. class __TwigTemplate_7bfbf8570e40a99f8147d8e25342941e 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->blocks = [
  23.             'javascripts' => [$this'block_javascripts'],
  24.             'notice' => [$this'block_notice'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layout_inicio.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security\\ingresar.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security\\ingresar.html.twig"));
  40.         $this->parent $this->loadTemplate("layout_inicio.html.twig""Security\\ingresar.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_javascripts($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("javascripts"$context$blocks);
  58.         echo "
  59.     <!--script src=\"";
  60.         // line 5
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery/jquery-1.8.0.js"), "html"nulltrue);
  62.         echo "\" type=\"text/javascript\"></script-->
  63.     <script type=\"text/javascript\">
  64.         \$(document).ready(function() {
  65.             \$(\"#captcha_refresh\").click(function (){
  66.                 \$(\"#captcha_img\").html('<i class=\"ace-icon fa fa-spinner orange fa-spin bigger-220\"></i>');
  67.                 \$(\"#captcha_img\").html('<img width=\"90%\" src=\"";
  68.         // line 10
  69.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("captcha");
  70.         echo "?rdn='+Math.random()+'\" />');
  71.             });\t 
  72.         });  
  73.         
  74.        /*var videoFile = 'http://www.bschool.ec/web/images/Tunnel_Animation.mp4';
  75.        \$('#divVideo video source').attr({'src': videoFile, 'autoplay': autoplay,});
  76.        \$(\"#divVideo video\")[0].load();*/
  77.         function myFunction() {
  78.             var x = document.getElementById(\"password\");
  79.             if (x.type === \"password\") {
  80.               x.type = \"text\";
  81.               document.getElementById('btnEye').className = 'ace-icon fa fa-eye';
  82.               
  83.             } else {
  84.               x.type = \"password\";
  85.               document.getElementById('btnEye').className = 'ace-icon fa fa-eye-slash';
  86.             }
  87.             
  88.             
  89.         }
  90.     </script>
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     // line 34
  98.     public function block_notice($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""notice"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""notice"));
  105.         // line 35
  106.         echo "    <div class=\"ingresar_notice\">
  107.         ";
  108.         // line 36
  109.         $context['_parent'] = $context;
  110.         $context['_seq'] = twig_ensure_traversable([=> "notice"=> "success"=> "danger"=> "info"=> "warning"]);
  111.         foreach ($context['_seq'] as $context["_key"] => $context["notice_level"]) {
  112.             // line 37
  113.             echo "            ";
  114.             $context["session_var"] = $context["notice_level"];
  115.             // line 38
  116.             echo "            ";
  117.             $context['_parent'] = $context;
  118.             $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.'38$this->source); })()), "session", [], "any"falsefalsefalse38), "flashbag", [], "any"falsefalsefalse38), "get", [=> (isset($context["session_var"]) || array_key_exists("session_var"$context) ? $context["session_var"] : (function () { throw new RuntimeError('Variable "session_var" does not exist.'38$this->source); })())], "method"falsefalsefalse38));
  119.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  120.                 // line 39
  121.                 echo "                <div class=\"alert alert-";
  122.                 echo twig_escape_filter($this->env, (isset($context["session_var"]) || array_key_exists("session_var"$context) ? $context["session_var"] : (function () { throw new RuntimeError('Variable "session_var" does not exist.'39$this->source); })()), "html"nulltrue);
  123.                 echo "\">
  124.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  125.                         <i class=\"ace-icon fa fa-times\"></i>
  126.                     </button>
  127.                     <strong>
  128.                         <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  129.                         ";
  130.                 // line 46
  131.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["flashMessage"], [], "message");
  132.                 echo "
  133.                     </strong>
  134.                     <br>
  135.                 </div>
  136.             ";
  137.             }
  138.             $_parent $context['_parent'];
  139.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  140.             $context array_intersect_key($context$_parent) + $_parent;
  141.             // line 52
  142.             echo "        ";
  143.         }
  144.         $_parent $context['_parent'];
  145.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notice_level'], $context['_parent'], $context['loop']);
  146.         $context array_intersect_key($context$_parent) + $_parent;
  147.         // line 53
  148.         echo "
  149.         ";
  150.         // line 54
  151.         if (((isset($context["error_msj"]) || array_key_exists("error_msj"$context) ? $context["error_msj"] : (function () { throw new RuntimeError('Variable "error_msj" does not exist.'54$this->source); })()) != "")) {
  152.             // line 55
  153.             echo "                <div class=\"alert alert-danger alert-inicio\">
  154.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  155.                         <i class=\"ace-icon fa fa-times\"></i>
  156.                     </button>
  157.                     <strong>
  158.                         <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  159.                         ";
  160.             // line 62
  161.             echo (isset($context["error_msj"]) || array_key_exists("error_msj"$context) ? $context["error_msj"] : (function () { throw new RuntimeError('Variable "error_msj" does not exist.'62$this->source); })());
  162.             echo "
  163.                     </strong>
  164.                     <br>
  165.                 </div>
  166.                     <script type=\"text/javascript\">
  167.                         var error='";
  168.             // line 68
  169.             echo (isset($context["error_msj"]) || array_key_exists("error_msj"$context) ? $context["error_msj"] : (function () { throw new RuntimeError('Variable "error_msj" does not exist.'68$this->source); })());
  170.             echo "';                    
  171.                         /*errorAlert(error);*/
  172.                         jAlert('<h1 class=\"red\"><i class=\"fa fa-exclamation-triangle red\"></i> ERROR </h1>'+'<div class=\"panel bigger-110\">'+error+'</div>','Error');
  173.                     </script>
  174.         ";
  175.         }
  176.         // line 73
  177.         echo 
  178.         ";
  179.         // line 74
  180.         if ((array_key_exists("msj"$context) && ((isset($context["msj"]) || array_key_exists("msj"$context) ? $context["msj"] : (function () { throw new RuntimeError('Variable "msj" does not exist.'74$this->source); })()) != ""))) {
  181.             // line 75
  182.             echo "            <div class=\"alert alert-danger alert-inicio\">
  183.                 <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  184.                     <i class=\"ace-icon fa fa-times\"></i>
  185.                 </button>
  186.                 <strong>
  187.                     <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  188.                     ";
  189.             // line 82
  190.             echo (isset($context["msj"]) || array_key_exists("msj"$context) ? $context["msj"] : (function () { throw new RuntimeError('Variable "msj" does not exist.'82$this->source); })());
  191.             echo "
  192.                 </strong>
  193.                 <br>
  194.             </div>
  195.         ";
  196.         }
  197.         // line 87
  198.         echo "  
  199.     </div>
  200. ";
  201.         
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.     }
  206.     // line 92
  207.     public function block_content($context, array $blocks = [])
  208.     {
  209.         $macros $this->macros;
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  211.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  214.         // line 93
  215.         echo "    ";
  216.         if ( !array_key_exists("last_username"$context)) {
  217.             // line 94
  218.             echo "        ";
  219.             $context["last_username"] = "";
  220.             // line 95
  221.             echo "    ";
  222.         }
  223.         // line 96
  224.         echo "    <div class=\"widget-box transparent\">      
  225.         <div class=\"widget-body\" style=\"display: block;\">
  226.             <div class=\"widget-main no-padding content_ini\" id=\"divVideo\">
  227.                     <!--video autoplay loop style=\"width: 100%\">
  228.                       <source src=\"http://www.bschool.ec/web/images/Tunnel_Animation.mp4\" type=\"video/mp4\" />
  229.                     </video-->
  230.                 <div class=\"content_ini_image\" >     
  231.                     <div style=\"position: relative; top: 7%; left: 0px; bottom: 0px; right: 0px;\">
  232.                         <form class=\"form\" id=\"ingresar\" action=\"";
  233.         // line 105
  234.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login_check");
  235.         echo "\" method=\"POST\">
  236. <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  237.         // line 106
  238.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  239.         echo "\">
  240.                             <div class=\"row vertical-center\"> 
  241.                                 <div class=\"space-24 hidden-xs\"></div>
  242.                                 <div class=\"col-sm-2 hidden-xs\" style=\"text-align: left\">
  243.                                                               
  244.                                 </div>    
  245.                                 <div class=\"col-sm-8 col-xs-12\" style=\"text-align: center;\">                                                                                                                 
  246.                                     <div class=\"col-lg-10 col-sm-10 col-xs-10  login-box\">
  247.                                         <div class=\"form-group\">
  248.                                             <div>
  249.                                                 <h1 class=\"text-left \">";
  250.         // line 116
  251.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("home.bienvenido", [], "messages");
  252.         echo "</h1> 
  253.                                               <div class=\"space-8\"></div>
  254.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  255.                                                 <input class=\"form-control input-inicio\" placeholder=\"";
  256.         // line 119
  257.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("seguridad.autenticacion.user", [], "messages");
  258.         echo "\" type=\"text\" id=\"username\" name=\"_username\" value=\"";
  259.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'119$this->source); })()), "html"nulltrue);
  260.         echo "\" required=\"true\">
  261.                                                 <i class=\"ace-icon fa fa-user grey\">&nbsp;</i>
  262.                                               </span>
  263.                                             </div>
  264.                                         </div>
  265.                                         <div class=\"form-group\">                                
  266.                                             <div>
  267.                                                 <div class=\"space-8\"></div>
  268.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  269.                                                 <input type=\"password\" required=\"\" class=\"form-control input-inicio\" placeholder=\"";
  270.         // line 128
  271.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("seguridad.autenticacion.password", [], "messages");
  272.         echo "\" type=\"password\" value=\"\" id=\"password\" name=\"_password\" style=\"width:100%; color: #bdb6b6;\" required=\"true\">
  273.                                                 <i class=\"ace-icon fa fa-eye-slash\" id=\"btnEye\" onclick=\"myFunction()\">&nbsp;</i>
  274.                                               </span>
  275.                                             </div>
  276.                                         </div>
  277.                                         <div class=\"form-group\">
  278.                                               <span class=\"col-xs-10 no-padding\">
  279.                                                   <div id=\"captcha_img\" style=\"background-color: #fff; max-width: 100%;\" ><img width=\"80%\" src=\"";
  280.         // line 136
  281.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("captcha");
  282.         echo "\"/></div>
  283.                                               </span>
  284.                                               <span class=\"col-xs-2\">
  285.                                                   <div class=\"space-10 hidden-xs\"></div>
  286.                                                   <a id=\"captcha_refresh\" href=\"#\" style='float:left'><img style=\"max-width: 80%; min-width: 40px;\" src=\"";
  287.         // line 140
  288.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/icon/captcha_new.png"), "html"nulltrue);
  289.         echo "\" title=\"Cambiar código\"></a>
  290.                                               </span>
  291.                                         </div> 
  292.                                         <div class=\"form-group\">
  293.                                             <div >
  294.                                                 <div class=\"space-8\"></div>
  295.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  296.                                                 <input type=\"text\" class=\"form-control input-inicio\" placeholder=\"";
  297.         // line 148
  298.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("seguridad.autenticacion.captcha", [], "messages");
  299.         echo "\" id=\"captcha_codigo\" name=\"captcha_codigo\" style=\"width:100%;\" required=\"true\">
  300.                                                 <i class=\"ace-icon fa fa-refresh grey\">&nbsp;</i>
  301.                                               </span>
  302.                                             </div>
  303.                                         </div>                                                         
  304.                                         <div class=\"form-group\">
  305.                                             <div class=\"row center\">
  306.                                                 <div class=\"space-8\"></div>
  307.                                               <input class=\"btn btn-large btn-round bigger-150 btn-inicio-st\" type=\"submit\" value=";
  308.         // line 157
  309.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("botones.enter", [], "messages");
  310.         echo ">
  311.                                             </div>
  312.                                         </div>
  313.                                         <!---div>
  314.                                             <div class=\"space-8\"></div>
  315.                                             <div class=\"forget_password_st no-padding\">
  316.                                                <a class=\"pull-left text-left bigger-120\" href=\"";
  317.         // line 164
  318.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("usuario_activa_cuenta");
  319.         echo " \">";
  320.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("seguridad.autenticacion.activar", [], "messages");
  321.         echo "</a>
  322.                                             </div>
  323.                                             <div class=\"forget_password_st no-padding\">
  324.                                                <a  class=\"pull-right text-left bigger-120\" href=\"";
  325.         // line 167
  326.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("usuario_recupera_password");
  327.         echo " \">";
  328.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("seguridad.autenticacion.noremember", [], "messages");
  329.         echo "</a>
  330.                                             </div>
  331.                                         </div-->
  332.                                     </div>
  333.                                 <div class=\"col-lg-2 col-sm-2 col-xs-2\" style=\"text-align: left\">
  334.                                     <!--img width=\"80%\" src=\"";
  335.         // line 173
  336.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo_ST_blanco.png"), "html"nulltrue);
  337.         echo "\"-->                            
  338.                                 </div>
  339.                             </div> 
  340.                                 <div class=\"col-sm-2 hidden-xs\" style=\"text-align: left\">
  341.                                                               
  342.                                 </div>    
  343.                             </div>    
  344.                         </form>
  345.                     </div>
  346.                 </div>        
  347.                 <div class=\"row\" style=\"background: #000; margin-top: 100px;\">
  348.                     <div class=\"col-sm-11 col-xs-12\" style=\"min-height: 100px; color: #fff; padding-top: 30px;\" >
  349.                     Desarrollado por Strategic Thrusts S.A. @2022
  350.                     </div>
  351.                 </div>
  352.             </div>                   
  353.         </div>                   
  354.     </div>
  355.                                    
  356. ";
  357.         
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  359.         
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  361.     }
  362.     public function getTemplateName()
  363.     {
  364.         return "Security\\ingresar.html.twig";
  365.     }
  366.     public function isTraitable()
  367.     {
  368.         return false;
  369.     }
  370.     public function getDebugInfo()
  371.     {
  372.         return array (  374 => 173,  363 => 167,  355 => 164,  345 => 157,  333 => 148,  322 => 140,  315 => 136,  304 => 128,  290 => 119,  284 => 116,  271 => 106,  267 => 105,  256 => 96,  253 => 95,  250 => 94,  247 => 93,  237 => 92,  225 => 87,  216 => 82,  207 => 75,  205 => 74,  202 => 73,  193 => 68,  184 => 62,  175 => 55,  173 => 54,  170 => 53,  164 => 52,  152 => 46,  141 => 39,  136 => 38,  133 => 37,  129 => 36,  126 => 35,  116 => 34,  83 => 10,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  373.     }
  374.     public function getSourceContext()
  375.     {
  376.         return new Source("{% extends \"layout_inicio.html.twig\" %}
  377. {% block javascripts %}
  378.     {{ parent() }}
  379.     <!--script src=\"{{ asset('js/jquery/jquery-1.8.0.js') }}\" type=\"text/javascript\"></script-->
  380.     <script type=\"text/javascript\">
  381.         \$(document).ready(function() {
  382.             \$(\"#captcha_refresh\").click(function (){
  383.                 \$(\"#captcha_img\").html('<i class=\"ace-icon fa fa-spinner orange fa-spin bigger-220\"></i>');
  384.                 \$(\"#captcha_img\").html('<img width=\"90%\" src=\"{{path('captcha')}}?rdn='+Math.random()+'\" />');
  385.             });\t 
  386.         });  
  387.         
  388.        /*var videoFile = 'http://www.bschool.ec/web/images/Tunnel_Animation.mp4';
  389.        \$('#divVideo video source').attr({'src': videoFile, 'autoplay': autoplay,});
  390.        \$(\"#divVideo video\")[0].load();*/
  391.         function myFunction() {
  392.             var x = document.getElementById(\"password\");
  393.             if (x.type === \"password\") {
  394.               x.type = \"text\";
  395.               document.getElementById('btnEye').className = 'ace-icon fa fa-eye';
  396.               
  397.             } else {
  398.               x.type = \"password\";
  399.               document.getElementById('btnEye').className = 'ace-icon fa fa-eye-slash';
  400.             }
  401.             
  402.             
  403.         }
  404.     </script>
  405. {% endblock %}
  406. {% block notice %}
  407.     <div class=\"ingresar_notice\">
  408.         {% for notice_level in ['notice','success','danger','info', 'warning'] %}
  409.             {% set session_var = notice_level %}
  410.             {% for flashMessage in app.session.flashbag.get(session_var) %}
  411.                 <div class=\"alert alert-{{session_var}}\">
  412.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  413.                         <i class=\"ace-icon fa fa-times\"></i>
  414.                     </button>
  415.                     <strong>
  416.                         <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  417.                         {{ flashMessage | trans([],'message') | raw }}
  418.                     </strong>
  419.                     <br>
  420.                 </div>
  421.             {% endfor %}
  422.         {% endfor %}
  423.         {% if error_msj != '' %}
  424.                 <div class=\"alert alert-danger alert-inicio\">
  425.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  426.                         <i class=\"ace-icon fa fa-times\"></i>
  427.                     </button>
  428.                     <strong>
  429.                         <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  430.                         {{ error_msj | raw }}
  431.                     </strong>
  432.                     <br>
  433.                 </div>
  434.                     <script type=\"text/javascript\">
  435.                         var error='{{ error_msj | raw }}';                    
  436.                         /*errorAlert(error);*/
  437.                         jAlert('<h1 class=\"red\"><i class=\"fa fa-exclamation-triangle red\"></i> ERROR </h1>'+'<div class=\"panel bigger-110\">'+error+'</div>','Error');
  438.                     </script>
  439.         {% endif %} 
  440.         {% if msj is defined and msj != '' %}
  441.             <div class=\"alert alert-danger alert-inicio\">
  442.                 <button type=\"button\" class=\"close\" data-dismiss=\"alert\">
  443.                     <i class=\"ace-icon fa fa-times\"></i>
  444.                 </button>
  445.                 <strong>
  446.                     <i class=\"ace-icon fa fa-info-circle bigger-150\"></i>
  447.                     {{ msj | raw }}
  448.                 </strong>
  449.                 <br>
  450.             </div>
  451.         {% endif %}  
  452.     </div>
  453. {% endblock %}
  454. {% block content %}
  455.     {% if last_username is not defined %}
  456.         {% set last_username = '' %}
  457.     {% endif %}
  458.     <div class=\"widget-box transparent\">      
  459.         <div class=\"widget-body\" style=\"display: block;\">
  460.             <div class=\"widget-main no-padding content_ini\" id=\"divVideo\">
  461.                     <!--video autoplay loop style=\"width: 100%\">
  462.                       <source src=\"http://www.bschool.ec/web/images/Tunnel_Animation.mp4\" type=\"video/mp4\" />
  463.                     </video-->
  464.                 <div class=\"content_ini_image\" >     
  465.                     <div style=\"position: relative; top: 7%; left: 0px; bottom: 0px; right: 0px;\">
  466.                         <form class=\"form\" id=\"ingresar\" action=\"{{path('login_check')}}\" method=\"POST\">
  467. <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  468.                             <div class=\"row vertical-center\"> 
  469.                                 <div class=\"space-24 hidden-xs\"></div>
  470.                                 <div class=\"col-sm-2 hidden-xs\" style=\"text-align: left\">
  471.                                                               
  472.                                 </div>    
  473.                                 <div class=\"col-sm-8 col-xs-12\" style=\"text-align: center;\">                                                                                                                 
  474.                                     <div class=\"col-lg-10 col-sm-10 col-xs-10  login-box\">
  475.                                         <div class=\"form-group\">
  476.                                             <div>
  477.                                                 <h1 class=\"text-left \">{% trans %}home.bienvenido{% endtrans %}</h1> 
  478.                                               <div class=\"space-8\"></div>
  479.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  480.                                                 <input class=\"form-control input-inicio\" placeholder=\"{% trans %}seguridad.autenticacion.user{% endtrans %}\" type=\"text\" id=\"username\" name=\"_username\" value=\"{{last_username}}\" required=\"true\">
  481.                                                 <i class=\"ace-icon fa fa-user grey\">&nbsp;</i>
  482.                                               </span>
  483.                                             </div>
  484.                                         </div>
  485.                                         <div class=\"form-group\">                                
  486.                                             <div>
  487.                                                 <div class=\"space-8\"></div>
  488.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  489.                                                 <input type=\"password\" required=\"\" class=\"form-control input-inicio\" placeholder=\"{% trans %}seguridad.autenticacion.password{% endtrans %}\" type=\"password\" value=\"\" id=\"password\" name=\"_password\" style=\"width:100%; color: #bdb6b6;\" required=\"true\">
  490.                                                 <i class=\"ace-icon fa fa-eye-slash\" id=\"btnEye\" onclick=\"myFunction()\">&nbsp;</i>
  491.                                               </span>
  492.                                             </div>
  493.                                         </div>
  494.                                         <div class=\"form-group\">
  495.                                               <span class=\"col-xs-10 no-padding\">
  496.                                                   <div id=\"captcha_img\" style=\"background-color: #fff; max-width: 100%;\" ><img width=\"80%\" src=\"{{path('captcha')}}\"/></div>
  497.                                               </span>
  498.                                               <span class=\"col-xs-2\">
  499.                                                   <div class=\"space-10 hidden-xs\"></div>
  500.                                                   <a id=\"captcha_refresh\" href=\"#\" style='float:left'><img style=\"max-width: 80%; min-width: 40px;\" src=\"{{ asset('images/icon/captcha_new.png') }}\" title=\"Cambiar código\"></a>
  501.                                               </span>
  502.                                         </div> 
  503.                                         <div class=\"form-group\">
  504.                                             <div >
  505.                                                 <div class=\"space-8\"></div>
  506.                                               <span class=\"input-icon input-icon-right col-xs-12 no-padding\">
  507.                                                 <input type=\"text\" class=\"form-control input-inicio\" placeholder=\"{% trans %}seguridad.autenticacion.captcha{% endtrans %}\" id=\"captcha_codigo\" name=\"captcha_codigo\" style=\"width:100%;\" required=\"true\">
  508.                                                 <i class=\"ace-icon fa fa-refresh grey\">&nbsp;</i>
  509.                                               </span>
  510.                                             </div>
  511.                                         </div>                                                         
  512.                                         <div class=\"form-group\">
  513.                                             <div class=\"row center\">
  514.                                                 <div class=\"space-8\"></div>
  515.                                               <input class=\"btn btn-large btn-round bigger-150 btn-inicio-st\" type=\"submit\" value={%trans%}botones.enter{% endtrans%}>
  516.                                             </div>
  517.                                         </div>
  518.                                         <!---div>
  519.                                             <div class=\"space-8\"></div>
  520.                                             <div class=\"forget_password_st no-padding\">
  521.                                                <a class=\"pull-left text-left bigger-120\" href=\"{{path('usuario_activa_cuenta')}} \">{% trans %}seguridad.autenticacion.activar{% endtrans %}</a>
  522.                                             </div>
  523.                                             <div class=\"forget_password_st no-padding\">
  524.                                                <a  class=\"pull-right text-left bigger-120\" href=\"{{path('usuario_recupera_password')}} \">{% trans %}seguridad.autenticacion.noremember{% endtrans %}</a>
  525.                                             </div>
  526.                                         </div-->
  527.                                     </div>
  528.                                 <div class=\"col-lg-2 col-sm-2 col-xs-2\" style=\"text-align: left\">
  529.                                     <!--img width=\"80%\" src=\"{{ asset('images/logo_ST_blanco.png') }}\"-->                            
  530.                                 </div>
  531.                             </div> 
  532.                                 <div class=\"col-sm-2 hidden-xs\" style=\"text-align: left\">
  533.                                                               
  534.                                 </div>    
  535.                             </div>    
  536.                         </form>
  537.                     </div>
  538.                 </div>        
  539.                 <div class=\"row\" style=\"background: #000; margin-top: 100px;\">
  540.                     <div class=\"col-sm-11 col-xs-12\" style=\"min-height: 100px; color: #fff; padding-top: 30px;\" >
  541.                     Desarrollado por Strategic Thrusts S.A. @2022
  542.                     </div>
  543.                 </div>
  544.             </div>                   
  545.         </div>                   
  546.     </div>
  547.                                    
  548. {% endblock %}
  549. ""Security\\ingresar.html.twig""/data/produccion/integral/src/templates/Security/ingresar.html.twig");
  550.     }
  551. }