<?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;
/* base.html.twig */
class __TwigTemplate_f3928ba2b2313a2335c56125058bdb1926991571f8821f2bbf0d242e4bd94bfe 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'],
'body' => [$this, 'block_body'],
'content' => [$this, 'block_content'],
'scripts' => [$this, 'block_scripts'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"manifest\" href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html", null, true);
echo "\">
<meta name=\"mobile-web-app-capable\" content=\"yes\">
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
<meta name=\"application-name\" content=\"Part-DB\">
<meta name=\"apple-mobile-web-app-title\" content=\"Part-DB\">
<meta name=\"msapplication-config\" content=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/browserconfig.xml"), "html", null, true);
echo "\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
<meta name=\"msapplication-starturl\" content=\"/en/\">
<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon.ico"), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/apple-touch-icon.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon-32x32.png"), "html", null, true);
echo "\" sizes=\"32x32\">
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon-16x16.png"), "html", null, true);
echo "\" sizes=\"16x16\">
<link rel=\"mask-icon\" href=\"";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/safari-pinned-tab.svg"), "html", null, true);
echo "\" color=\"#5bbad5\">
<title>";
// line 28
ob_start();
$this->displayBlock('title', $context, $blocks);
$___internal_8dca521fb0723e2b389850d5a94b0cde03e98e80915a77166c526fd12c1ecad3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, twig_trim_filter($___internal_8dca521fb0723e2b389850d5a94b0cde03e98e80915a77166c526fd12c1ecad3_), "html", null, true);
echo "</title>
";
// line 29
$this->displayBlock('stylesheets', $context, $blocks);
// line 50
echo "</head>
<body data-base-url=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage", ["_locale" => twig_get_attribute($this->env, $this->source, twig_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.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "locale", [], "any", false, false, false, 51)]), "html", null, true);
echo "\">
";
// line 52
$this->displayBlock('body', $context, $blocks);
// line 122
$this->displayBlock('javascripts', $context, $blocks);
// line 126
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 28
public function block_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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, (isset($context["partdb_title"]) || array_key_exists("partdb_title", $context) ? $context["partdb_title"] : (function () { throw new RuntimeError('Variable "partdb_title" does not exist.', 28, $this->source); })()), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 30
echo " ";
// line 31
echo "
";
// line 34
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 34), "theme", [], "any", true, true, false, 34)) {
// line 35
echo " ";
$context["theme"] = (isset($context["global_theme"]) || array_key_exists("global_theme", $context) ? $context["global_theme"] : (function () { throw new RuntimeError('Variable "global_theme" does not exist.', 35, $this->source); })());
// line 36
echo " ";
} else {
// line 37
echo " ";
$context["theme"] = twig_get_attribute($this->env, $this->source, twig_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.', 37, $this->source); })()), "user", [], "any", false, false, false, 37), "theme", [], "any", false, false, false, 37);
// line 38
echo " ";
}
// line 39
echo "
";
// line 42
if (((isset($context["theme"]) || array_key_exists("theme", $context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.', 42, $this->source); })()) && twig_in_filter((isset($context["theme"]) || array_key_exists("theme", $context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.', 42, $this->source); })()), twig_constant("App\\Entity\\UserSystem\\User::AVAILABLE_THEMES")))) {
// line 43
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/themes/" . (isset($context["theme"]) || array_key_exists("theme", $context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.', 43, $this->source); })())) . ".css")), ["as" => "style"]), "html", null, true);
echo "\">
";
} else {
// line 45
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/themes/bootstrap.css"), ["as" => "style"]), "html", null, true);
echo "\">
";
}
// line 47
echo "
";
// line 48
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 52
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 53
echo "
<header>
";
// line 56
$this->loadTemplate("_navbar.html.twig", "base.html.twig", 56)->display($context);
// line 57
echo "
";
// line 58
$this->loadTemplate("_flash.html.twig", "base.html.twig", 58)->display($context);
// line 59
echo "
</header>
<main>
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"collapse d-md-block bg-light\" id=\"sidebar-container\">
<nav class=\"fixed-sidebar col-md-3 col-lg-2 \" id=\"fixed-sidebar\">
";
// line 67
$this->loadTemplate("_sidebar.html.twig", "base.html.twig", 67)->display($context);
// line 68
echo " <noscript><b>";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("vendor.base.javascript_hint", [], "messages");
echo "</b></noscript>
</nav>
</div>
<div class=\"col-md-9 col-lg-10 offset-md-3 offset-lg-2 pl-0\" id=\"main\">
<button class=\"btn btn-outline-dark btn-sm p-0\" type=\"button\" id=\"sidebar-toggle-button\" title=\"";
// line 73
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("sidebar.big.toggle", [], "messages");
echo "\">
<i class=\"fas fa-angle-left\"></i>
</button>
<div class=\"container-fluid mr-0 pr-0\" id=\"content\">
<div id=\"content-data\">
";
// line 79
echo "
";
// line 80
$this->displayBlock('content', $context, $blocks);
// line 82
echo "
</div>
";
// line 85
$this->displayBlock('scripts', $context, $blocks);
// line 88
echo " </div>
</div>
</div>
</div>
</main>
";
// line 95
echo " <div class=\"modal border-primary\" id=\"progressModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
<div class=\"modal-content shadow-lg\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">";
// line 99
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.caption", [], "messages");
// line 100
echo " <small class=\"text-muted\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.message", [], "messages");
echo "</small></h5>
</div>
<div class=\"modal-body\">
<div class=\"progress-bar progress-bar-striped active progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"100\" aria-valuemin=\"0\"
aria-valuemax=\"100\" style=\"width: 100%;\">
<span>";
// line 105
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.bar", [], "messages");
echo "</span>
</div>
</div>
</div>
</div>
</div>
";
// line 113
echo "
<!-- Back to top button -->
<a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary back-to-top\" data-no-ajax role=\"button\"
title=\"";
// line 116
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("back_to_top", [], "messages");
echo "\" data-toggle=\"tooltip\" data-placement=\"left\">
<i class=\"fas fa-angle-up fa-fw\"></i>
</a>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 80
public function block_content($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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 81
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 85
public function block_scripts($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", "scripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 86
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 122
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 123
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 124
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("ru2ftwofactor");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 393 => 124, 388 => 123, 378 => 122, 367 => 86, 357 => 85, 347 => 81, 337 => 80, 321 => 116, 316 => 113, 306 => 105, 297 => 100, 295 => 99, 289 => 95, 281 => 88, 279 => 85, 274 => 82, 272 => 80, 269 => 79, 261 => 73, 252 => 68, 250 => 67, 240 => 59, 238 => 58, 235 => 57, 233 => 56, 228 => 53, 218 => 52, 206 => 48, 203 => 47, 197 => 45, 191 => 43, 189 => 42, 184 => 39, 181 => 38, 178 => 37, 175 => 36, 172 => 35, 170 => 34, 165 => 31, 163 => 30, 153 => 29, 134 => 28, 122 => 126, 120 => 122, 118 => 52, 114 => 51, 111 => 50, 109 => 29, 102 => 28, 96 => 25, 92 => 24, 88 => 23, 84 => 22, 80 => 21, 69 => 13, 60 => 7, 52 => 2, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
<meta name=\"mobile-web-app-capable\" content=\"yes\">
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
<meta name=\"application-name\" content=\"Part-DB\">
<meta name=\"apple-mobile-web-app-title\" content=\"Part-DB\">
<meta name=\"msapplication-config\" content=\"{{ asset('icons/browserconfig.xml') }}\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"theme-color\" content=\"#ffffff\">
<meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
<meta name=\"msapplication-starturl\" content=\"/en/\">
<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{{ asset('icons/favicon.ico') }}\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('icons/apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('icons/favicon-32x32.png') }}\" sizes=\"32x32\">
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset('icons/favicon-16x16.png') }}\" sizes=\"16x16\">
<link rel=\"mask-icon\" href=\"{{ asset('icons/safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
<title>{% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %}</title>
{% block stylesheets %}
{# Include the main bootstrap theme based on user/global setting #}
{% if not app.user.theme is defined %}
{% set theme = global_theme %}
{% else %}
{% set theme = app.user.theme %}
{% endif %}
{% if theme and theme in constant('App\\\\Entity\\\\UserSystem\\\\User::AVAILABLE_THEMES') %}
<link rel=\"stylesheet\" href=\"{{ preload(asset('build/themes/' ~ theme ~ '.css'), {as: 'style'}) }}\">
{% else %}
<link rel=\"stylesheet\" href=\"{{ preload(asset('build/themes/bootstrap.css'), {as: 'style'}) }}\">
{% endif %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
</head>
<body data-base-url=\"{{ url('homepage', {'_locale': app.request.locale}) }}\">
{% block body %}
<header>
{% include \"_navbar.html.twig\" %}
{% include \"_flash.html.twig\" %}
</header>
<main>
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"collapse d-md-block bg-light\" id=\"sidebar-container\">
<nav class=\"fixed-sidebar col-md-3 col-lg-2 \" id=\"fixed-sidebar\">
{% include \"_sidebar.html.twig\" %}
<noscript><b>{% trans %}vendor.base.javascript_hint{% endtrans %}</b></noscript>
</nav>
</div>
<div class=\"col-md-9 col-lg-10 offset-md-3 offset-lg-2 pl-0\" id=\"main\">
<button class=\"btn btn-outline-dark btn-sm p-0\" type=\"button\" id=\"sidebar-toggle-button\" title=\"{% trans %}sidebar.big.toggle{% endtrans %}\">
<i class=\"fas fa-angle-left\"></i>
</button>
<div class=\"container-fluid mr-0 pr-0\" id=\"content\">
<div id=\"content-data\">
{# Here will be the real content be injected#}
{% block content %}
{% endblock %}
</div>
{% block scripts %}
{% endblock %}
</div>
</div>
</div>
</div>
</main>
{# Modal for loading bar #}
<div class=\"modal border-primary\" id=\"progressModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
<div class=\"modal-content shadow-lg\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"exampleModalLabel\">{% trans %}loading.caption{% endtrans %}
<small class=\"text-muted\">{% trans %}loading.message{% endtrans %}</small></h5>
</div>
<div class=\"modal-body\">
<div class=\"progress-bar progress-bar-striped active progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"100\" aria-valuemin=\"0\"
aria-valuemax=\"100\" style=\"width: 100%;\">
<span>{% trans %}loading.bar{% endtrans %}</span>
</div>
</div>
</div>
</div>
</div>
{# Back to top buton #}
<!-- Back to top button -->
<a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary back-to-top\" data-no-ajax role=\"button\"
title=\"{% trans %}back_to_top{% endtrans %}\" data-toggle=\"tooltip\" data-placement=\"left\">
<i class=\"fas fa-angle-up fa-fw\"></i>
</a>
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('ru2ftwofactor') }}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/part-db/templates/base.html.twig");
}
}