var/cache/dev/twig/05/0529841afa115065fa24c63e2a8e4fa6.php line 39

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. /* default/magnesium.html.twig */
  14. class __TwigTemplate_e63148271ead43a3453232565fd0f8f4 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->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'inlinescripts' => [$this'block_inlinescripts'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/magnesium.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/magnesium.html.twig"));
  39.         $this->parent $this->loadTemplate("layout.html.twig""default/magnesium.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 8
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 9
  55.         echo "
  56. ";
  57.         // line 11
  58.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""myAreablock");
  59.         echo "
  60. <!-- #main -->
  61. <main id=\"main\" role=\"main\">
  62. ";
  63.         // line 15
  64.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentTop");
  65.         echo "
  66. <div class=\"apk-magnesium\"><!-- start magnesium -->
  67.     ";
  68.         // line 19
  69.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'19$this->source); })())) {
  70.             echo "<!-- start section 1 -->
  71.     <div class=\"uk-container apk-container-1400\">
  72.         <div uk-alert>
  73.             <h1 class=\"uk-h1\">Banner Magnésium</h1>
  74.         </div>
  75.         <ul uk-tab>
  76.             <li><a href=\"#\">Configurations</a></li>
  77.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  78.         </ul>
  79.         <ul class=\"uk-switcher uk-margin\">
  80.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  81.                 <div class=\"uk-width-1-2@m\" uk-margin>
  82.                     <div>Afficher un scroll ?</div>
  83.                     ";
  84.             // line 36
  85.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll", ["store" => [=> [=> ""=> "Aucun"], => [=> "apk-scroll"=> "SCROLL"], => [=> "apk-top"=> "TOP"]], "defaultValue" => "apk-scroll"]);
  86.             // line 43
  87.             echo "
  88.                     
  89.                 </div>
  90.             </li>
  91.         
  92.             <li class=\"uk-active\">
  93.                 <div class=\"uk-margin-large-bottom\">
  94.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
  95.                     ";
  96.             // line 52
  97.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""bg-image");
  98.             echo "
  99.                     <div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
  100.                     <h2 class=\"uk-h2\">
  101.                         ";
  102.             // line 56
  103.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""content-title", ["nl2br" => true]);
  104.             // line 58
  105.             echo "
  106.                     </h2>
  107.                     <div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
  108.                     ";
  109.             // line 62
  110.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  111.             echo "
  112.                 </div>
  113.             </li>
  114.         </ul>
  115.     </div>
  116.     ";
  117.         } else {
  118.             // line 71
  119.             echo "
  120.     <section class=\"apk-banner-magnesium\">
  121.         <div class=\"uk-margin-medium-bottom\">
  122.             <div class=\"uk-cover-container uk-flex uk-flex-middle\">
  123.                 ";
  124.             // line 75
  125.             if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""bg-image"), "src", [], "any"falsefalsefalse75)) {
  126.                 // line 76
  127.                 echo "                    ";
  128.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""bg-image"), "thumbnail", [=> "full-background"], "method"falsefalsefalse76), "html", [=> ["imgAttributes" => ["uk-cover" => null]]], "method"falsefalsefalse76);
  129.                 echo "    
  130.                 ";
  131.             }
  132.             // line 78
  133.             echo "                <div class=\"uk-container apk-container-1400\">
  134.                     <div class=\"uk-position-relative uk-height-1-1\">
  135.                         <div class=\"uk-margin-left uk-margin-right\">
  136.                             <h1>";
  137.             // line 81
  138.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""content-title", ["nl2br" => true]);
  139.             echo "</h1>
  140.                             <div class=\"apk-content\">
  141.                                 ";
  142.             // line 84
  143.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  144.             echo "
  145.                             </div>
  146.                         </div>
  147.                 
  148.                     </div>
  149.                 </div>
  150.             </div>
  151.         
  152.             ";
  153.             // line 94
  154.             echo "            ";
  155.             if (((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll"), "data", [], "any"falsefalsefalse94) == "apk-scroll") || (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll"), "data", [], "any"falsefalsefalse94) == "apk-top"))) {
  156.                 // line 95
  157.                 echo "            <div class=\"apk-scroll-container\">
  158.                 <div class=\"uk-container apk-container-1400\">
  159.                     <div class=\"uk-position-relative\">
  160.                     ";
  161.                 // line 98
  162.                 if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll"), "data", [], "any"falsefalsefalse98) == "apk-scroll")) {
  163.                     // line 99
  164.                     echo "                        <div class=\"apk-scroll\">
  165.                             ";
  166.                     // line 100
  167.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html"nulltrue);
  168.                     echo "
  169.                         </div>
  170.                     ";
  171.                 } elseif ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll"), "data", [], "any"falsefalsefalse102) == "apk-top")) {
  172.                     // line 103
  173.                     echo "                        <div class=\"apk-scroll apk-top\">
  174.                             ";
  175.                     // line 104
  176.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html"nulltrue);
  177.                     echo "
  178.                         </div>
  179.                     ";
  180.                 }
  181.                 // line 107
  182.                 echo "                    </div>
  183.                 </div>
  184.             </div>
  185.             ";
  186.             }
  187.             // line 111
  188.             echo "
  189.         </div>
  190.     </section>
  191.     ";
  192.         }
  193.         // line 115
  194.         echo "<!-- end section 1 -->
  195.     <!-- start section 2 -->
  196.     <div class=\"apk-section-grid uk-margin-large-top uk-margin-large-bottom\">
  197.         <div class=\"uk-container apk-container-1400 uk-text-center\">
  198.             <h2 class=\"uk-margin-medium-top\">";
  199.         // line 121
  200.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectiontwo-title", ["nl2br" => true]);
  201.         echo "</h2>
  202.             <h3>";
  203.         // line 122
  204.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectiontwo-subtitle", ["nl2br" => true]);
  205.         echo "</h3>
  206.             <div class=\"uk-child-width-1-4@m uk-child-width-1-2@s uk-text-center\" uk-grid>
  207.                 ";
  208.         // line 125
  209.         $context['_parent'] = $context;
  210.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""sectiontwo"), "iterator", [], "any"falsefalsefalse125));
  211.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  212.             // line 126
  213.             echo "                    <div class=\"apk-content-section-grid\">
  214.                         ";
  215.             // line 127
  216.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectiontwo-image");
  217.             echo "
  218.                         ";
  219.             // line 128
  220.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectiontwo-content");
  221.             echo "
  222.                     </div>
  223.                 ";
  224.         }
  225.         $_parent $context['_parent'];
  226.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  227.         $context array_intersect_key($context$_parent) + $_parent;
  228.         // line 131
  229.         echo "            </div>
  230.             <div class=\"apk-content-sentence uk-text-left uk-margin-large-top uk-margin-bottom\">";
  231.         // line 133
  232.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectiontwo-sentence", ["nl2br" => true]);
  233.         echo "</div>
  234.         </div>
  235.     </div>
  236.     <!-- end section 2 -->
  237.     ";
  238.         // line 138
  239.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'138$this->source); })())) {
  240.             echo "<!-- start section 3 -->
  241.     <div class=\"uk-container apk-container-1400\">
  242.         <div uk-alert>
  243.             <h1 class=\"uk-h1\">Section 3</h1>
  244.         </div>
  245.         <ul uk-tab>
  246.             <li><a href=\"#\">Configurations</a></li>
  247.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  248.         </ul>
  249.         <ul class=\"uk-switcher uk-margin\">
  250.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  251.                 <div class=\"uk-width-1-2@m\" uk-margin>
  252.                     <div>Afficher un scroll ?</div>
  253.                     ";
  254.             // line 155
  255.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrolltwo", ["store" => [=> [=> ""=> "Aucun"], => [=> "apk-scroll"=> "SCROLL"], => [=> "apk-top"=> "TOP"]], "defaultValue" => "apk-scroll"]);
  256.             // line 162
  257.             echo "
  258.                     
  259.                 </div>
  260.             </li>
  261.         
  262.             <li class=\"uk-active\">
  263.                 <div class=\"uk-margin-large-bottom\">
  264.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
  265.                     ";
  266.             // line 171
  267.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image");
  268.             echo "
  269.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background (mobile)</strong></div>
  270.                     ";
  271.             // line 173
  272.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image-mobile", ["width" => 200]);
  273.             echo "
  274.                     <div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
  275.                     <h2 class=\"uk-h2\">
  276.                         ";
  277.             // line 177
  278.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-title", ["nl2br" => true]);
  279.             // line 179
  280.             echo "
  281.                         ";
  282.             // line 180
  283.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-subtitle", ["nl2br" => true]);
  284.             // line 182
  285.             echo "
  286.                     </h2>
  287.                     <div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
  288.                     ";
  289.             // line 186
  290.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionthree-content");
  291.             echo "
  292.                     <div class=\"uk-margin\"><strong>Petite phrase</strong></div>
  293.                     ";
  294.             // line 189
  295.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-sentence", ["nl2br" => true]);
  296.             echo "
  297.                 </div>
  298.             </li>
  299.         </ul>
  300.     </div>
  301.     ";
  302.         } else {
  303.             // line 196
  304.             echo "
  305.     <section>
  306.         <div class=\"apk-section-wysiwyg\">
  307.             <div class=\"uk-cover-container uk-flex uk-flex-middle\">
  308.                 ";
  309.             // line 200
  310.             if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image"), "src", [], "any"falsefalsefalse200)) {
  311.                 // line 201
  312.                 echo "                    ";
  313.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image"), "thumbnail", [=> "full-background"], "method"falsefalsefalse201), "html", [=> ["imgAttributes" => ["uk-cover" => null]]], "method"falsefalsefalse201);
  314.                 echo "    
  315.                 ";
  316.             }
  317.             // line 203
  318.             echo "                ";
  319.             if (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image-mobile"), "src", [], "any"falsefalsefalse203)) {
  320.                 // line 204
  321.                 echo "                    ";
  322.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionthree-image-mobile"), "thumbnail", [=> "full-background"], "method"falsefalsefalse204), "html", [=> ["imgAttributes" => ["uk-cover" => null"class" => "uk-hidden@m"]]], "method"falsefalsefalse204);
  323.                 echo "    
  324.                 ";
  325.             }
  326.             // line 206
  327.             echo "                <div class=\"uk-container apk-container-1400\">
  328.                     <div class=\"uk-position-relative uk-height-1-1\">
  329.                         <div class=\"uk-child-width-1-2@m\" uk-grid>
  330.                             <div>
  331.                             </div>
  332.                             <div>
  333.                                 <h2 class=\"uk-margin-remove-bottom\">";
  334.             // line 214
  335.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-title", ["nl2br" => true]);
  336.             echo "</h2>
  337.                                 <h2 class=\"uk-margin-small-top\"><span>";
  338.             // line 215
  339.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-subtitle", ["nl2br" => true]);
  340.             echo "</span></h2>
  341.                                 <div class=\"uk-margin-large-top uk-margin-medium-bottom apk-content\">
  342.                                     ";
  343.             // line 218
  344.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionthree-content");
  345.             echo "
  346.                                 </div>
  347.                                 <div class=\"apk-content-sentence uk-margin-xlarge-top uk-text-left\">";
  348.             // line 221
  349.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionthree-sentence", ["nl2br" => true]);
  350.             echo "</div>
  351.                             </div>
  352.                         </div>
  353.                 
  354.                     </div>
  355.                 </div>
  356.             </div>
  357.             ";
  358.             // line 231
  359.             echo "            ";
  360.             if (((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrolltwo"), "data", [], "any"falsefalsefalse231) == "apk-scroll") || (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scroll"), "data", [], "any"falsefalsefalse231) == "apk-top"))) {
  361.                 // line 232
  362.                 echo "            <div class=\"apk-scroll-container\">
  363.                 <div class=\"uk-container apk-container-1400\">
  364.                     <div class=\"uk-position-relative\">
  365.                     ";
  366.                 // line 235
  367.                 if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrolltwo"), "data", [], "any"falsefalsefalse235) == "apk-scroll")) {
  368.                     // line 236
  369.                     echo "                        <div class=\"apk-scroll\">
  370.                             ";
  371.                     // line 237
  372.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html"nulltrue);
  373.                     echo "
  374.                         </div>
  375.                     ";
  376.                 } elseif ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrolltwo"), "data", [], "any"falsefalsefalse239) == "apk-top")) {
  377.                     // line 240
  378.                     echo "                        <div class=\"apk-scroll apk-top\">
  379.                             ";
  380.                     // line 241
  381.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html"nulltrue);
  382.                     echo "
  383.                         </div>
  384.                     ";
  385.                 }
  386.                 // line 244
  387.                 echo "                    </div>
  388.                 </div>
  389.             </div>
  390.             ";
  391.             }
  392.             // line 248
  393.             echo "        </div>
  394.     </section>
  395.     ";
  396.         }
  397.         // line 250
  398.         echo "<!-- end section 3 -->
  399.     <!-- start section 4 -->
  400.     <div class=\"apk-section-hexagone\">
  401.         <div class=\"uk-container apk-container-1200\">
  402.             <div class=\"apk-container-hexagone\">
  403.                 <div class=\"uk-child-width-1-2@m\" uk-grid>
  404.                     <div>
  405.                         <h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">";
  406.         // line 259
  407.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfour-title", ["nl2br" => true]);
  408.         echo "</h2>
  409.                         <h2 class=\"uk-margin-small-top\"><span>";
  410.         // line 260
  411.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfour-subtitle", ["nl2br" => true]);
  412.         echo "</span></h2>
  413.                         <div class=\"uk-margin-top apk-content\">
  414.                             ";
  415.         // line 263
  416.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionfour-content", ["nl2br" => true]);
  417.         echo "
  418.                         </div>
  419.                         <div class=\"apk-content-sentence uk-margin-large-top uk-text-left\">";
  420.         // line 266
  421.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfour-sentence", ["nl2br" => true]);
  422.         echo "</div>
  423.                     </div>
  424.                     <div class=\"uk-background-contain uk-height-large uk-panel uk-flex uk-flex-center uk-flex-middle uk-padding-remove\" style=\"background-image: url('/static/img/pictos/hexagone.svg');\">
  425.                         <div class=\"apk-section-hexagone-image\">";
  426.         // line 270
  427.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionfour-image");
  428.         echo "</div>
  429.                     </div>
  430.                 </div>
  431.             </div>
  432.         </div>
  433.     </div>
  434.     <!-- end section 4 -->
  435.     ";
  436.         // line 279
  437.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'279$this->source); })())) {
  438.             echo "<!-- start section 5 -->
  439.     <div class=\"uk-container apk-container-1400\">
  440.         <div uk-alert>
  441.             <h1 class=\"uk-h1\">Section 5</h1>
  442.         </div>
  443.         <ul uk-tab>
  444.             <li><a href=\"#\">Configurations</a></li>
  445.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  446.         </ul>
  447.         <ul class=\"uk-switcher uk-margin\">
  448.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  449.                 <div class=\"uk-width-1-2@m\" uk-margin>
  450.                     <div>Afficher un scroll ?</div>
  451.                     ";
  452.             // line 296
  453.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollthree", ["store" => [=> [=> ""=> "Aucun"], => [=> "apk-scroll"=> "SCROLL"], => [=> "apk-top"=> "TOP"]], "defaultValue" => "apk-scroll"]);
  454.             // line 303
  455.             echo "
  456.                     
  457.                 </div>
  458.             </li>
  459.         
  460.             <li class=\"uk-active\">
  461.                 <div class=\"uk-margin\"><strong>Titre</strong></div>
  462.                 <h2 class=\"uk-h2\">
  463.                     ";
  464.             // line 313
  465.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-title", ["nl2br" => true]);
  466.             // line 315
  467.             echo "
  468.                 </h2>
  469.                 ";
  470.             // line 318
  471.             $context['_parent'] = $context;
  472.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""sectionfive"), "iterator", [], "any"falsefalsefalse318));
  473.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  474.                 // line 319
  475.                 echo "                <div class=\"uk-margin-large-bottom\">
  476.                     <div class=\"uk-margin-small-bottom\"><strong>Image hexagonale</strong></div>
  477.                     ";
  478.                 // line 322
  479.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionfive-hexagone");
  480.                 echo "
  481.                     <div class=\"uk-margin\"><strong>Sous-titre</strong></div>
  482.                     <h3>
  483.                         ";
  484.                 // line 327
  485.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-subtitle", ["nl2br" => true]);
  486.                 // line 329
  487.                 echo "
  488.                     </h3>
  489.                     <div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
  490.                     ";
  491.                 // line 333
  492.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionfive-image");
  493.                 echo "
  494.                     <div class=\"uk-margin\"><strong>Texte</strong></div>
  495.                     ";
  496.                 // line 336
  497.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionfive-content");
  498.                 echo "
  499.                 </div>
  500.                 ";
  501.             }
  502.             $_parent $context['_parent'];
  503.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  504.             $context array_intersect_key($context$_parent) + $_parent;
  505.             // line 340
  506.             echo "
  507.                 <div class=\"uk-margin\"><strong>Petite phrase</strong></div>
  508.                 ";
  509.             // line 342
  510.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-sentence", ["nl2br" => true]);
  511.             echo "
  512.             </li>
  513.         </ul>
  514.     </div>
  515.     ";
  516.         } else {
  517.             // line 348
  518.             echo "
  519.     <section>
  520.         <div class=\"apk-section-grid-hexagone\" uk-height-match=\"target: .apk-border-heading\">
  521.             
  522.             <div class=\"uk-container apk-container-1400\">
  523.                 <h2 class=\"uk-text-center\">
  524.                     ";
  525.             // line 354
  526.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-title", ["nl2br" => true]);
  527.             // line 356
  528.             echo "
  529.                 </h2>
  530.                 <div class=\"uk-grid-large uk-child-width-1-2@m uk-child-width-1-3@m uk-text-center\" uk-grid uk-height-match=\"target: .apk-border\">
  531.                     ";
  532.             // line 360
  533.             $context['_parent'] = $context;
  534.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""sectionfive"), "iterator", [], "any"falsefalsefalse360));
  535.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  536.                 // line 361
  537.                 echo "                    <div class=\"apk-content\">
  538.                         <div class=\"apk-border uk-position-relative\">
  539.                             <div class=\"apk-hexagone-absolute\">";
  540.                 // line 363
  541.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionfive-hexagone");
  542.                 echo "</div>
  543.                             <h3 class=\"apk-border-heading\">
  544.                                 ";
  545.                 // line 366
  546.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-subtitle", ["nl2br" => true]);
  547.                 // line 368
  548.                 echo "
  549.                             </h3>
  550.                             
  551.                             ";
  552.                 // line 371
  553.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionfive-image");
  554.                 echo "
  555.                             ";
  556.                 // line 373
  557.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionfive-content");
  558.                 echo "
  559.                         </div>
  560.                     </div>
  561.                     ";
  562.             }
  563.             $_parent $context['_parent'];
  564.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  565.             $context array_intersect_key($context$_parent) + $_parent;
  566.             // line 377
  567.             echo "                </div>
  568.                 <p class=\"apk-content-sentence uk-margin-medium-bottom\">";
  569.             // line 378
  570.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionfive-sentence", ["nl2br" => true]);
  571.             echo "</p>
  572.             </div>
  573.             ";
  574.             // line 382
  575.             echo "            ";
  576.             if (((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollthree"), "data", [], "any"falsefalsefalse382) == "apk-scroll") || (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollthree"), "data", [], "any"falsefalsefalse382) == "apk-top"))) {
  577.                 // line 383
  578.                 echo "            <div class=\"apk-scroll-container\">
  579.                 <div class=\"uk-container apk-container-1400\">
  580.                     <div class=\"uk-position-relative\">
  581.                     ";
  582.                 // line 386
  583.                 if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollthree"), "data", [], "any"falsefalsefalse386) == "apk-scroll")) {
  584.                     // line 387
  585.                     echo "                        <div class=\"apk-scroll\">
  586.                             ";
  587.                     // line 388
  588.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html"nulltrue);
  589.                     echo "
  590.                         </div>
  591.                     ";
  592.                 } elseif ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollthree"), "data", [], "any"falsefalsefalse390) == "apk-top")) {
  593.                     // line 391
  594.                     echo "                        <div class=\"apk-scroll apk-top\">
  595.                             ";
  596.                     // line 392
  597.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html"nulltrue);
  598.                     echo "
  599.                         </div>
  600.                     ";
  601.                 }
  602.                 // line 395
  603.                 echo "                    </div>
  604.                 </div>
  605.             </div>
  606.             ";
  607.             }
  608.             // line 399
  609.             echo "        </div>
  610.     </section>
  611.     ";
  612.         }
  613.         // line 401
  614.         echo "<!-- end section 5 -->
  615.     ";
  616.         // line 405
  617.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'405$this->source); })())) {
  618.             echo "<!-- start section 6 -->
  619.     
  620.     <div class=\"uk-container apk-container-1400\">
  621.         <div uk-alert>
  622.             <h1 class=\"uk-h1\">Section 6</h1>
  623.         </div>
  624.         <ul uk-tab>
  625.             <li><a href=\"#\">Configurations</a></li>
  626.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  627.         </ul>
  628.         <ul class=\"uk-switcher uk-margin\">
  629.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  630.                 <div class=\"uk-width-1-2@m\" uk-margin>
  631.                     <div>Afficher un scroll ?</div>
  632.                     ";
  633.             // line 422
  634.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollsix", ["store" => [=> [=> ""=> "Aucun"], => [=> "apk-scroll"=> "SCROLL"], => [=> "apk-top"=> "TOP"]], "defaultValue" => "apk-scroll"]);
  635.             // line 429
  636.             echo "
  637.                     
  638.                 </div>
  639.             </li>
  640.         
  641.             <li class=\"uk-active\">
  642.                 <div class=\"uk-margin\"><strong>Titre</strong></div>
  643.                 <div class=\"uk-margin-large-bottom\">
  644.                     <div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
  645.                     ";
  646.             // line 443
  647.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionsix-image");
  648.             echo "
  649.                     <div class=\"uk-margin\"><strong>Titre</strong></div>
  650.                     <h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">";
  651.             // line 447
  652.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-title", ["nl2br" => true]);
  653.             echo "</h2>
  654.                     <hr>
  655.                     <h2 class=\"uk-margin-small-top\"><span>";
  656.             // line 449
  657.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-subtitle", ["nl2br" => true]);
  658.             echo "</span></h2>
  659.                     <div class=\"uk-margin\"><strong>Texte</strong></div>
  660.                     ";
  661.             // line 452
  662.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionsix-content");
  663.             echo "
  664.                     <div class=\"uk-margin\"><strong>Lien</strong></div>
  665.                     ";
  666.             // line 455
  667.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""sectionsix-link", ["class" => "uk-button"]);
  668.             echo "
  669.                 </div>
  670.             </li>
  671.         </ul>
  672.     </div>
  673.     ";
  674.         } else {
  675.             // line 464
  676.             echo "
  677.     <section>
  678.         <div class=\"apk-section-grid-half\">
  679.             <div class=\"uk-child-width-1-2@m apk-margin-section\" uk-grid>
  680.                 <div>
  681.                     <div class=\"uk-container apk-container-700 uk-margin-medium-top\">
  682.                         
  683.                         <h2 class=\"uk-margin-large-top uk-margin-remove-bottom uk-visible@m\">";
  684.             // line 471
  685.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-title", ["nl2br" => true]);
  686.             echo "</h2>
  687.                         <h2 class=\"uk-margin-small-top uk-visible@m\"><span>";
  688.             // line 472
  689.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-subtitle", ["nl2br" => true]);
  690.             echo "</span></h2>
  691.                         <div class=\"uk-margin-medium-top apk-content\">
  692.                             ";
  693.             // line 475
  694.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""sectionsix-content", ["nl2br" => true]);
  695.             echo "
  696.                             ";
  697.             // line 477
  698.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""sectionsix-link", ["class" => "uk-button"]);
  699.             echo "
  700.                         </div>
  701.                     </div>
  702.                 </div>
  703.                 <div class=\"uk-flex-first uk-flex-last@m\">
  704.                     <div class=\"uk-background-cover uk-height-1-1 uk-panel uk-flex uk-flex-center uk-flex-middle uk-visible@m\" style=\"background-image: url(";
  705.             // line 482
  706.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionsix-image"), "getSrc", [], "method"falsefalsefalse482), "html"nulltrue);
  707.             echo ");\">
  708.                     </div>
  709.                     <div class=\"uk-hidden@m\">
  710.                         <div class=\"uk-margin-left\">
  711.                             <h2 class=\"uk-margin-large-top uk-margin-remove-bottom\">";
  712.             // line 487
  713.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-title", ["nl2br" => true]);
  714.             echo "</h2>
  715.                             <h2 class=\"uk-margin-small-top uk-margin-medium-bottom\"><span>";
  716.             // line 488
  717.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""sectionsix-subtitle", ["nl2br" => true]);
  718.             echo "</span></h2>
  719.                         </div>
  720.                         ";
  721.             // line 490
  722.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""sectionsix-image");
  723.             echo "
  724.                     </div>
  725.                 </div>
  726.             </div>
  727.             
  728.             ";
  729.             // line 496
  730.             echo "            ";
  731.             if (((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollsix"), "data", [], "any"falsefalsefalse496) == "apk-scroll") || (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollsix"), "data", [], "any"falsefalsefalse496) == "apk-top"))) {
  732.                 // line 497
  733.                 echo "            <div class=\"apk-scroll-container\">
  734.                 <div class=\"uk-container apk-container-1400\">
  735.                     <div class=\"uk-position-relative\">
  736.                     ";
  737.                 // line 500
  738.                 if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollsix"), "data", [], "any"falsefalsefalse500) == "apk-scroll")) {
  739.                     // line 501
  740.                     echo "                        <div class=\"apk-scroll\">
  741.                             ";
  742.                     // line 502
  743.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html"nulltrue);
  744.                     echo "
  745.                         </div>
  746.                     ";
  747.                 } elseif ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""scrollsix"), "data", [], "any"falsefalsefalse504) == "apk-top")) {
  748.                     // line 505
  749.                     echo "                        <div class=\"apk-scroll apk-top\">
  750.                             ";
  751.                     // line 506
  752.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html"nulltrue);
  753.                     echo "
  754.                         </div>
  755.                     ";
  756.                 }
  757.                 // line 509
  758.                 echo "                    </div>
  759.                 </div>
  760.             </div>
  761.             ";
  762.             }
  763.             // line 513
  764.             echo "
  765.         </div><!-- end section 6 -->
  766.     </section>
  767.     
  768.     ";
  769.         }
  770.         // line 518
  771.         echo "
  772. </div><!-- end magnesium -->
  773. ";
  774.         // line 523
  775.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentBottom");
  776.         echo "
  777. </main><!-- end #main -->
  778. ";
  779.         
  780.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  781.         
  782.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  783.     }
  784.     // line 528
  785.     public function block_inlinescripts($context, array $blocks = [])
  786.     {
  787.         $macros $this->macros;
  788.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  789.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  790.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  791.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  792.         // line 529
  793.         echo "        
  794. ";
  795.         
  796.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  797.         
  798.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  799.     }
  800.     public function getTemplateName()
  801.     {
  802.         return "default/magnesium.html.twig";
  803.     }
  804.     public function isTraitable()
  805.     {
  806.         return false;
  807.     }
  808.     public function getDebugInfo()
  809.     {
  810.         return array (  899 => 529,  889 => 528,  875 => 523,  868 => 518,  861 => 513,  855 => 509,  849 => 506,  846 => 505,  840 => 502,  837 => 501,  835 => 500,  830 => 497,  827 => 496,  819 => 490,  814 => 488,  810 => 487,  802 => 482,  794 => 477,  789 => 475,  783 => 472,  779 => 471,  770 => 464,  758 => 455,  752 => 452,  746 => 449,  741 => 447,  734 => 443,  718 => 429,  716 => 422,  696 => 405,  690 => 401,  685 => 399,  679 => 395,  673 => 392,  670 => 391,  664 => 388,  661 => 387,  659 => 386,  654 => 383,  651 => 382,  645 => 378,  642 => 377,  632 => 373,  627 => 371,  622 => 368,  620 => 366,  614 => 363,  610 => 361,  606 => 360,  600 => 356,  598 => 354,  590 => 348,  581 => 342,  577 => 340,  567 => 336,  561 => 333,  555 => 329,  553 => 327,  545 => 322,  540 => 319,  536 => 318,  531 => 315,  529 => 313,  517 => 303,  515 => 296,  495 => 279,  483 => 270,  476 => 266,  470 => 263,  464 => 260,  460 => 259,  449 => 250,  444 => 248,  438 => 244,  432 => 241,  429 => 240,  423 => 237,  420 => 236,  418 => 235,  413 => 232,  410 => 231,  398 => 221,  392 => 218,  386 => 215,  382 => 214,  372 => 206,  366 => 204,  363 => 203,  357 => 201,  355 => 200,  349 => 196,  339 => 189,  333 => 186,  327 => 182,  325 => 180,  322 => 179,  320 => 177,  313 => 173,  308 => 171,  297 => 162,  295 => 155,  275 => 138,  267 => 133,  263 => 131,  254 => 128,  250 => 127,  247 => 126,  243 => 125,  237 => 122,  233 => 121,  225 => 115,  218 => 111,  212 => 107,  206 => 104,  203 => 103,  197 => 100,  194 => 99,  192 => 98,  187 => 95,  184 => 94,  172 => 84,  166 => 81,  161 => 78,  155 => 76,  153 => 75,  147 => 71,  135 => 62,  129 => 58,  127 => 56,  120 => 52,  109 => 43,  107 => 36,  87 => 19,  80 => 15,  73 => 11,  69 => 9,  59 => 8,  36 => 1,);
  811.     }
  812.     public function getSourceContext()
  813.     {
  814.         return new Source("{% extends \"layout.html.twig\" %}
  815. {#
  816.     {% use AppBundle/Helper/Apik %}
  817. #}
  818. {% block content %}
  819. {{ pimcore_areablock(\"myAreablock\") }}
  820. <!-- #main -->
  821. <main id=\"main\" role=\"main\">
  822. {{ pimcore_areablock('contentTop') }}
  823. <div class=\"apk-magnesium\"><!-- start magnesium -->
  824.     {% if editmode %}<!-- start section 1 -->
  825.     <div class=\"uk-container apk-container-1400\">
  826.         <div uk-alert>
  827.             <h1 class=\"uk-h1\">Banner Magnésium</h1>
  828.         </div>
  829.         <ul uk-tab>
  830.             <li><a href=\"#\">Configurations</a></li>
  831.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  832.         </ul>
  833.         <ul class=\"uk-switcher uk-margin\">
  834.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  835.                 <div class=\"uk-width-1-2@m\" uk-margin>
  836.                     <div>Afficher un scroll ?</div>
  837.                     {{ pimcore_select(\"scroll\", {
  838.                         \"store\" : [
  839.                             ['', 'Aucun'],
  840.                             ['apk-scroll', 'SCROLL'],
  841.                             ['apk-top', 'TOP']
  842.                         ],
  843.                         \"defaultValue\" : \"apk-scroll\"
  844.                     }) }}
  845.                     
  846.                 </div>
  847.             </li>
  848.         
  849.             <li class=\"uk-active\">
  850.                 <div class=\"uk-margin-large-bottom\">
  851.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
  852.                     {{ pimcore_image('bg-image') }}
  853.                     <div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
  854.                     <h2 class=\"uk-h2\">
  855.                         {{ pimcore_textarea(\"content-title\",{
  856.                             \"nl2br\" : true
  857.                         }) }}
  858.                     </h2>
  859.                     <div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
  860.                     {{ pimcore_wysiwyg(\"content\") }}
  861.                 </div>
  862.             </li>
  863.         </ul>
  864.     </div>
  865.     {% else %}
  866.     <section class=\"apk-banner-magnesium\">
  867.         <div class=\"uk-margin-medium-bottom\">
  868.             <div class=\"uk-cover-container uk-flex uk-flex-middle\">
  869.                 {% if pimcore_image('bg-image').src %}
  870.                     {{ pimcore_image('bg-image').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null}})|raw }}    
  871.                 {% endif %}
  872.                 <div class=\"uk-container apk-container-1400\">
  873.                     <div class=\"uk-position-relative uk-height-1-1\">
  874.                         <div class=\"uk-margin-left uk-margin-right\">
  875.                             <h1>{{ pimcore_textarea(\"content-title\", {\"nl2br\" : true})|raw }}</h1>
  876.                             <div class=\"apk-content\">
  877.                                 {{ pimcore_wysiwyg(\"content\") }}
  878.                             </div>
  879.                         </div>
  880.                 
  881.                     </div>
  882.                 </div>
  883.             </div>
  884.         
  885.             {# Scroll géré dans le main.js #}
  886.             {% if pimcore_select(\"scroll\").data == \"apk-scroll\" or pimcore_select(\"scroll\").data == \"apk-top\" %}
  887.             <div class=\"apk-scroll-container\">
  888.                 <div class=\"uk-container apk-container-1400\">
  889.                     <div class=\"uk-position-relative\">
  890.                     {% if pimcore_select(\"scroll\").data == \"apk-scroll\" %}
  891.                         <div class=\"apk-scroll\">
  892.                             {{ \"SCROLL\"|trans }}
  893.                         </div>
  894.                     {% elseif pimcore_select(\"scroll\").data == \"apk-top\" %}
  895.                         <div class=\"apk-scroll apk-top\">
  896.                             {{ \"TOP\"|trans }}
  897.                         </div>
  898.                     {% endif %}
  899.                     </div>
  900.                 </div>
  901.             </div>
  902.             {% endif %}
  903.         </div>
  904.     </section>
  905.     {% endif %}<!-- end section 1 -->
  906.     <!-- start section 2 -->
  907.     <div class=\"apk-section-grid uk-margin-large-top uk-margin-large-bottom\">
  908.         <div class=\"uk-container apk-container-1400 uk-text-center\">
  909.             <h2 class=\"uk-margin-medium-top\">{{ pimcore_textarea(\"sectiontwo-title\", {\"nl2br\" : true})|raw }}</h2>
  910.             <h3>{{ pimcore_textarea(\"sectiontwo-subtitle\", {\"nl2br\" : true})|raw }}</h3>
  911.             <div class=\"uk-child-width-1-4@m uk-child-width-1-2@s uk-text-center\" uk-grid>
  912.                 {% for i in pimcore_block('sectiontwo').iterator %}
  913.                     <div class=\"apk-content-section-grid\">
  914.                         {{ pimcore_image('sectiontwo-image') }}
  915.                         {{ pimcore_wysiwyg(\"sectiontwo-content\") }}
  916.                     </div>
  917.                 {% endfor %}
  918.             </div>
  919.             <div class=\"apk-content-sentence uk-text-left uk-margin-large-top uk-margin-bottom\">{{ pimcore_textarea(\"sectiontwo-sentence\", {\"nl2br\" : true})|raw }}</div>
  920.         </div>
  921.     </div>
  922.     <!-- end section 2 -->
  923.     {% if editmode %}<!-- start section 3 -->
  924.     <div class=\"uk-container apk-container-1400\">
  925.         <div uk-alert>
  926.             <h1 class=\"uk-h1\">Section 3</h1>
  927.         </div>
  928.         <ul uk-tab>
  929.             <li><a href=\"#\">Configurations</a></li>
  930.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  931.         </ul>
  932.         <ul class=\"uk-switcher uk-margin\">
  933.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  934.                 <div class=\"uk-width-1-2@m\" uk-margin>
  935.                     <div>Afficher un scroll ?</div>
  936.                     {{ pimcore_select(\"scrolltwo\", {
  937.                         \"store\" : [
  938.                             ['', 'Aucun'],
  939.                             ['apk-scroll', 'SCROLL'],
  940.                             ['apk-top', 'TOP']
  941.                         ],
  942.                         \"defaultValue\" : \"apk-scroll\"
  943.                     }) }}
  944.                     
  945.                 </div>
  946.             </li>
  947.         
  948.             <li class=\"uk-active\">
  949.                 <div class=\"uk-margin-large-bottom\">
  950.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
  951.                     {{ pimcore_image('sectionthree-image') }}
  952.                     <div class=\"uk-margin-small-bottom\"><strong>Image de background (mobile)</strong></div>
  953.                     {{ pimcore_image('sectionthree-image-mobile', {'width' : 200}) }}
  954.                     <div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
  955.                     <h2 class=\"uk-h2\">
  956.                         {{ pimcore_textarea(\"sectionthree-title\",{
  957.                             \"nl2br\" : true
  958.                         }) }}
  959.                         {{ pimcore_textarea(\"sectionthree-subtitle\",{
  960.                             \"nl2br\" : true
  961.                         }) }}
  962.                     </h2>
  963.                     <div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
  964.                     {{ pimcore_wysiwyg(\"sectionthree-content\") }}
  965.                     <div class=\"uk-margin\"><strong>Petite phrase</strong></div>
  966.                     {{ pimcore_textarea(\"sectionthree-sentence\", {\"nl2br\" : true})|raw }}
  967.                 </div>
  968.             </li>
  969.         </ul>
  970.     </div>
  971.     {% else %}
  972.     <section>
  973.         <div class=\"apk-section-wysiwyg\">
  974.             <div class=\"uk-cover-container uk-flex uk-flex-middle\">
  975.                 {% if pimcore_image('sectionthree-image').src %}
  976.                     {{ pimcore_image('sectionthree-image').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null}})|raw }}    
  977.                 {% endif %}
  978.                 {% if pimcore_image('sectionthree-image-mobile').src %}
  979.                     {{ pimcore_image('sectionthree-image-mobile').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null, 'class': 'uk-hidden@m'}})|raw }}    
  980.                 {% endif %}
  981.                 <div class=\"uk-container apk-container-1400\">
  982.                     <div class=\"uk-position-relative uk-height-1-1\">
  983.                         <div class=\"uk-child-width-1-2@m\" uk-grid>
  984.                             <div>
  985.                             </div>
  986.                             <div>
  987.                                 <h2 class=\"uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionthree-title\", {\"nl2br\" : true})|raw }}</h2>
  988.                                 <h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionthree-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
  989.                                 <div class=\"uk-margin-large-top uk-margin-medium-bottom apk-content\">
  990.                                     {{ pimcore_wysiwyg(\"sectionthree-content\") }}
  991.                                 </div>
  992.                                 <div class=\"apk-content-sentence uk-margin-xlarge-top uk-text-left\">{{ pimcore_textarea(\"sectionthree-sentence\", {\"nl2br\" : true})|raw }}</div>
  993.                             </div>
  994.                         </div>
  995.                 
  996.                     </div>
  997.                 </div>
  998.             </div>
  999.             {# Scroll géré dans le main.js #}
  1000.             {% if pimcore_select(\"scrolltwo\").data == \"apk-scroll\" or pimcore_select(\"scroll\").data == \"apk-top\" %}
  1001.             <div class=\"apk-scroll-container\">
  1002.                 <div class=\"uk-container apk-container-1400\">
  1003.                     <div class=\"uk-position-relative\">
  1004.                     {% if pimcore_select(\"scrolltwo\").data == \"apk-scroll\" %}
  1005.                         <div class=\"apk-scroll\">
  1006.                             {{ \"SCROLL\"|trans }}
  1007.                         </div>
  1008.                     {% elseif pimcore_select(\"scrolltwo\").data == \"apk-top\" %}
  1009.                         <div class=\"apk-scroll apk-top\">
  1010.                             {{ \"TOP\"|trans }}
  1011.                         </div>
  1012.                     {% endif %}
  1013.                     </div>
  1014.                 </div>
  1015.             </div>
  1016.             {% endif %}
  1017.         </div>
  1018.     </section>
  1019.     {% endif %}<!-- end section 3 -->
  1020.     <!-- start section 4 -->
  1021.     <div class=\"apk-section-hexagone\">
  1022.         <div class=\"uk-container apk-container-1200\">
  1023.             <div class=\"apk-container-hexagone\">
  1024.                 <div class=\"uk-child-width-1-2@m\" uk-grid>
  1025.                     <div>
  1026.                         <h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionfour-title\", {\"nl2br\" : true})|raw }}</h2>
  1027.                         <h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionfour-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
  1028.                         <div class=\"uk-margin-top apk-content\">
  1029.                             {{ pimcore_wysiwyg(\"sectionfour-content\", {\"nl2br\" : true})|raw }}
  1030.                         </div>
  1031.                         <div class=\"apk-content-sentence uk-margin-large-top uk-text-left\">{{ pimcore_textarea(\"sectionfour-sentence\", {\"nl2br\" : true})|raw }}</div>
  1032.                     </div>
  1033.                     <div class=\"uk-background-contain uk-height-large uk-panel uk-flex uk-flex-center uk-flex-middle uk-padding-remove\" style=\"background-image: url('/static/img/pictos/hexagone.svg');\">
  1034.                         <div class=\"apk-section-hexagone-image\">{{ pimcore_image('sectionfour-image') }}</div>
  1035.                     </div>
  1036.                 </div>
  1037.             </div>
  1038.         </div>
  1039.     </div>
  1040.     <!-- end section 4 -->
  1041.     {% if editmode %}<!-- start section 5 -->
  1042.     <div class=\"uk-container apk-container-1400\">
  1043.         <div uk-alert>
  1044.             <h1 class=\"uk-h1\">Section 5</h1>
  1045.         </div>
  1046.         <ul uk-tab>
  1047.             <li><a href=\"#\">Configurations</a></li>
  1048.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  1049.         </ul>
  1050.         <ul class=\"uk-switcher uk-margin\">
  1051.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  1052.                 <div class=\"uk-width-1-2@m\" uk-margin>
  1053.                     <div>Afficher un scroll ?</div>
  1054.                     {{ pimcore_select(\"scrollthree\", {
  1055.                         \"store\" : [
  1056.                             ['', 'Aucun'],
  1057.                             ['apk-scroll', 'SCROLL'],
  1058.                             ['apk-top', 'TOP']
  1059.                         ],
  1060.                         \"defaultValue\" : \"apk-scroll\"
  1061.                     }) }}
  1062.                     
  1063.                 </div>
  1064.             </li>
  1065.         
  1066.             <li class=\"uk-active\">
  1067.                 <div class=\"uk-margin\"><strong>Titre</strong></div>
  1068.                 <h2 class=\"uk-h2\">
  1069.                     {{ pimcore_textarea(\"sectionfive-title\",{
  1070.                         \"nl2br\" : true
  1071.                     }) }}
  1072.                 </h2>
  1073.                 {% for i in pimcore_block('sectionfive').iterator %}
  1074.                 <div class=\"uk-margin-large-bottom\">
  1075.                     <div class=\"uk-margin-small-bottom\"><strong>Image hexagonale</strong></div>
  1076.                     {{ pimcore_image('sectionfive-hexagone') }}
  1077.                     <div class=\"uk-margin\"><strong>Sous-titre</strong></div>
  1078.                     <h3>
  1079.                         {{ pimcore_textarea(\"sectionfive-subtitle\",{
  1080.                             \"nl2br\" : true
  1081.                         }) }}
  1082.                     </h3>
  1083.                     <div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
  1084.                     {{ pimcore_image('sectionfive-image') }}
  1085.                     <div class=\"uk-margin\"><strong>Texte</strong></div>
  1086.                     {{ pimcore_wysiwyg(\"sectionfive-content\") }}
  1087.                 </div>
  1088.                 {% endfor %}
  1089.                 <div class=\"uk-margin\"><strong>Petite phrase</strong></div>
  1090.                 {{ pimcore_textarea(\"sectionfive-sentence\", {\"nl2br\" : true})|raw }}
  1091.             </li>
  1092.         </ul>
  1093.     </div>
  1094.     {% else %}
  1095.     <section>
  1096.         <div class=\"apk-section-grid-hexagone\" uk-height-match=\"target: .apk-border-heading\">
  1097.             
  1098.             <div class=\"uk-container apk-container-1400\">
  1099.                 <h2 class=\"uk-text-center\">
  1100.                     {{ pimcore_textarea(\"sectionfive-title\",{
  1101.                         \"nl2br\" : true
  1102.                     }) }}
  1103.                 </h2>
  1104.                 <div class=\"uk-grid-large uk-child-width-1-2@m uk-child-width-1-3@m uk-text-center\" uk-grid uk-height-match=\"target: .apk-border\">
  1105.                     {% for i in pimcore_block('sectionfive').iterator %}
  1106.                     <div class=\"apk-content\">
  1107.                         <div class=\"apk-border uk-position-relative\">
  1108.                             <div class=\"apk-hexagone-absolute\">{{ pimcore_image('sectionfive-hexagone') }}</div>
  1109.                             <h3 class=\"apk-border-heading\">
  1110.                                 {{ pimcore_textarea(\"sectionfive-subtitle\",{
  1111.                                     \"nl2br\" : true
  1112.                                 }) }}
  1113.                             </h3>
  1114.                             
  1115.                             {{ pimcore_image('sectionfive-image') }}
  1116.                             {{ pimcore_wysiwyg(\"sectionfive-content\") }}
  1117.                         </div>
  1118.                     </div>
  1119.                     {% endfor %}
  1120.                 </div>
  1121.                 <p class=\"apk-content-sentence uk-margin-medium-bottom\">{{ pimcore_textarea(\"sectionfive-sentence\", {\"nl2br\" : true})|raw }}</p>
  1122.             </div>
  1123.             {# Scroll géré dans le main.js #}
  1124.             {% if pimcore_select(\"scrollthree\").data == \"apk-scroll\" or pimcore_select(\"scrollthree\").data == \"apk-top\" %}
  1125.             <div class=\"apk-scroll-container\">
  1126.                 <div class=\"uk-container apk-container-1400\">
  1127.                     <div class=\"uk-position-relative\">
  1128.                     {% if pimcore_select(\"scrollthree\").data == \"apk-scroll\" %}
  1129.                         <div class=\"apk-scroll\">
  1130.                             {{ \"SCROLL\"|trans }}
  1131.                         </div>
  1132.                     {% elseif pimcore_select(\"scrollthree\").data == \"apk-top\" %}
  1133.                         <div class=\"apk-scroll apk-top\">
  1134.                             {{ \"TOP\"|trans }}
  1135.                         </div>
  1136.                     {% endif %}
  1137.                     </div>
  1138.                 </div>
  1139.             </div>
  1140.             {% endif %}
  1141.         </div>
  1142.     </section>
  1143.     {% endif %}<!-- end section 5 -->
  1144.     {% if editmode %}<!-- start section 6 -->
  1145.     
  1146.     <div class=\"uk-container apk-container-1400\">
  1147.         <div uk-alert>
  1148.             <h1 class=\"uk-h1\">Section 6</h1>
  1149.         </div>
  1150.         <ul uk-tab>
  1151.             <li><a href=\"#\">Configurations</a></li>
  1152.             <li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
  1153.         </ul>
  1154.         <ul class=\"uk-switcher uk-margin\">
  1155.             <li class=\"apk-size-20 uk-grid-small\" uk-grid>
  1156.                 <div class=\"uk-width-1-2@m\" uk-margin>
  1157.                     <div>Afficher un scroll ?</div>
  1158.                     {{ pimcore_select(\"scrollsix\", {
  1159.                         \"store\" : [
  1160.                             ['', 'Aucun'],
  1161.                             ['apk-scroll', 'SCROLL'],
  1162.                             ['apk-top', 'TOP']
  1163.                         ],
  1164.                         \"defaultValue\" : \"apk-scroll\"
  1165.                     }) }}
  1166.                     
  1167.                 </div>
  1168.             </li>
  1169.         
  1170.             <li class=\"uk-active\">
  1171.                 <div class=\"uk-margin\"><strong>Titre</strong></div>
  1172.                 <div class=\"uk-margin-large-bottom\">
  1173.                     <div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
  1174.                     {{ pimcore_image('sectionsix-image') }}
  1175.                     <div class=\"uk-margin\"><strong>Titre</strong></div>
  1176.                     <h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
  1177.                     <hr>
  1178.                     <h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
  1179.                     <div class=\"uk-margin\"><strong>Texte</strong></div>
  1180.                     {{ pimcore_wysiwyg(\"sectionsix-content\") }}
  1181.                     <div class=\"uk-margin\"><strong>Lien</strong></div>
  1182.                     {{ pimcore_link(\"sectionsix-link\", {\"class\" : \"uk-button\"}) }}
  1183.                 </div>
  1184.             </li>
  1185.         </ul>
  1186.     </div>
  1187.     {% else %}
  1188.     <section>
  1189.         <div class=\"apk-section-grid-half\">
  1190.             <div class=\"uk-child-width-1-2@m apk-margin-section\" uk-grid>
  1191.                 <div>
  1192.                     <div class=\"uk-container apk-container-700 uk-margin-medium-top\">
  1193.                         
  1194.                         <h2 class=\"uk-margin-large-top uk-margin-remove-bottom uk-visible@m\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
  1195.                         <h2 class=\"uk-margin-small-top uk-visible@m\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
  1196.                         <div class=\"uk-margin-medium-top apk-content\">
  1197.                             {{ pimcore_wysiwyg(\"sectionsix-content\", {\"nl2br\" : true})|raw }}
  1198.                             {{ pimcore_link(\"sectionsix-link\", {\"class\" : \"uk-button\"}) }}
  1199.                         </div>
  1200.                     </div>
  1201.                 </div>
  1202.                 <div class=\"uk-flex-first uk-flex-last@m\">
  1203.                     <div class=\"uk-background-cover uk-height-1-1 uk-panel uk-flex uk-flex-center uk-flex-middle uk-visible@m\" style=\"background-image: url({{ pimcore_image('sectionsix-image').getSrc() }});\">
  1204.                     </div>
  1205.                     <div class=\"uk-hidden@m\">
  1206.                         <div class=\"uk-margin-left\">
  1207.                             <h2 class=\"uk-margin-large-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
  1208.                             <h2 class=\"uk-margin-small-top uk-margin-medium-bottom\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
  1209.                         </div>
  1210.                         {{ pimcore_image('sectionsix-image') }}
  1211.                     </div>
  1212.                 </div>
  1213.             </div>
  1214.             
  1215.             {# Scroll géré dans le main.js #}
  1216.             {% if pimcore_select(\"scrollsix\").data == \"apk-scroll\" or pimcore_select(\"scrollsix\").data == \"apk-top\" %}
  1217.             <div class=\"apk-scroll-container\">
  1218.                 <div class=\"uk-container apk-container-1400\">
  1219.                     <div class=\"uk-position-relative\">
  1220.                     {% if pimcore_select(\"scrollsix\").data == \"apk-scroll\" %}
  1221.                         <div class=\"apk-scroll\">
  1222.                             {{ \"SCROLL\"|trans }}
  1223.                         </div>
  1224.                     {% elseif pimcore_select(\"scrollsix\").data == \"apk-top\" %}
  1225.                         <div class=\"apk-scroll apk-top\">
  1226.                             {{ \"TOP\"|trans }}
  1227.                         </div>
  1228.                     {% endif %}
  1229.                     </div>
  1230.                 </div>
  1231.             </div>
  1232.             {% endif %}
  1233.         </div><!-- end section 6 -->
  1234.     </section>
  1235.     
  1236.     {% endif %}
  1237. </div><!-- end magnesium -->
  1238. {{ pimcore_areablock('contentBottom') }}
  1239. </main><!-- end #main -->
  1240. {% endblock %}
  1241. {% block inlinescripts %}
  1242.         
  1243. {% endblock inlinescripts %}""default/magnesium.html.twig""/var/www/magnecapsv2.atypic-pp.be/www/templates/default/magnesium.html.twig");
  1244.     }
  1245. }