<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* base.html.twig */
class __TwigTemplate_12817de4ea97ca17b4b7833053aa4412 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'pagetitle' => [$this, 'block_pagetitle'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>
";
// line 7
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
// line 12
yield " | Project
\t\t
</title>
<link rel=\"stylesheet\" href=\"";
// line 16
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/fontawesome-free/css/all.min.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" href=\"";
// line 17
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/dist/css/adminlte.min.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" href=\"";
// line 18
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/select2/css/select2.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" href=\"";
// line 19
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/select2/css/select2.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" href=\"";
// line 20
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/build/css/custom.css"), "html", null, true);
yield "\">
";
// line 22
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 23
yield " <script src=\"";
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/jquery/jquery.min.js"), "html", null, true);
yield "\"></script>
</head>
<body class=\"hold-transition sidebar-mini\">
<div class=\"wrapper\">
";
// line 28
yield from $this->loadTemplate("menu/navbar.html.twig", "base.html.twig", 28)->unwrap()->yield($context);
// line 29
yield " ";
yield from $this->loadTemplate("menu/sidebar.html.twig", "base.html.twig", 29)->unwrap()->yield($context);
// line 30
yield " <div class=\"content-wrapper\">
<div class=\"content-header\">
<div class=\"container-fluid\">
<div class=\"row mb-2\">
<div class=\"col-sm-6\">
<h1 class=\"m-0\">
";
// line 36
yield from $this->unwrap()->yieldBlock('pagetitle', $context, $blocks);
// line 37
yield " </h1>
</div>
<div class=\"col-sm-6\">
<ol class=\"breadcrumb float-sm-right\">
<li class=\"breadcrumb-item\">
<a href=\"#\">
Home
</a>
</li>
";
// line 47
yield from $this->unwrap()->yieldBlock('breadcrumb', $context, $blocks);
// line 48
yield " </ol>
</div>
</div>
</div>
</div>
<div class=\"container-fluid px-5\">
<div class=\"row\">
<div class=\"col-md-12\">
";
// line 57
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 57, $this->source); })()), "flashes", [], "any", false, false, false, 57));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 58
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 59
yield " <div class=\"row alert alert-";
yield Twig\Extension\EscaperExtension::escape($this->env, $context["label"], "html", null, true);
yield " alert-dismissible\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">
×
</button>
<h4 class=\"mr-4\">
<i class=\"icon fa fa-";
// line 65
if (($context["label"] == "success")) {
yield "check ";
} else {
yield "ban ";
}
yield "\"></i>
</h4>
";
// line 67
yield Twig\Extension\EscaperExtension::escape($this->env, $context["message"], "html", null, true);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
yield " </div>
</div>
</div>
<div class=\"content\">
<div class=\"container-fluid\">
";
// line 77
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 78
yield " </div>
</div>
</div>
<footer class=\"main-footer\">
<div class=\"float-right d-none d-sm-inline\">
Project Followup
</div>
<strong>
Copyright ©
";
// line 91
yield Twig\Extension\EscaperExtension::escape($this->env, Twig\Extension\CoreExtension::dateFormatFilter($this->env, "now", "Y"), "html", null, true);
yield "
</strong>
All rights reserved.
</footer>
</div>
<script src=\"";
// line 98
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/bootstrap/js/bootstrap.bundle.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 99
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/moment/moment.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 100
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/dist/js/adminlte.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 101
yield Twig\Extension\EscaperExtension::escape($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/plugins/select2/js/select2.full.min.js"), "html", null, true);
yield "\"></script>
<script>
\t\t\$(function () {
\t\t\t//Initialize Select2 Elements
\t\t\t\$('.select2').select2()
\t\t\t//Initialize Select2 Elements
\t\t\t\$('.select2bs4').select2({
\t\t\ttheme: 'bootstrap4'
\t\t\t})
\t\t});
\t\t</script>
<script>
\t\t\t\$(document).ready(function(){
\t\t\t\t\$(\".nav-sidebar\").find(\".active\").removeClass(\"active\");
\t\t\t\tvar path = window.location.href;
\t\t\t\t\$('.nav-item a').each(function() {
\t\t\t\t\tif (this.href === path) {
\t\t\t\t\t\t\$(this).addClass('active');
\t\t\t\t\t\t\$(this).closest('.has-treeview').addClass('menu-open active');
\t\t\t\t\t}
\t\t\t\t});
\t\t\t})
\t\t</script>
";
// line 130
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 133
yield " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 7
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 8
yield " Welcome!
\t\t\t
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 22
public function block_stylesheets($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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 36
public function block_pagetitle($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", "pagetitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 47
public function block_breadcrumb($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", "breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 77
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);
return; yield '';
}
// line 130
public function block_javascripts($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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 131
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 385 => 131, 375 => 130, 356 => 77, 337 => 47, 318 => 36, 299 => 22, 285 => 8, 275 => 7, 262 => 133, 260 => 130, 228 => 101, 224 => 100, 220 => 99, 216 => 98, 206 => 91, 191 => 78, 189 => 77, 181 => 71, 175 => 70, 166 => 67, 157 => 65, 147 => 59, 142 => 58, 138 => 57, 127 => 48, 125 => 47, 113 => 37, 111 => 36, 103 => 30, 100 => 29, 98 => 28, 89 => 23, 87 => 22, 82 => 20, 78 => 19, 74 => 18, 70 => 17, 66 => 16, 60 => 12, 58 => 7, 50 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>
{% block title %}
Welcome!
\t\t\t
{% endblock %}
| Project
\t\t
</title>
<link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/fontawesome-free/css/all.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/dist/css/adminlte.min.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/select2/css/select2.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/plugins/select2/css/select2.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/build/css/custom.css') }}\">
{% block stylesheets %}{% endblock %}
<script src=\"{{ asset('assets/plugins/jquery/jquery.min.js') }}\"></script>
</head>
<body class=\"hold-transition sidebar-mini\">
<div class=\"wrapper\">
{% include \"menu/navbar.html.twig\" %}
{% include \"menu/sidebar.html.twig\" %}
<div class=\"content-wrapper\">
<div class=\"content-header\">
<div class=\"container-fluid\">
<div class=\"row mb-2\">
<div class=\"col-sm-6\">
<h1 class=\"m-0\">
{% block pagetitle %}{% endblock %}
</h1>
</div>
<div class=\"col-sm-6\">
<ol class=\"breadcrumb float-sm-right\">
<li class=\"breadcrumb-item\">
<a href=\"#\">
Home
</a>
</li>
{% block breadcrumb %}{% endblock %}
</ol>
</div>
</div>
</div>
</div>
<div class=\"container-fluid px-5\">
<div class=\"row\">
<div class=\"col-md-12\">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class=\"row alert alert-{{ label }} alert-dismissible\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">
×
</button>
<h4 class=\"mr-4\">
<i class=\"icon fa fa-{% if label=='success' %}check {% else %}ban {% endif %}\"></i>
</h4>
{{ message }}
</div>
{% endfor %}
{% endfor %}
</div>
</div>
</div>
<div class=\"content\">
<div class=\"container-fluid\">
{% block body %}{% endblock %}
</div>
</div>
</div>
<footer class=\"main-footer\">
<div class=\"float-right d-none d-sm-inline\">
Project Followup
</div>
<strong>
Copyright ©
{{ 'now' | date('Y') }}
</strong>
All rights reserved.
</footer>
</div>
<script src=\"{{ asset('assets/plugins/bootstrap/js/bootstrap.bundle.min.js') }}\"></script>
<script src=\"{{ asset('assets/plugins/moment/moment.min.js') }}\"></script>
<script src=\"{{ asset('assets/dist/js/adminlte.js') }}\"></script>
<script src=\"{{ asset('assets/plugins/select2/js/select2.full.min.js') }}\"></script>
<script>
\t\t\$(function () {
\t\t\t//Initialize Select2 Elements
\t\t\t\$('.select2').select2()
\t\t\t//Initialize Select2 Elements
\t\t\t\$('.select2bs4').select2({
\t\t\ttheme: 'bootstrap4'
\t\t\t})
\t\t});
\t\t</script>
<script>
\t\t\t\$(document).ready(function(){
\t\t\t\t\$(\".nav-sidebar\").find(\".active\").removeClass(\"active\");
\t\t\t\tvar path = window.location.href;
\t\t\t\t\$('.nav-item a').each(function() {
\t\t\t\t\tif (this.href === path) {
\t\t\t\t\t\t\$(this).addClass('active');
\t\t\t\t\t\t\$(this).closest('.has-treeview').addClass('menu-open active');
\t\t\t\t\t}
\t\t\t\t});
\t\t\t})
\t\t</script>
{% block javascripts %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/project.digitalethiopia.gov.et/templates/base.html.twig");
}
}