<?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;
/* website/index.html.twig */
class __TwigTemplate_91e6bc3158f3313e84a8279894b24bb5dd265a4965d96cd94044b6d7ef532814 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_title' => [$this, 'block_page_title'],
'content_header' => [$this, 'block_content_header'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@!EasyAdmin/page/content.html.twig";
}
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", "website/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/index.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), [0 => "bootstrap_4_layout.html.twig"], true);
// line 6
$context["_content_title"] = "Homepage";
// line 1
$this->parent = $this->loadTemplate("@!EasyAdmin/page/content.html.twig", "website/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 8
public function block_page_title($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", "page_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
// line 9
echo twig_escape_filter($this->env, (isset($context["_content_title"]) || array_key_exists("_content_title", $context) ? $context["_content_title"] : (function () { throw new RuntimeError('Variable "_content_title" does not exist.', 9, $this->source); })()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_content_header($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", "content_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));
// line 13
echo " <h1 class=\"title\">";
echo twig_escape_filter($this->env, (isset($context["_content_title"]) || array_key_exists("_content_title", $context) ? $context["_content_title"] : (function () { throw new RuntimeError('Variable "_content_title" does not exist.', 13, $this->source); })()), "html", null, true);
echo "</h1>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 16
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 17
echo "
<body>
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
<ul class=\"navbar-nav mr-auto\">
<li class=\"nav-item active\">
<a class=\"nav-link\" href=\"https://covid.pum.telix.info/\">Strona główna</a>
</li>
<li class=\"nav-item active\">
<a class=\"nav-link\" href=\"/login\">Zaloguj</a>
</li>
<li class=\"nav-item dropdown\">
<a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
Informacje dodatkowe
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
<a class=\"dropdown-item\" href=\"#\">O projekcie</a>
<a class=\"dropdown-item\" href=\"#\">Wynik</a>
<div class=\"dropdown-divider\"></div>
<a class=\"dropdown-item\" href=\"/contact\">Kontakt</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class=\"jumbotron\">
<div class=\"container\">
<h1 class=\"display-3\">Medapp</h1>
<p></p>
</div>
</div>
<div class=\"container\">
<div class=\"container\">
<!-- Example row of columns -->
<div class=\"row\">
<div class=\"col\">
";
// line 63
if ((array_key_exists("form", $context) && !twig_test_empty((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 63, $this->source); })())))) {
// line 64
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), 'form');
echo "
";
}
// line 66
echo " </div>
</div>
</div>
";
// line 71
if ((array_key_exists("fuuid", $context) && !twig_test_empty((isset($context["fuuid"]) || array_key_exists("fuuid", $context) ? $context["fuuid"] : (function () { throw new RuntimeError('Variable "fuuid" does not exist.', 71, $this->source); })())))) {
// line 72
echo "
";
// line 73
echo twig_escape_filter($this->env, (isset($context["fuuid"]) || array_key_exists("fuuid", $context) ? $context["fuuid"] : (function () { throw new RuntimeError('Variable "fuuid" does not exist.', 73, $this->source); })()), "html", null, true);
echo "
";
}
// line 75
echo "
<hr>
<footer>
<p>© <a href=\"https://algomedica.tech\">Algomedica</a></p>
</footer>
</div> <!-- /container -->
</body>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 191 => 75, 186 => 73, 183 => 72, 181 => 71, 174 => 66, 168 => 64, 166 => 63, 118 => 17, 108 => 16, 95 => 13, 85 => 12, 75 => 9, 65 => 8, 54 => 1, 52 => 6, 50 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@!EasyAdmin/page/content.html.twig' %}
{% form_theme form 'bootstrap_4_layout.html.twig' %}
{% set _content_title = 'Homepage' %}
{% block page_title -%}
{{ _content_title }}
{%- endblock %}
{% block content_header %}
<h1 class=\"title\">{{ _content_title }}</h1>
{% endblock %}
{% block body %}
<body>
<nav class=\"navbar navbar-expand-lg navbar-light bg-light\">
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
<ul class=\"navbar-nav mr-auto\">
<li class=\"nav-item active\">
<a class=\"nav-link\" href=\"https://covid.pum.telix.info/\">Strona główna</a>
</li>
<li class=\"nav-item active\">
<a class=\"nav-link\" href=\"/login\">Zaloguj</a>
</li>
<li class=\"nav-item dropdown\">
<a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
Informacje dodatkowe
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
<a class=\"dropdown-item\" href=\"#\">O projekcie</a>
<a class=\"dropdown-item\" href=\"#\">Wynik</a>
<div class=\"dropdown-divider\"></div>
<a class=\"dropdown-item\" href=\"/contact\">Kontakt</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class=\"jumbotron\">
<div class=\"container\">
<h1 class=\"display-3\">Medapp</h1>
<p></p>
</div>
</div>
<div class=\"container\">
<div class=\"container\">
<!-- Example row of columns -->
<div class=\"row\">
<div class=\"col\">
{% if form is defined and form is not empty %}
{{ form(form) }}
{% endif %}
</div>
</div>
</div>
{% if fuuid is defined and fuuid is not empty %}
{{ fuuid }}
{% endif %}
<hr>
<footer>
<p>© <a href=\"https://algomedica.tech\">Algomedica</a></p>
</footer>
</div> <!-- /container -->
</body>
{% endblock %}
", "website/index.html.twig", "/var/www/vhosts/algomedica.tech/medapp.algomedica.tech/templates/website/index.html.twig");
}
}