<?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;
/* @PlatformSecurity/Login/base2.html.twig */
class __TwigTemplate_907ab05d5c730d32c54cd0de44e91f0e extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'header' => [$this, 'block_header'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PlatformSecurity/Login/base2.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PlatformSecurity/Login/base2.html.twig"));
// line 1
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery1::/dist/jquery.min.js"), null, null, "top");
echo "
";
// line 3
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle("//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700");
echo "
";
// line 5
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle(("/ui/css/ui.css?bust=" . twig_get_attribute($this->env, $this->source, twig_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.', 5, $this->source); })()), "params", [], "any", false, false, false, 5), "get", [0 => "version.hash"], "method", false, false, false, 5)));
echo "
";
// line 6
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle(("/ui/css/login.css?bust=" . twig_get_attribute($this->env, $this->source, twig_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.', 6, $this->source); })()), "params", [], "any", false, false, false, 6), "get", [0 => "version.hash"], "method", false, false, false, 6)));
echo "
";
// line 8
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.', 8, $this->source); })())) > 0))) {
// line 9
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["titles"]) || array_key_exists("titles", $context) ? $context["titles"] : (function () { throw new RuntimeError('Variable "titles" does not exist.', 9, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["title"]) {
// line 10
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["title"], "title", [], "any", true, true, false, 10)) {
// line 11
echo " ";
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedTitle(twig_get_attribute($this->env, $this->source, $context["title"], "title", [], "any", false, false, false, 11), ((twig_get_attribute($this->env, $this->source, $context["title"], "rank", [], "any", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["title"], "rank", [], "any", false, false, false, 11), null)) : (null)));
echo "
";
}
// line 13
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['title'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 15
echo "
";
// line 16
if (array_key_exists("body_attrs", $context)) {
// line 17
echo " ";
$context['_parent'] = $context;
$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.', 17, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["body_attr"]) {
// line 18
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["body_attr"], "action", [], "any", true, true, false, 18)) {
// line 19
echo " ";
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->bodyAttrs(twig_get_attribute($this->env, $this->source, $context["body_attr"], "action", [], "any", false, false, false, 19), ((twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg1", [], "any", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg1", [], "any", false, false, false, 19), null)) : (null)), ((twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg2", [], "any", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg2", [], "any", false, false, false, 19), null)) : (null)), ((twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg3", [], "any", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["body_attr"], "arg3", [], "any", false, false, false, 19), null)) : (null)));
echo "
";
}
// line 21
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['body_attr'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
// line 23
echo "
<div class=\"wrapper\">
<div class=\"login-panel-container\">
<div class=\"login-panel-row\">
<!-- Left Column -->
<div class=\"col-sm-6 panel-block\">
<div class=\"login-panel\">
<!-- Login Header -->
<div class=\"login-panel__header text-center\">
";
// line 32
$this->displayBlock('header', $context, $blocks);
// line 33
echo " </div>
<div class=\"login-panel__body\">
";
// line 35
$this->displayBlock('body', $context, $blocks);
// line 36
echo " </div>
<!-- Login Footer -->
<div class=\"login-panel__footer text-center\">
";
// line 39
$this->displayBlock('footer', $context, $blocks);
// line 42
echo " </div>
</div>
</div>
<!-- Right Column -->
<div class=\"col-sm-6 login-panel-right-container\">
<div class=\"login-panel-right-inner-container\"></div>
</div>
</div>
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 32
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 39
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 40
echo " <p>©";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " SchoolStatus. All Rights Reserved. <a href=\"https://www.schoolnow.com/support\" target=\"_blank\">Need help?</a></p>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@PlatformSecurity/Login/base2.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 206 => 40, 196 => 39, 178 => 35, 160 => 32, 140 => 42, 138 => 39, 133 => 36, 131 => 35, 127 => 33, 125 => 32, 114 => 23, 107 => 21, 101 => 19, 98 => 18, 93 => 17, 91 => 16, 88 => 15, 81 => 13, 75 => 11, 72 => 10, 67 => 9, 65 => 8, 60 => 6, 56 => 5, 51 => 3, 46 => 1,);
}
public function getSourceContext()
{
return new Source("{{ embed_script(assett('jquery1::/dist/jquery.min.js'), null, null, 'top') }}
{{ embed_style('//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700') }}
{{ embed_style('/ui/css/ui.css?bust=' ~ cms.params.get('version.hash')) }}
{{ embed_style('/ui/css/login.css?bust=' ~ cms.params.get('version.hash')) }}
{% if titles is defined and titles|length > 0 %}
{% for title in titles %}
{% if title.title is defined %}
{{ embed_title(title.title, title.rank|default(null)) }}
{% endif %}
{% endfor %}
{% endif %}
{% if body_attrs is defined %}
{% for body_attr in body_attrs %}
{% if body_attr.action is defined %}
{{ body_attrs(body_attr.action, body_attr.arg1|default(null), body_attr.arg2|default(null), body_attr.arg3|default(null)) }}
{% endif %}
{% endfor %}
{% endif %}
<div class=\"wrapper\">
<div class=\"login-panel-container\">
<div class=\"login-panel-row\">
<!-- Left Column -->
<div class=\"col-sm-6 panel-block\">
<div class=\"login-panel\">
<!-- Login Header -->
<div class=\"login-panel__header text-center\">
{% block header %}{% endblock %}
</div>
<div class=\"login-panel__body\">
{% block body %}{% endblock %}
</div>
<!-- Login Footer -->
<div class=\"login-panel__footer text-center\">
{% block footer %}
<p>©{{ 'now'|date('Y') }} SchoolStatus. All Rights Reserved. <a href=\"https://www.schoolnow.com/support\" target=\"_blank\">Need help?</a></p>
{% endblock %}
</div>
</div>
</div>
<!-- Right Column -->
<div class=\"col-sm-6 login-panel-right-container\">
<div class=\"login-panel-right-inner-container\"></div>
</div>
</div>
</div>
</div>
", "@PlatformSecurity/Login/base2.html.twig", "/var/www/campussuite/src/Platform/SecurityBundle/Resources/views/Login/base2.html.twig");
}
}