var/cache/dev/twig/f9/f9025ee72e492f806be31040a6e3634b918333bc60a2b53e381ec0f0d13f4972.php line 80

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. /* back.html.twig */
  14. class __TwigTemplate_015530c9a7ad73605499955bf05285238ad72e659be45f207ebc2bfac6bc773d 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.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""back.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""back.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40. <head>
  41.     <meta charset=\"UTF-8\">
  42.     <title>GLAPP :: ";
  43.         // line 5
  44.         $this->displayBlock('title'$context$blocks);
  45.         echo "</title>
  46.     <link href=\"";
  47.         // line 6
  48.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/all.min.css"), "html"nulltrue);
  49.         echo "\" rel=\"stylesheet\">
  50.     <link href=\"";
  51.         // line 7
  52.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.min.css"), "html"nulltrue);
  53.         echo "\" rel=\"stylesheet\">
  54.     <link href=\"";
  55.         // line 8
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/back.css"), "html"nulltrue);
  57.         echo "\" rel=\"stylesheet\">
  58.     <link href=\"";
  59.         // line 9
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/select2.min.css"), "html"nulltrue);
  61.         echo "\" rel=\"stylesheet\">
  62.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"/>
  63.     ";
  64.         // line 11
  65.         $this->displayBlock('stylesheets'$context$blocks);
  66.         // line 12
  67.         echo "</head>
  68. <body>
  69. ";
  70.         // line 14
  71.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  72.             // line 15
  73.             echo "
  74.     <nav class=\"navbar navbar-expand-lg navbar-dark bg-dark\">
  75.         <a class=\"navbar-brand\" href=\"";
  76.             // line 17
  77.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueil_back");
  78.             echo "\">";
  79.             echo twig_escape_filter($this->env$this->extensions['App\Twig\AppExtension']->getParam("param_title"), "html"nulltrue);
  80.             echo "</a>
  81.         <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\"
  82.                 aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  83.             <span class=\"navbar-toggler-icon\"></span>
  84.         </button>
  85.         <div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
  86.             <ul class=\"navbar-nav mr-auto\">
  87.                 ";
  88.             // line 25
  89.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
  90.                 // line 26
  91.                 echo "                <li class=\"nav-item\">
  92.                     <a class=\"nav-link\" href=\"";
  93.                 // line 27
  94.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
  95.                 echo "\">Benutzer</a>
  96.                 </li>
  97.                 ";
  98.             }
  99.             // line 30
  100.             echo "                <li class=\"nav-item\">
  101.                     <a class=\"nav-link\" href=\"";
  102.             // line 31
  103.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("client_index");
  104.             echo "\">Kunden</a>
  105.                 </li>
  106.                 ";
  107.             // line 34
  108.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
  109.                 // line 35
  110.                 echo "                <li class=\"nav-item\">
  111.                     <a class=\"nav-link\" href=\"";
  112.                 // line 36
  113.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_index");
  114.                 echo "\">Produkte</a>
  115.                 </li>
  116.                     ";
  117.             }
  118.             // line 39
  119.             echo "                <li class=\"nav-item\">
  120.                     <a class=\"nav-link\" href=\"";
  121.             // line 40
  122.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("piece_index");
  123.             echo "\">Verkauf</a>
  124.                 </li>
  125.                 <li class=\"nav-item\">
  126.                     <a class=\"nav-link\" href=\"";
  127.             // line 43
  128.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("payment_index");
  129.             echo "\">Zahlungen</a>
  130.                 </li>
  131.                 ";
  132.             // line 46
  133.             if ((=== twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
  134.                 // line 47
  135.                 echo "
  136.                 ";
  137.                 // line 48
  138.                 if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
  139.                     // line 49
  140.                     echo "                <li class=\"nav-item\">
  141.                     <a class=\"nav-link\" href=\"";
  142.                     // line 50
  143.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exercice_category_index");
  144.                     echo "\">Catégories Exercices</a>
  145.                 </li>
  146.                 <li class=\"nav-item\">
  147.                     <a class=\"nav-link\" href=\"";
  148.                     // line 53
  149.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exercice_index");
  150.                     echo "\">Exercices</a>
  151.                 </li>
  152.                 ";
  153.                 }
  154.                 // line 56
  155.                 echo "                <li class=\"nav-item\">
  156.                     <a class=\"nav-link\" href=\"";
  157.                 // line 57
  158.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programm_index");
  159.                 echo "\">Programmes</a>
  160.                 </li>
  161.                 ";
  162.             }
  163.             // line 61
  164.             echo "
  165.                 ";
  166.             // line 62
  167.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
  168.                 // line 63
  169.                 echo "                <li class=\"nav-item\">
  170.                     <a class=\"nav-link\" href=\"";
  171.                 // line 64
  172.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ligne_vente_index");
  173.                 echo "\">Verkauf/Produkte</a>
  174.                 </li>
  175.                     ";
  176.                 // line 66
  177.                 if ((=== twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
  178.                     // line 67
  179.                     echo "                    <li class=\"nav-item dropdown\">
  180.                         <a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\"
  181.                            data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  182.                             Diète
  183.                         </a>
  184.                         <div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
  185.                             <a class=\"dropdown-item\" href=\"";
  186.                     // line 73
  187.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programme_index");
  188.                     echo "\">Programme</a>
  189.                             <div class=\"dropdown-divider\"></div>
  190.                             <a class=\"dropdown-item\" href=\"";
  191.                     // line 75
  192.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_aliment_index");
  193.                     echo "\">Catégorie aliment</a>
  194.                             <a class=\"dropdown-item\" href=\"";
  195.                     // line 76
  196.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aliment_index");
  197.                     echo "\">Aliment</a>
  198.                         </div>
  199.                     </li>
  200.                     ";
  201.                 }
  202.                 // line 80
  203.                 echo "                ";
  204.             } elseif ((=== twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
  205.                 // line 81
  206.                 echo "                    <li class=\"nav-item\">
  207.                         <a class=\"nav-link\" href=\"";
  208.                 // line 82
  209.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programme_index");
  210.                 echo "\">Programme diète</a>
  211.                     </li>
  212.                 ";
  213.             }
  214.             // line 85
  215.             echo "            </ul>
  216.             <ul class=\"navbar-nav my-2 my-lg-0\">
  217.                 <li class=\"nav-item\">
  218.                     <a class=\"nav-link\" href=\"";
  219.             // line 88
  220.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_profile");
  221.             echo "\"><span class=\"fa fa-user\"></span> ";
  222.             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.'88$this->source); })()), "user", [], "any"falsefalsefalse88), "nomComplet", [], "any"falsefalsefalse88), "html"nulltrue);
  223.             echo "</a>
  224.                 </li>
  225.                 ";
  226.             // line 90
  227.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
  228.                 // line 91
  229.                 echo "                    <li class=\"nav-item\">
  230.                         <a class=\"nav-link\" href=\"";
  231.                 // line 92
  232.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_config");
  233.                 echo "\"><span class=\"fa fa-cogs\"></span> Configuration</a>
  234.                     </li>
  235.                 ";
  236.             }
  237.             // line 95
  238.             echo "                <li class=\"nav-item\">
  239.                     <a class=\"nav-link\" href=\"";
  240.             // line 96
  241.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  242.             echo "\"><span class=\"fa fa-sign-out-alt\"></span>
  243.                         Déconnection</a>
  244.                 </li>
  245.             </ul>
  246.         </div>
  247.     </nav>
  248. ";
  249.         }
  250.         // line 103
  251.         echo "<div class=\"container-fluid p_t_20 m_b_20\">
  252.     ";
  253.         // line 104
  254.         $context['_parent'] = $context;
  255.         $context['_seq'] = twig_ensure_traversable([=> "danger"=> "info"=> "success"]);
  256.         foreach ($context['_seq'] as $context["_key"] => $context["type"]) {
  257.             // line 105
  258.             echo "        ";
  259.             $context['_parent'] = $context;
  260.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'105$this->source); })()), "session", [], "any"falsefalsefalse105), "flashBag", [], "any"falsefalsefalse105), "get", [=> $context["type"]], "method"falsefalsefalse105));
  261.             foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
  262.                 // line 106
  263.                 echo "            <div class=\"alert alert-";
  264.                 echo twig_escape_filter($this->env$context["type"], "html"nulltrue);
  265.                 echo " m_t_20\" role=\"alert\">
  266.                 ";
  267.                 // line 107
  268.                 echo twig_escape_filter($this->env$context["flash_message"], "html"nulltrue);
  269.                 echo "
  270.             </div>
  271.         ";
  272.             }
  273.             $_parent $context['_parent'];
  274.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
  275.             $context array_intersect_key($context$_parent) + $_parent;
  276.             // line 110
  277.             echo "    ";
  278.         }
  279.         $_parent $context['_parent'];
  280.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['type'], $context['_parent'], $context['loop']);
  281.         $context array_intersect_key($context$_parent) + $_parent;
  282.         // line 111
  283.         echo "
  284.     ";
  285.         // line 112
  286.         $this->displayBlock('body'$context$blocks);
  287.         // line 113
  288.         echo "</div>
  289. <script src=\"";
  290.         // line 114
  291.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-3.4.1.min.js"), "html"nulltrue);
  292.         echo "\"></script>
  293. <script src=\"";
  294.         // line 115
  295.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.min.js"), "html"nulltrue);
  296.         echo "\"></script>
  297. <script src=\"";
  298.         // line 116
  299.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/select2.min.js"), "html"nulltrue);
  300.         echo "\"></script>
  301. <script src=\"";
  302.         // line 117
  303.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/back.js"), "html"nulltrue);
  304.         echo "\"></script>
  305. ";
  306.         // line 118
  307.         $this->displayBlock('javascripts'$context$blocks);
  308.         // line 119
  309.         echo "</body>
  310. </html>
  311. ";
  312.         
  313.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  314.         
  315.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  316.     }
  317.     // line 5
  318.     public function block_title($context, array $blocks = [])
  319.     {
  320.         $macros $this->macros;
  321.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  322.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  323.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  324.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  325.         
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  327.         
  328.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  329.     }
  330.     // line 11
  331.     public function block_stylesheets($context, array $blocks = [])
  332.     {
  333.         $macros $this->macros;
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  338.         
  339.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  340.         
  341.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  342.     }
  343.     // line 112
  344.     public function block_body($context, array $blocks = [])
  345.     {
  346.         $macros $this->macros;
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  348.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  349.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  350.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  351.         
  352.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  353.         
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  355.     }
  356.     // line 118
  357.     public function block_javascripts($context, array $blocks = [])
  358.     {
  359.         $macros $this->macros;
  360.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  362.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  363.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  364.         
  365.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  366.         
  367.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  368.     }
  369.     public function getTemplateName()
  370.     {
  371.         return "back.html.twig";
  372.     }
  373.     public function isTraitable()
  374.     {
  375.         return false;
  376.     }
  377.     public function getDebugInfo()
  378.     {
  379.         return array (  388 => 118,  370 => 112,  352 => 11,  334 => 5,  322 => 119,  320 => 118,  316 => 117,  312 => 116,  308 => 115,  304 => 114,  301 => 113,  299 => 112,  296 => 111,  290 => 110,  281 => 107,  276 => 106,  271 => 105,  267 => 104,  264 => 103,  254 => 96,  251 => 95,  245 => 92,  242 => 91,  240 => 90,  233 => 88,  228 => 85,  222 => 82,  219 => 81,  216 => 80,  209 => 76,  205 => 75,  200 => 73,  192 => 67,  190 => 66,  185 => 64,  182 => 63,  180 => 62,  177 => 61,  170 => 57,  167 => 56,  161 => 53,  155 => 50,  152 => 49,  150 => 48,  147 => 47,  145 => 46,  139 => 43,  133 => 40,  130 => 39,  124 => 36,  121 => 35,  119 => 34,  113 => 31,  110 => 30,  104 => 27,  101 => 26,  99 => 25,  86 => 17,  82 => 15,  80 => 14,  76 => 12,  74 => 11,  69 => 9,  65 => 8,  61 => 7,  57 => 6,  53 => 5,  47 => 1,);
  380.     }
  381.     public function getSourceContext()
  382.     {
  383.         return new Source("<!DOCTYPE html>
  384. <html>
  385. <head>
  386.     <meta charset=\"UTF-8\">
  387.     <title>GLAPP :: {% block title %}{% endblock %}</title>
  388.     <link href=\"{{ asset('css/all.min.css') }}\" rel=\"stylesheet\">
  389.     <link href=\"{{ asset('css/bootstrap.min.css') }}\" rel=\"stylesheet\">
  390.     <link href=\"{{ asset('css/back.css') }}\" rel=\"stylesheet\">
  391.     <link href=\"{{ asset('css/select2.min.css') }}\" rel=\"stylesheet\">
  392.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"/>
  393.     {% block stylesheets %}{% endblock %}
  394. </head>
  395. <body>
  396. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  397.     <nav class=\"navbar navbar-expand-lg navbar-dark bg-dark\">
  398.         <a class=\"navbar-brand\" href=\"{{ path('accueil_back') }}\">{{ getParam('param_title') }}</a>
  399.         <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\"
  400.                 aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  401.             <span class=\"navbar-toggler-icon\"></span>
  402.         </button>
  403.         <div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
  404.             <ul class=\"navbar-nav mr-auto\">
  405.                 {% if is_granted('ROLE_SUPER_ADMIN') %}
  406.                 <li class=\"nav-item\">
  407.                     <a class=\"nav-link\" href=\"{{ path('user_index') }}\">Benutzer</a>
  408.                 </li>
  409.                 {% endif %}
  410.                 <li class=\"nav-item\">
  411.                     <a class=\"nav-link\" href=\"{{ path('client_index') }}\">Kunden</a>
  412.                 </li>
  413.                 {% if is_granted('ROLE_SUPER_ADMIN') %}
  414.                 <li class=\"nav-item\">
  415.                     <a class=\"nav-link\" href=\"{{ path('product_index') }}\">Produkte</a>
  416.                 </li>
  417.                     {% endif %}
  418.                 <li class=\"nav-item\">
  419.                     <a class=\"nav-link\" href=\"{{ path('piece_index') }}\">Verkauf</a>
  420.                 </li>
  421.                 <li class=\"nav-item\">
  422.                     <a class=\"nav-link\" href=\"{{ path('payment_index') }}\">Zahlungen</a>
  423.                 </li>
  424.                 {% if getParam('param_title') == 'IRON-APP' %}
  425.                 {% if is_granted('ROLE_SUPER_ADMIN') %}
  426.                 <li class=\"nav-item\">
  427.                     <a class=\"nav-link\" href=\"{{ path('exercice_category_index') }}\">Catégories Exercices</a>
  428.                 </li>
  429.                 <li class=\"nav-item\">
  430.                     <a class=\"nav-link\" href=\"{{ path('exercice_index') }}\">Exercices</a>
  431.                 </li>
  432.                 {% endif %}
  433.                 <li class=\"nav-item\">
  434.                     <a class=\"nav-link\" href=\"{{ path('programm_index') }}\">Programmes</a>
  435.                 </li>
  436.                 {% endif %}
  437.                 {% if is_granted('ROLE_SUPER_ADMIN') %}
  438.                 <li class=\"nav-item\">
  439.                     <a class=\"nav-link\" href=\"{{ path('ligne_vente_index') }}\">Verkauf/Produkte</a>
  440.                 </li>
  441.                     {% if getParam('param_title') == 'IRON-APP' %}
  442.                     <li class=\"nav-item dropdown\">
  443.                         <a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\"
  444.                            data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  445.                             Diète
  446.                         </a>
  447.                         <div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
  448.                             <a class=\"dropdown-item\" href=\"{{ path('programme_index') }}\">Programme</a>
  449.                             <div class=\"dropdown-divider\"></div>
  450.                             <a class=\"dropdown-item\" href=\"{{ path('category_aliment_index') }}\">Catégorie aliment</a>
  451.                             <a class=\"dropdown-item\" href=\"{{ path('aliment_index') }}\">Aliment</a>
  452.                         </div>
  453.                     </li>
  454.                     {% endif %}
  455.                 {% elseif getParam('param_title') == 'IRON-APP' %}
  456.                     <li class=\"nav-item\">
  457.                         <a class=\"nav-link\" href=\"{{ path('programme_index') }}\">Programme diète</a>
  458.                     </li>
  459.                 {% endif %}
  460.             </ul>
  461.             <ul class=\"navbar-nav my-2 my-lg-0\">
  462.                 <li class=\"nav-item\">
  463.                     <a class=\"nav-link\" href=\"{{ path('user_profile') }}\"><span class=\"fa fa-user\"></span> {{ app.user.nomComplet }}</a>
  464.                 </li>
  465.                 {% if is_granted('ROLE_SUPER_ADMIN') %}
  466.                     <li class=\"nav-item\">
  467.                         <a class=\"nav-link\" href=\"{{ path('edit_config') }}\"><span class=\"fa fa-cogs\"></span> Configuration</a>
  468.                     </li>
  469.                 {% endif %}
  470.                 <li class=\"nav-item\">
  471.                     <a class=\"nav-link\" href=\"{{ path('app_logout') }}\"><span class=\"fa fa-sign-out-alt\"></span>
  472.                         Déconnection</a>
  473.                 </li>
  474.             </ul>
  475.         </div>
  476.     </nav>
  477. {% endif %}
  478. <div class=\"container-fluid p_t_20 m_b_20\">
  479.     {% for type in ['danger', 'info', 'success'] %}
  480.         {% for flash_message in app.session.flashBag.get(type) %}
  481.             <div class=\"alert alert-{{ type }} m_t_20\" role=\"alert\">
  482.                 {{ flash_message }}
  483.             </div>
  484.         {% endfor %}
  485.     {% endfor %}
  486.     {% block body %}{% endblock %}
  487. </div>
  488. <script src=\"{{ asset('js/jquery-3.4.1.min.js') }}\"></script>
  489. <script src=\"{{ asset('js/bootstrap.min.js') }}\"></script>
  490. <script src=\"{{ asset('js/select2.min.js') }}\"></script>
  491. <script src=\"{{ asset('js/back.js') }}\"></script>
  492. {% block javascripts %}{% endblock %}
  493. </body>
  494. </html>
  495. ""back.html.twig""/var/www/clients/client1/web6/web/templates/back.html.twig");
  496.     }
  497. }