var/cache/dev/twig/44/44d721d97641998ad0949c1231dae8fefcfdaac38ca2bf4edff6400ba0c4c5ad.php line 233

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. /* base.html.twig */
  14. class __TwigTemplate_f3928ba2b2313a2335c56125058bdb1926991571f8821f2bbf0d242e4bd94bfe extends 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.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'content' => [$this'block_content'],
  28.             'scripts' => [$this'block_scripts'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html lang=\"";
  42.         // line 2
  43.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  44.         echo "\">
  45. <head>
  46.     <meta charset=\"UTF-8\">
  47.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.     <link rel=\"manifest\" href=\"";
  49.         // line 7
  50.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html"nulltrue);
  51.         echo "\">
  52.     <meta name=\"mobile-web-app-capable\" content=\"yes\">
  53.     <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  54.     <meta name=\"application-name\" content=\"Part-DB\">
  55.     <meta name=\"apple-mobile-web-app-title\" content=\"Part-DB\">
  56.     <meta name=\"msapplication-config\" content=\"";
  57.         // line 13
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/browserconfig.xml"), "html"nulltrue);
  59.         echo "\">
  60.     <meta name=\"theme-color\" content=\"#ffffff\">
  61.     <meta name=\"theme-color\" content=\"#ffffff\">
  62.     <meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
  63.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
  64.     <meta name=\"msapplication-starturl\" content=\"/en/\">
  65.     <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"";
  66.         // line 21
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon.ico"), "html"nulltrue);
  68.         echo "\">
  69.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
  70.         // line 22
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/apple-touch-icon.png"), "html"nulltrue);
  72.         echo "\">
  73.     <link rel=\"icon\" type=\"image/png\" href=\"";
  74.         // line 23
  75.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon-32x32.png"), "html"nulltrue);
  76.         echo "\" sizes=\"32x32\">
  77.     <link rel=\"icon\" type=\"image/png\" href=\"";
  78.         // line 24
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/favicon-16x16.png"), "html"nulltrue);
  80.         echo "\" sizes=\"16x16\">
  81.     <link rel=\"mask-icon\" href=\"";
  82.         // line 25
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("icons/safari-pinned-tab.svg"), "html"nulltrue);
  84.         echo "\" color=\"#5bbad5\">
  85.     <title>";
  86.         // line 28
  87.         ob_start();
  88.         $this->displayBlock('title'$context$blocks);
  89.         $___internal_8dca521fb0723e2b389850d5a94b0cde03e98e80915a77166c526fd12c1ecad3_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  90.         echo twig_escape_filter($this->envtwig_trim_filter($___internal_8dca521fb0723e2b389850d5a94b0cde03e98e80915a77166c526fd12c1ecad3_), "html"nulltrue);
  91.         echo "</title>
  92.     ";
  93.         // line 29
  94.         $this->displayBlock('stylesheets'$context$blocks);
  95.         // line 50
  96.         echo "</head>
  97. <body data-base-url=\"";
  98.         // line 51
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage", ["_locale" => twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse51), "locale", [], "any"falsefalsefalse51)]), "html"nulltrue);
  100.         echo "\">
  101. ";
  102.         // line 52
  103.         $this->displayBlock('body'$context$blocks);
  104.         // line 122
  105.         $this->displayBlock('javascripts'$context$blocks);
  106.         // line 126
  107.         echo "</body>
  108. </html>
  109. ";
  110.         
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  112.         
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  114.     }
  115.     // line 28
  116.     public function block_title($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  123.         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"nulltrue);
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     // line 29
  130.     public function block_stylesheets($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  137.         // line 30
  138.         echo "        ";
  139.         // line 31
  140.         echo "
  141.         ";
  142.         // line 34
  143.         if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse34), "theme", [], "any"truetruefalse34)) {
  144.             // line 35
  145.             echo "            ";
  146.             $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); })());
  147.             // line 36
  148.             echo "        ";
  149.         } else {
  150.             // line 37
  151.             echo "            ";
  152.             $context["theme"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse37), "theme", [], "any"falsefalsefalse37);
  153.             // line 38
  154.             echo "        ";
  155.         }
  156.         // line 39
  157.         echo "
  158.         ";
  159.         // line 42
  160.         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")))) {
  161.             // line 43
  162.             echo "            <link rel=\"stylesheet\" href=\"";
  163.             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"nulltrue);
  164.             echo "\">
  165.         ";
  166.         } else {
  167.             // line 45
  168.             echo "            <link rel=\"stylesheet\" href=\"";
  169.             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"nulltrue);
  170.             echo "\">
  171.         ";
  172.         }
  173.         // line 47
  174.         echo "
  175.         ";
  176.         // line 48
  177.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  178.         echo "
  179.     ";
  180.         
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  182.         
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  184.     }
  185.     // line 52
  186.     public function block_body($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  193.         // line 53
  194.         echo "
  195.     <header>
  196.         ";
  197.         // line 56
  198.         $this->loadTemplate("_navbar.html.twig""base.html.twig"56)->display($context);
  199.         // line 57
  200.         echo "
  201.         ";
  202.         // line 58
  203.         $this->loadTemplate("_flash.html.twig""base.html.twig"58)->display($context);
  204.         // line 59
  205.         echo "
  206.     </header>
  207.     <main>
  208.         <div class=\"container-fluid\">
  209.             <div class=\"row\">
  210.                 <div class=\"collapse d-md-block bg-light\" id=\"sidebar-container\">
  211.                     <nav  class=\"fixed-sidebar col-md-3 col-lg-2 \" id=\"fixed-sidebar\">
  212.                         ";
  213.         // line 67
  214.         $this->loadTemplate("_sidebar.html.twig""base.html.twig"67)->display($context);
  215.         // line 68
  216.         echo "                        <noscript><b>";
  217.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("vendor.base.javascript_hint", [], "messages");
  218.         echo "</b></noscript>
  219.                     </nav>
  220.                 </div>
  221.                 <div class=\"col-md-9 col-lg-10 offset-md-3 offset-lg-2 pl-0\" id=\"main\">
  222.                     <button class=\"btn btn-outline-dark btn-sm p-0\" type=\"button\" id=\"sidebar-toggle-button\" title=\"";
  223.         // line 73
  224.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("sidebar.big.toggle", [], "messages");
  225.         echo "\">
  226.                         <i class=\"fas fa-angle-left\"></i>
  227.                     </button>
  228.                     <div class=\"container-fluid mr-0 pr-0\" id=\"content\">
  229.                         <div id=\"content-data\">
  230.                             ";
  231.         // line 79
  232.         echo "
  233.                             ";
  234.         // line 80
  235.         $this->displayBlock('content'$context$blocks);
  236.         // line 82
  237.         echo "
  238.                         </div>
  239.                         ";
  240.         // line 85
  241.         $this->displayBlock('scripts'$context$blocks);
  242.         // line 88
  243.         echo "                    </div>
  244.                 </div>
  245.             </div>
  246.         </div>
  247.     </main>
  248.     ";
  249.         // line 95
  250.         echo "    <div class=\"modal border-primary\" id=\"progressModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  251.         <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
  252.             <div class=\"modal-content shadow-lg\">
  253.                 <div class=\"modal-header\">
  254.                     <h5 class=\"modal-title\" id=\"exampleModalLabel\">";
  255.         // line 99
  256.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.caption", [], "messages");
  257.         // line 100
  258.         echo "                        <small class=\"text-muted\">";
  259.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.message", [], "messages");
  260.         echo "</small></h5>
  261.                 </div>
  262.                 <div class=\"modal-body\">
  263.                     <div class=\"progress-bar progress-bar-striped active progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"100\" aria-valuemin=\"0\"
  264.                          aria-valuemax=\"100\" style=\"width: 100%;\">
  265.                         <span>";
  266.         // line 105
  267.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("loading.bar", [], "messages");
  268.         echo "</span>
  269.                     </div>
  270.                 </div>
  271.             </div>
  272.         </div>
  273.     </div>
  274.     ";
  275.         // line 113
  276.         echo "
  277.     <!-- Back to top button -->
  278.     <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary back-to-top\" data-no-ajax role=\"button\"
  279.        title=\"";
  280.         // line 116
  281.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("back_to_top", [], "messages");
  282.         echo "\" data-toggle=\"tooltip\" data-placement=\"left\">
  283.         <i class=\"fas fa-angle-up fa-fw\"></i>
  284.     </a>
  285. ";
  286.         
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  288.         
  289.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  290.     }
  291.     // line 80
  292.     public function block_content($context, array $blocks = [])
  293.     {
  294.         $macros $this->macros;
  295.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  297.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  299.         // line 81
  300.         echo "                            ";
  301.         
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  303.         
  304.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  305.     }
  306.     // line 85
  307.     public function block_scripts($context, array $blocks = [])
  308.     {
  309.         $macros $this->macros;
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  312.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  313.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  314.         // line 86
  315.         echo "
  316.                         ";
  317.         
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  319.         
  320.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  321.     }
  322.     // line 122
  323.     public function block_javascripts($context, array $blocks = [])
  324.     {
  325.         $macros $this->macros;
  326.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  327.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  329.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  330.         // line 123
  331.         echo "    ";
  332.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  333.         echo "
  334.     ";
  335.         // line 124
  336.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("ru2ftwofactor");
  337.         echo "
  338. ";
  339.         
  340.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  341.         
  342.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  343.     }
  344.     public function getTemplateName()
  345.     {
  346.         return "base.html.twig";
  347.     }
  348.     public function isTraitable()
  349.     {
  350.         return false;
  351.     }
  352.     public function getDebugInfo()
  353.     {
  354.         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,);
  355.     }
  356.     public function getSourceContext()
  357.     {
  358.         return new Source("<!DOCTYPE html>
  359. <html lang=\"{{ app.request.locale }}\">
  360. <head>
  361.     <meta charset=\"UTF-8\">
  362.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  363.     <link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
  364.     <meta name=\"mobile-web-app-capable\" content=\"yes\">
  365.     <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  366.     <meta name=\"application-name\" content=\"Part-DB\">
  367.     <meta name=\"apple-mobile-web-app-title\" content=\"Part-DB\">
  368.     <meta name=\"msapplication-config\" content=\"{{ asset('icons/browserconfig.xml') }}\">
  369.     <meta name=\"theme-color\" content=\"#ffffff\">
  370.     <meta name=\"theme-color\" content=\"#ffffff\">
  371.     <meta name=\"msapplication-navbutton-color\" content=\"#ffffff\">
  372.     <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
  373.     <meta name=\"msapplication-starturl\" content=\"/en/\">
  374.     <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{{ asset('icons/favicon.ico') }}\">
  375.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('icons/apple-touch-icon.png') }}\">
  376.     <link rel=\"icon\" type=\"image/png\" href=\"{{ asset('icons/favicon-32x32.png') }}\" sizes=\"32x32\">
  377.     <link rel=\"icon\" type=\"image/png\" href=\"{{  asset('icons/favicon-16x16.png') }}\" sizes=\"16x16\">
  378.     <link rel=\"mask-icon\" href=\"{{ asset('icons/safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
  379.     <title>{% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %}</title>
  380.     {% block stylesheets %}
  381.         {# Include the main bootstrap theme based on user/global setting #}
  382.         {% if not app.user.theme is defined %}
  383.             {% set theme = global_theme %}
  384.         {% else %}
  385.             {% set theme = app.user.theme %}
  386.         {% endif %}
  387.         {% if theme and theme in constant('App\\\\Entity\\\\UserSystem\\\\User::AVAILABLE_THEMES') %}
  388.             <link rel=\"stylesheet\" href=\"{{ preload(asset('build/themes/' ~ theme ~ '.css'), {as: 'style'}) }}\">
  389.         {% else %}
  390.             <link rel=\"stylesheet\" href=\"{{ preload(asset('build/themes/bootstrap.css'), {as: 'style'}) }}\">
  391.         {% endif %}
  392.         {{ encore_entry_link_tags('app') }}
  393.     {% endblock %}
  394. </head>
  395. <body data-base-url=\"{{ url('homepage', {'_locale': app.request.locale}) }}\">
  396. {% block body %}
  397.     <header>
  398.         {% include \"_navbar.html.twig\" %}
  399.         {% include \"_flash.html.twig\" %}
  400.     </header>
  401.     <main>
  402.         <div class=\"container-fluid\">
  403.             <div class=\"row\">
  404.                 <div class=\"collapse d-md-block bg-light\" id=\"sidebar-container\">
  405.                     <nav  class=\"fixed-sidebar col-md-3 col-lg-2 \" id=\"fixed-sidebar\">
  406.                         {% include \"_sidebar.html.twig\" %}
  407.                         <noscript><b>{% trans %}vendor.base.javascript_hint{% endtrans %}</b></noscript>
  408.                     </nav>
  409.                 </div>
  410.                 <div class=\"col-md-9 col-lg-10 offset-md-3 offset-lg-2 pl-0\" id=\"main\">
  411.                     <button class=\"btn btn-outline-dark btn-sm p-0\" type=\"button\" id=\"sidebar-toggle-button\" title=\"{% trans %}sidebar.big.toggle{% endtrans %}\">
  412.                         <i class=\"fas fa-angle-left\"></i>
  413.                     </button>
  414.                     <div class=\"container-fluid mr-0 pr-0\" id=\"content\">
  415.                         <div id=\"content-data\">
  416.                             {# Here will be the real content be injected#}
  417.                             {% block content %}
  418.                             {% endblock %}
  419.                         </div>
  420.                         {% block scripts %}
  421.                         {% endblock %}
  422.                     </div>
  423.                 </div>
  424.             </div>
  425.         </div>
  426.     </main>
  427.     {# Modal for loading bar #}
  428.     <div class=\"modal border-primary\" id=\"progressModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  429.         <div class=\"modal-dialog modal-dialog-centered modal-lg\" role=\"document\">
  430.             <div class=\"modal-content shadow-lg\">
  431.                 <div class=\"modal-header\">
  432.                     <h5 class=\"modal-title\" id=\"exampleModalLabel\">{% trans %}loading.caption{% endtrans %}
  433.                         <small class=\"text-muted\">{% trans %}loading.message{% endtrans %}</small></h5>
  434.                 </div>
  435.                 <div class=\"modal-body\">
  436.                     <div class=\"progress-bar progress-bar-striped active progress-bar-animated\" role=\"progressbar\" aria-valuenow=\"100\" aria-valuemin=\"0\"
  437.                          aria-valuemax=\"100\" style=\"width: 100%;\">
  438.                         <span>{% trans %}loading.bar{% endtrans %}</span>
  439.                     </div>
  440.                 </div>
  441.             </div>
  442.         </div>
  443.     </div>
  444.     {# Back to top buton #}
  445.     <!-- Back to top button -->
  446.     <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary back-to-top\" data-no-ajax role=\"button\"
  447.        title=\"{% trans %}back_to_top{% endtrans %}\" data-toggle=\"tooltip\" data-placement=\"left\">
  448.         <i class=\"fas fa-angle-up fa-fw\"></i>
  449.     </a>
  450. {% endblock %}
  451. {% block javascripts %}
  452.     {{ encore_entry_script_tags('app') }}
  453.     {{ encore_entry_script_tags('ru2ftwofactor') }}
  454. {% endblock %}
  455. </body>
  456. </html>
  457. ""base.html.twig""/var/www/part-db/templates/base.html.twig");
  458.     }
  459. }