var/cache/test/twig/a2/a282fd8a9e2f60f7cf9853272ffd6703.php line 184

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. /* @PlatformSecurity/Login/base.html.twig */
  14. class __TwigTemplate_9aade4cc4f25e055098b7f682a650dec extends \Twig\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.             'header' => [$this'block_header'],
  25.             'body' => [$this'block_body'],
  26.             'footer' => [$this'block_footer'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PlatformSecurity/Login/base.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PlatformSecurity/Login/base.html.twig"));
  36.         // line 1
  37.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery1::/dist/jquery.min.js"), nullnull"top");
  38.         echo "
  39. ";
  40.         // line 2
  41.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("bootstrap::/dist/js/bootstrap.min.js"), nullnull"bottom");
  42.         echo "
  43. ";
  44.         // line 3
  45.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("breakpoints::/breakpoints.js"), nullnull"bottom");
  46.         echo "
  47. ";
  48.         // line 4
  49.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery-scrollbar::/jquery.scrollbar.js"), nullnull"bottom");
  50.         echo "
  51. ";
  52.         // line 5
  53.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("bootstrap-colorpicker::/dist/js/bootstrap-colorpicker.min.js"), nullnull"bottom");
  54.         echo "
  55. ";
  56.         // line 6
  57.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("moment::/min/moment.min.js"), nullnull"bottom");
  58.         echo "
  59. ";
  60.         // line 7
  61.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("bootstrap-datetimepicker::/build/js/bootstrap-datetimepicker.min.js"), nullnull"bottom");
  62.         echo "
  63. ";
  64.         // line 8
  65.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("bootstrap-slider::/dist/bootstrap-slider.min.js"), nullnull"bottom");
  66.         echo "
  67. ";
  68.         // line 9
  69.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("chosen::/chosen.jquery.min.js"), nullnull"bottom");
  70.         echo "
  71. ";
  72.         // line 10
  73.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery-maskedinput::/dist/jquery.maskedinput.min.js"), nullnull"bottom");
  74.         echo "
  75. ";
  76.         // line 11
  77.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery-tageditor::/jquery.tag-editor.js"), nullnull"bottom");
  78.         echo "
  79. ";
  80.         // line 12
  81.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("mixitup::/build/jquery.mixitup.min.js"), nullnull"bottom");
  82.         echo "
  83. ";
  84.         // line 13
  85.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript("/ui/js/ready-scripts.js"nullnull"bottom");
  86.         echo "
  87. ";
  88.         // line 15
  89.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle("//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700");
  90.         echo "
  91. ";
  92.         // line 16
  93.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("font-awesome::/css/font-awesome.min.css"));
  94.         echo "
  95. ";
  96.         // line 17
  97.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("bootstrap-datetimepicker::/build/css/bootstrap-datetimepicker.min.css"));
  98.         echo "
  99. ";
  100.         // line 19
  101.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle(("/ui/css/ui.css?bust=" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cms"]) || array_key_exists("cms"$context) ? $context["cms"] : (function () { throw new RuntimeError('Variable "cms" does not exist.'19$this->source); })()), "params", [], "any"falsefalsefalse19), "get", [=> "version.hash"], "method"falsefalsefalse19)));
  102.         echo "
  103. ";
  104.         // line 21
  105.         if ((array_key_exists("titles"$context) && (twig_length_filter($this->env, (isset($context["titles"]) || array_key_exists("titles"$context) ? $context["titles"] : (function () { throw new RuntimeError('Variable "titles" does not exist.'21$this->source); })())) > 0))) {
  106.             // line 22
  107.             echo "    ";
  108.             $context['_parent'] = $context;
  109.             $context['_seq'] = twig_ensure_traversable((isset($context["titles"]) || array_key_exists("titles"$context) ? $context["titles"] : (function () { throw new RuntimeError('Variable "titles" does not exist.'22$this->source); })()));
  110.             foreach ($context['_seq'] as $context["_key"] => $context["title"]) {
  111.                 // line 23
  112.                 echo "        ";
  113.                 if (twig_get_attribute($this->env$this->source$context["title"], "title", [], "any"truetruefalse23)) {
  114.                     // line 24
  115.                     echo "            ";
  116.                     echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedTitle(twig_get_attribute($this->env$this->source$context["title"], "title", [], "any"falsefalsefalse24), ((twig_get_attribute($this->env$this->source$context["title"], "rank", [], "any"truetruefalse24)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["title"], "rank", [], "any"falsefalsefalse24), null)) : (null)));
  117.                     echo "
  118.         ";
  119.                 }
  120.                 // line 26
  121.                 echo "    ";
  122.             }
  123.             $_parent $context['_parent'];
  124.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['title'], $context['_parent'], $context['loop']);
  125.             $context array_intersect_key($context$_parent) + $_parent;
  126.         }
  127.         // line 28
  128.         echo "
  129. ";
  130.         // line 29
  131.         if (array_key_exists("body_attrs"$context)) {
  132.             // line 30
  133.             echo "    ";
  134.             $context['_parent'] = $context;
  135.             $context['_seq'] = twig_ensure_traversable((isset($context["body_attrs"]) || array_key_exists("body_attrs"$context) ? $context["body_attrs"] : (function () { throw new RuntimeError('Variable "body_attrs" does not exist.'30$this->source); })()));
  136.             foreach ($context['_seq'] as $context["_key"] => $context["body_attr"]) {
  137.                 // line 31
  138.                 echo "        ";
  139.                 if (twig_get_attribute($this->env$this->source$context["body_attr"], "action", [], "any"truetruefalse31)) {
  140.                     // line 32
  141.                     echo "            ";
  142.                     echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->bodyAttrs(twig_get_attribute($this->env$this->source$context["body_attr"], "action", [], "any"falsefalsefalse32), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg1", [], "any"truetruefalse32)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg1", [], "any"falsefalsefalse32), null)) : (null)), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg2", [], "any"truetruefalse32)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg2", [], "any"falsefalsefalse32), null)) : (null)), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg3", [], "any"truetruefalse32)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg3", [], "any"falsefalsefalse32), null)) : (null)));
  143.                     echo "
  144.         ";
  145.                 }
  146.                 // line 34
  147.                 echo "    ";
  148.             }
  149.             $_parent $context['_parent'];
  150.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['body_attr'], $context['_parent'], $context['loop']);
  151.             $context array_intersect_key($context$_parent) + $_parent;
  152.         }
  153.         // line 36
  154.         echo "
  155. <div class=\"wrapper\">
  156.     <div class=\"container\">
  157.         <div class=\"row\">
  158.             <div class=\"";
  159.         // line 40
  160.         echo twig_escape_filter($this->env, ((array_key_exists("position_classes"$context)) ? (_twig_default_filter((isset($context["position_classes"]) || array_key_exists("position_classes"$context) ? $context["position_classes"] : (function () { throw new RuntimeError('Variable "position_classes" does not exist.'40$this->source); })()), "col-sm-6 col-sm-offset-3")) : ("col-sm-6 col-sm-offset-3")), "html"nulltrue);
  161.         echo "\">
  162.                 <div class=\"login-panel\">
  163.                     <div class=\"login-panel__header\">
  164.                         ";
  165.         // line 43
  166.         $this->displayBlock('header'$context$blocks);
  167.         // line 44
  168.         echo "                    </div>
  169.                     <div class=\"login-panel__body\">
  170.                         ";
  171.         // line 46
  172.         $this->displayBlock('body'$context$blocks);
  173.         // line 47
  174.         echo "                    </div>
  175.                     <div class=\"login-panel__footer\">
  176.                         ";
  177.         // line 49
  178.         $this->displayBlock('footer'$context$blocks);
  179.         // line 52
  180.         echo "                    </div>
  181.                 </div>
  182.             </div>
  183.         </div>
  184.     </div>
  185. </div>
  186. ";
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.         
  190.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  191.     }
  192.     // line 43
  193.     public function block_header($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  200.         echo " ";
  201.         
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.     }
  206.     // line 46
  207.     public function block_body($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""body"));
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  214.         echo " ";
  215.         
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  217.         
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  219.     }
  220.     // line 49
  221.     public function block_footer($context, array $blocks = [])
  222.     {
  223.         $macros $this->macros;
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  228.         // line 50
  229.         echo "                            <p>Copyright &copy;";
  230.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  231.         echo " SchoolNow. All rights reserved.</p>
  232.                         ";
  233.         
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  235.         
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  237.     }
  238.     public function getTemplateName()
  239.     {
  240.         return "@PlatformSecurity/Login/base.html.twig";
  241.     }
  242.     public function isTraitable()
  243.     {
  244.         return false;
  245.     }
  246.     public function getDebugInfo()
  247.     {
  248.         return array (  256 => 50,  246 => 49,  227 => 46,  208 => 43,  192 => 52,  190 => 49,  186 => 47,  184 => 46,  180 => 44,  178 => 43,  172 => 40,  166 => 36,  159 => 34,  153 => 32,  150 => 31,  145 => 30,  143 => 29,  140 => 28,  133 => 26,  127 => 24,  124 => 23,  119 => 22,  117 => 21,  112 => 19,  107 => 17,  103 => 16,  99 => 15,  94 => 13,  90 => 12,  86 => 11,  82 => 10,  78 => 9,  74 => 8,  70 => 7,  66 => 6,  62 => 5,  58 => 4,  54 => 3,  50 => 2,  46 => 1,);
  249.     }
  250.     public function getSourceContext()
  251.     {
  252.         return new Source("{{ embed_script(assett('jquery1::/dist/jquery.min.js'), null, null, 'top') }}
  253. {{ embed_script(assett('bootstrap::/dist/js/bootstrap.min.js'), null, null, 'bottom') }}
  254. {{ embed_script(assett('breakpoints::/breakpoints.js'), null, null, 'bottom') }}
  255. {{ embed_script(assett('jquery-scrollbar::/jquery.scrollbar.js'), null, null, 'bottom') }}
  256. {{ embed_script(assett('bootstrap-colorpicker::/dist/js/bootstrap-colorpicker.min.js'), null, null, 'bottom') }}
  257. {{ embed_script(assett('moment::/min/moment.min.js'), null, null, 'bottom') }}
  258. {{ embed_script(assett('bootstrap-datetimepicker::/build/js/bootstrap-datetimepicker.min.js'), null, null, 'bottom') }}
  259. {{ embed_script(assett('bootstrap-slider::/dist/bootstrap-slider.min.js'), null, null, 'bottom') }}
  260. {{ embed_script(assett('chosen::/chosen.jquery.min.js'), null, null, 'bottom') }}
  261. {{ embed_script(assett('jquery-maskedinput::/dist/jquery.maskedinput.min.js'), null, null, 'bottom') }}
  262. {{ embed_script(assett('jquery-tageditor::/jquery.tag-editor.js'), null, null, 'bottom') }}
  263. {{ embed_script(assett('mixitup::/build/jquery.mixitup.min.js'), null, null, 'bottom') }}
  264. {{ embed_script('/ui/js/ready-scripts.js', null, null, 'bottom') }}
  265. {{ embed_style('//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700') }}
  266. {{ embed_style(assett('font-awesome::/css/font-awesome.min.css')) }}
  267. {{ embed_style(assett('bootstrap-datetimepicker::/build/css/bootstrap-datetimepicker.min.css')) }}
  268. {{ embed_style('/ui/css/ui.css?bust=' ~ cms.params.get('version.hash')) }}
  269. {% if titles is defined and titles|length > 0 %}
  270.     {% for title in titles %}
  271.         {% if title.title is defined %}
  272.             {{ embed_title(title.title, title.rank|default(null)) }}
  273.         {% endif %}
  274.     {% endfor %}
  275. {% endif %}
  276. {% if body_attrs is defined %}
  277.     {% for body_attr in body_attrs %}
  278.         {% if body_attr.action is defined %}
  279.             {{ body_attrs(body_attr.action, body_attr.arg1|default(null), body_attr.arg2|default(null), body_attr.arg3|default(null)) }}
  280.         {% endif %}
  281.     {% endfor %}
  282. {% endif %}
  283. <div class=\"wrapper\">
  284.     <div class=\"container\">
  285.         <div class=\"row\">
  286.             <div class=\"{{ position_classes|default('col-sm-6 col-sm-offset-3') }}\">
  287.                 <div class=\"login-panel\">
  288.                     <div class=\"login-panel__header\">
  289.                         {% block header %} {% endblock %}
  290.                     </div>
  291.                     <div class=\"login-panel__body\">
  292.                         {% block body %} {% endblock %}
  293.                     </div>
  294.                     <div class=\"login-panel__footer\">
  295.                         {% block footer %}
  296.                             <p>Copyright &copy;{{ 'now'|date('Y') }} SchoolNow. All rights reserved.</p>
  297.                         {% endblock %}
  298.                     </div>
  299.                 </div>
  300.             </div>
  301.         </div>
  302.     </div>
  303. </div>
  304. ""@PlatformSecurity/Login/base.html.twig""/var/www/campussuite/src/Platform/SecurityBundle/Resources/views/Login/base.html.twig");
  305.     }
  306. }