<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/magnesium.html.twig */
class __TwigTemplate_e63148271ead43a3453232565fd0f8f4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'inlinescripts' => [$this, 'block_inlinescripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/magnesium.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/magnesium.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "default/magnesium.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 8
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 9
echo "
";
// line 11
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "myAreablock");
echo "
<!-- #main -->
<main id=\"main\" role=\"main\">
";
// line 15
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentTop");
echo "
<div class=\"apk-magnesium\"><!-- start magnesium -->
";
// line 19
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 19, $this->source); })())) {
echo "<!-- start section 1 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Banner Magnésium</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
";
// line 36
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll", ["store" => [0 => [0 => "", 1 => "Aucun"], 1 => [0 => "apk-scroll", 1 => "SCROLL"], 2 => [0 => "apk-top", 1 => "TOP"]], "defaultValue" => "apk-scroll"]);
// line 43
echo "
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
";
// line 52
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "bg-image");
echo "
<div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
<h2 class=\"uk-h2\">
";
// line 56
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "content-title", ["nl2br" => true]);
// line 58
echo "
</h2>
<div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
";
// line 62
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "content");
echo "
</div>
</li>
</ul>
</div>
";
} else {
// line 71
echo "
<section class=\"apk-banner-magnesium\">
<div class=\"uk-margin-medium-bottom\">
<div class=\"uk-cover-container uk-flex uk-flex-middle\">
";
// line 75
if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "bg-image"), "src", [], "any", false, false, false, 75)) {
// line 76
echo " ";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "bg-image"), "thumbnail", [0 => "full-background"], "method", false, false, false, 76), "html", [0 => ["imgAttributes" => ["uk-cover" => null]]], "method", false, false, false, 76);
echo "
";
}
// line 78
echo " <div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative uk-height-1-1\">
<div class=\"uk-margin-left uk-margin-right\">
<h1>";
// line 81
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "content-title", ["nl2br" => true]);
echo "</h1>
<div class=\"apk-content\">
";
// line 84
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "content");
echo "
</div>
</div>
</div>
</div>
</div>
";
// line 94
echo " ";
if (((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll"), "data", [], "any", false, false, false, 94) == "apk-scroll") || (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll"), "data", [], "any", false, false, false, 94) == "apk-top"))) {
// line 95
echo " <div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
";
// line 98
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll"), "data", [], "any", false, false, false, 98) == "apk-scroll")) {
// line 99
echo " <div class=\"apk-scroll\">
";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html", null, true);
echo "
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll"), "data", [], "any", false, false, false, 102) == "apk-top")) {
// line 103
echo " <div class=\"apk-scroll apk-top\">
";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html", null, true);
echo "
</div>
";
}
// line 107
echo " </div>
</div>
</div>
";
}
// line 111
echo "
</div>
</section>
";
}
// line 115
echo "<!-- end section 1 -->
<!-- start section 2 -->
<div class=\"apk-section-grid uk-margin-large-top uk-margin-large-bottom\">
<div class=\"uk-container apk-container-1400 uk-text-center\">
<h2 class=\"uk-margin-medium-top\">";
// line 121
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectiontwo-title", ["nl2br" => true]);
echo "</h2>
<h3>";
// line 122
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectiontwo-subtitle", ["nl2br" => true]);
echo "</h3>
<div class=\"uk-child-width-1-4@m uk-child-width-1-2@s uk-text-center\" uk-grid>
";
// line 125
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "sectiontwo"), "iterator", [], "any", false, false, false, 125));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 126
echo " <div class=\"apk-content-section-grid\">
";
// line 127
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectiontwo-image");
echo "
";
// line 128
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectiontwo-content");
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 131
echo " </div>
<div class=\"apk-content-sentence uk-text-left uk-margin-large-top uk-margin-bottom\">";
// line 133
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectiontwo-sentence", ["nl2br" => true]);
echo "</div>
</div>
</div>
<!-- end section 2 -->
";
// line 138
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 138, $this->source); })())) {
echo "<!-- start section 3 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 3</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
";
// line 155
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrolltwo", ["store" => [0 => [0 => "", 1 => "Aucun"], 1 => [0 => "apk-scroll", 1 => "SCROLL"], 2 => [0 => "apk-top", 1 => "TOP"]], "defaultValue" => "apk-scroll"]);
// line 162
echo "
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
";
// line 171
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image");
echo "
<div class=\"uk-margin-small-bottom\"><strong>Image de background (mobile)</strong></div>
";
// line 173
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image-mobile", ["width" => 200]);
echo "
<div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
<h2 class=\"uk-h2\">
";
// line 177
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-title", ["nl2br" => true]);
// line 179
echo "
";
// line 180
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-subtitle", ["nl2br" => true]);
// line 182
echo "
</h2>
<div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
";
// line 186
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionthree-content");
echo "
<div class=\"uk-margin\"><strong>Petite phrase</strong></div>
";
// line 189
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-sentence", ["nl2br" => true]);
echo "
</div>
</li>
</ul>
</div>
";
} else {
// line 196
echo "
<section>
<div class=\"apk-section-wysiwyg\">
<div class=\"uk-cover-container uk-flex uk-flex-middle\">
";
// line 200
if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image"), "src", [], "any", false, false, false, 200)) {
// line 201
echo " ";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image"), "thumbnail", [0 => "full-background"], "method", false, false, false, 201), "html", [0 => ["imgAttributes" => ["uk-cover" => null]]], "method", false, false, false, 201);
echo "
";
}
// line 203
echo " ";
if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image-mobile"), "src", [], "any", false, false, false, 203)) {
// line 204
echo " ";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionthree-image-mobile"), "thumbnail", [0 => "full-background"], "method", false, false, false, 204), "html", [0 => ["imgAttributes" => ["uk-cover" => null, "class" => "uk-hidden@m"]]], "method", false, false, false, 204);
echo "
";
}
// line 206
echo " <div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative uk-height-1-1\">
<div class=\"uk-child-width-1-2@m\" uk-grid>
<div>
</div>
<div>
<h2 class=\"uk-margin-remove-bottom\">";
// line 214
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-title", ["nl2br" => true]);
echo "</h2>
<h2 class=\"uk-margin-small-top\"><span>";
// line 215
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-subtitle", ["nl2br" => true]);
echo "</span></h2>
<div class=\"uk-margin-large-top uk-margin-medium-bottom apk-content\">
";
// line 218
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionthree-content");
echo "
</div>
<div class=\"apk-content-sentence uk-margin-xlarge-top uk-text-left\">";
// line 221
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionthree-sentence", ["nl2br" => true]);
echo "</div>
</div>
</div>
</div>
</div>
</div>
";
// line 231
echo " ";
if (((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrolltwo"), "data", [], "any", false, false, false, 231) == "apk-scroll") || (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scroll"), "data", [], "any", false, false, false, 231) == "apk-top"))) {
// line 232
echo " <div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
";
// line 235
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrolltwo"), "data", [], "any", false, false, false, 235) == "apk-scroll")) {
// line 236
echo " <div class=\"apk-scroll\">
";
// line 237
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html", null, true);
echo "
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrolltwo"), "data", [], "any", false, false, false, 239) == "apk-top")) {
// line 240
echo " <div class=\"apk-scroll apk-top\">
";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html", null, true);
echo "
</div>
";
}
// line 244
echo " </div>
</div>
</div>
";
}
// line 248
echo " </div>
</section>
";
}
// line 250
echo "<!-- end section 3 -->
<!-- start section 4 -->
<div class=\"apk-section-hexagone\">
<div class=\"uk-container apk-container-1200\">
<div class=\"apk-container-hexagone\">
<div class=\"uk-child-width-1-2@m\" uk-grid>
<div>
<h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">";
// line 259
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfour-title", ["nl2br" => true]);
echo "</h2>
<h2 class=\"uk-margin-small-top\"><span>";
// line 260
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfour-subtitle", ["nl2br" => true]);
echo "</span></h2>
<div class=\"uk-margin-top apk-content\">
";
// line 263
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionfour-content", ["nl2br" => true]);
echo "
</div>
<div class=\"apk-content-sentence uk-margin-large-top uk-text-left\">";
// line 266
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfour-sentence", ["nl2br" => true]);
echo "</div>
</div>
<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');\">
<div class=\"apk-section-hexagone-image\">";
// line 270
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionfour-image");
echo "</div>
</div>
</div>
</div>
</div>
</div>
<!-- end section 4 -->
";
// line 279
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 279, $this->source); })())) {
echo "<!-- start section 5 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 5</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
";
// line 296
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollthree", ["store" => [0 => [0 => "", 1 => "Aucun"], 1 => [0 => "apk-scroll", 1 => "SCROLL"], 2 => [0 => "apk-top", 1 => "TOP"]], "defaultValue" => "apk-scroll"]);
// line 303
echo "
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin\"><strong>Titre</strong></div>
<h2 class=\"uk-h2\">
";
// line 313
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-title", ["nl2br" => true]);
// line 315
echo "
</h2>
";
// line 318
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "sectionfive"), "iterator", [], "any", false, false, false, 318));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 319
echo " <div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image hexagonale</strong></div>
";
// line 322
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionfive-hexagone");
echo "
<div class=\"uk-margin\"><strong>Sous-titre</strong></div>
<h3>
";
// line 327
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-subtitle", ["nl2br" => true]);
// line 329
echo "
</h3>
<div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
";
// line 333
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionfive-image");
echo "
<div class=\"uk-margin\"><strong>Texte</strong></div>
";
// line 336
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionfive-content");
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 340
echo "
<div class=\"uk-margin\"><strong>Petite phrase</strong></div>
";
// line 342
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-sentence", ["nl2br" => true]);
echo "
</li>
</ul>
</div>
";
} else {
// line 348
echo "
<section>
<div class=\"apk-section-grid-hexagone\" uk-height-match=\"target: .apk-border-heading\">
<div class=\"uk-container apk-container-1400\">
<h2 class=\"uk-text-center\">
";
// line 354
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-title", ["nl2br" => true]);
// line 356
echo "
</h2>
<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\">
";
// line 360
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "sectionfive"), "iterator", [], "any", false, false, false, 360));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 361
echo " <div class=\"apk-content\">
<div class=\"apk-border uk-position-relative\">
<div class=\"apk-hexagone-absolute\">";
// line 363
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionfive-hexagone");
echo "</div>
<h3 class=\"apk-border-heading\">
";
// line 366
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-subtitle", ["nl2br" => true]);
// line 368
echo "
</h3>
";
// line 371
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionfive-image");
echo "
";
// line 373
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionfive-content");
echo "
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 377
echo " </div>
<p class=\"apk-content-sentence uk-margin-medium-bottom\">";
// line 378
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionfive-sentence", ["nl2br" => true]);
echo "</p>
</div>
";
// line 382
echo " ";
if (((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollthree"), "data", [], "any", false, false, false, 382) == "apk-scroll") || (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollthree"), "data", [], "any", false, false, false, 382) == "apk-top"))) {
// line 383
echo " <div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
";
// line 386
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollthree"), "data", [], "any", false, false, false, 386) == "apk-scroll")) {
// line 387
echo " <div class=\"apk-scroll\">
";
// line 388
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html", null, true);
echo "
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollthree"), "data", [], "any", false, false, false, 390) == "apk-top")) {
// line 391
echo " <div class=\"apk-scroll apk-top\">
";
// line 392
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html", null, true);
echo "
</div>
";
}
// line 395
echo " </div>
</div>
</div>
";
}
// line 399
echo " </div>
</section>
";
}
// line 401
echo "<!-- end section 5 -->
";
// line 405
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 405, $this->source); })())) {
echo "<!-- start section 6 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 6</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
";
// line 422
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollsix", ["store" => [0 => [0 => "", 1 => "Aucun"], 1 => [0 => "apk-scroll", 1 => "SCROLL"], 2 => [0 => "apk-top", 1 => "TOP"]], "defaultValue" => "apk-scroll"]);
// line 429
echo "
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin\"><strong>Titre</strong></div>
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
";
// line 443
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionsix-image");
echo "
<div class=\"uk-margin\"><strong>Titre</strong></div>
<h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">";
// line 447
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-title", ["nl2br" => true]);
echo "</h2>
<hr>
<h2 class=\"uk-margin-small-top\"><span>";
// line 449
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-subtitle", ["nl2br" => true]);
echo "</span></h2>
<div class=\"uk-margin\"><strong>Texte</strong></div>
";
// line 452
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionsix-content");
echo "
<div class=\"uk-margin\"><strong>Lien</strong></div>
";
// line 455
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "sectionsix-link", ["class" => "uk-button"]);
echo "
</div>
</li>
</ul>
</div>
";
} else {
// line 464
echo "
<section>
<div class=\"apk-section-grid-half\">
<div class=\"uk-child-width-1-2@m apk-margin-section\" uk-grid>
<div>
<div class=\"uk-container apk-container-700 uk-margin-medium-top\">
<h2 class=\"uk-margin-large-top uk-margin-remove-bottom uk-visible@m\">";
// line 471
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-title", ["nl2br" => true]);
echo "</h2>
<h2 class=\"uk-margin-small-top uk-visible@m\"><span>";
// line 472
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-subtitle", ["nl2br" => true]);
echo "</span></h2>
<div class=\"uk-margin-medium-top apk-content\">
";
// line 475
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "sectionsix-content", ["nl2br" => true]);
echo "
";
// line 477
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "sectionsix-link", ["class" => "uk-button"]);
echo "
</div>
</div>
</div>
<div class=\"uk-flex-first uk-flex-last@m\">
<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(";
// line 482
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionsix-image"), "getSrc", [], "method", false, false, false, 482), "html", null, true);
echo ");\">
</div>
<div class=\"uk-hidden@m\">
<div class=\"uk-margin-left\">
<h2 class=\"uk-margin-large-top uk-margin-remove-bottom\">";
// line 487
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-title", ["nl2br" => true]);
echo "</h2>
<h2 class=\"uk-margin-small-top uk-margin-medium-bottom\"><span>";
// line 488
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "sectionsix-subtitle", ["nl2br" => true]);
echo "</span></h2>
</div>
";
// line 490
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "sectionsix-image");
echo "
</div>
</div>
</div>
";
// line 496
echo " ";
if (((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollsix"), "data", [], "any", false, false, false, 496) == "apk-scroll") || (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollsix"), "data", [], "any", false, false, false, 496) == "apk-top"))) {
// line 497
echo " <div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
";
// line 500
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollsix"), "data", [], "any", false, false, false, 500) == "apk-scroll")) {
// line 501
echo " <div class=\"apk-scroll\">
";
// line 502
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SCROLL"), "html", null, true);
echo "
</div>
";
} elseif ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "scrollsix"), "data", [], "any", false, false, false, 504) == "apk-top")) {
// line 505
echo " <div class=\"apk-scroll apk-top\">
";
// line 506
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOP"), "html", null, true);
echo "
</div>
";
}
// line 509
echo " </div>
</div>
</div>
";
}
// line 513
echo "
</div><!-- end section 6 -->
</section>
";
}
// line 518
echo "
</div><!-- end magnesium -->
";
// line 523
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentBottom");
echo "
</main><!-- end #main -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 528
public function block_inlinescripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 529
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "default/magnesium.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"layout.html.twig\" %}
{#
{% use AppBundle/Helper/Apik %}
#}
{% block content %}
{{ pimcore_areablock(\"myAreablock\") }}
<!-- #main -->
<main id=\"main\" role=\"main\">
{{ pimcore_areablock('contentTop') }}
<div class=\"apk-magnesium\"><!-- start magnesium -->
{% if editmode %}<!-- start section 1 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Banner Magnésium</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
{{ pimcore_select(\"scroll\", {
\"store\" : [
['', 'Aucun'],
['apk-scroll', 'SCROLL'],
['apk-top', 'TOP']
],
\"defaultValue\" : \"apk-scroll\"
}) }}
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
{{ pimcore_image('bg-image') }}
<div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
<h2 class=\"uk-h2\">
{{ pimcore_textarea(\"content-title\",{
\"nl2br\" : true
}) }}
</h2>
<div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
{{ pimcore_wysiwyg(\"content\") }}
</div>
</li>
</ul>
</div>
{% else %}
<section class=\"apk-banner-magnesium\">
<div class=\"uk-margin-medium-bottom\">
<div class=\"uk-cover-container uk-flex uk-flex-middle\">
{% if pimcore_image('bg-image').src %}
{{ pimcore_image('bg-image').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null}})|raw }}
{% endif %}
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative uk-height-1-1\">
<div class=\"uk-margin-left uk-margin-right\">
<h1>{{ pimcore_textarea(\"content-title\", {\"nl2br\" : true})|raw }}</h1>
<div class=\"apk-content\">
{{ pimcore_wysiwyg(\"content\") }}
</div>
</div>
</div>
</div>
</div>
{# Scroll géré dans le main.js #}
{% if pimcore_select(\"scroll\").data == \"apk-scroll\" or pimcore_select(\"scroll\").data == \"apk-top\" %}
<div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
{% if pimcore_select(\"scroll\").data == \"apk-scroll\" %}
<div class=\"apk-scroll\">
{{ \"SCROLL\"|trans }}
</div>
{% elseif pimcore_select(\"scroll\").data == \"apk-top\" %}
<div class=\"apk-scroll apk-top\">
{{ \"TOP\"|trans }}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</section>
{% endif %}<!-- end section 1 -->
<!-- start section 2 -->
<div class=\"apk-section-grid uk-margin-large-top uk-margin-large-bottom\">
<div class=\"uk-container apk-container-1400 uk-text-center\">
<h2 class=\"uk-margin-medium-top\">{{ pimcore_textarea(\"sectiontwo-title\", {\"nl2br\" : true})|raw }}</h2>
<h3>{{ pimcore_textarea(\"sectiontwo-subtitle\", {\"nl2br\" : true})|raw }}</h3>
<div class=\"uk-child-width-1-4@m uk-child-width-1-2@s uk-text-center\" uk-grid>
{% for i in pimcore_block('sectiontwo').iterator %}
<div class=\"apk-content-section-grid\">
{{ pimcore_image('sectiontwo-image') }}
{{ pimcore_wysiwyg(\"sectiontwo-content\") }}
</div>
{% endfor %}
</div>
<div class=\"apk-content-sentence uk-text-left uk-margin-large-top uk-margin-bottom\">{{ pimcore_textarea(\"sectiontwo-sentence\", {\"nl2br\" : true})|raw }}</div>
</div>
</div>
<!-- end section 2 -->
{% if editmode %}<!-- start section 3 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 3</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
{{ pimcore_select(\"scrolltwo\", {
\"store\" : [
['', 'Aucun'],
['apk-scroll', 'SCROLL'],
['apk-top', 'TOP']
],
\"defaultValue\" : \"apk-scroll\"
}) }}
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image de background</strong></div>
{{ pimcore_image('sectionthree-image') }}
<div class=\"uk-margin-small-bottom\"><strong>Image de background (mobile)</strong></div>
{{ pimcore_image('sectionthree-image-mobile', {'width' : 200}) }}
<div class=\"uk-margin\"><strong>Titre de la banner</strong></div>
<h2 class=\"uk-h2\">
{{ pimcore_textarea(\"sectionthree-title\",{
\"nl2br\" : true
}) }}
{{ pimcore_textarea(\"sectionthree-subtitle\",{
\"nl2br\" : true
}) }}
</h2>
<div class=\"uk-margin\"><strong>Texte de la banner</strong></div>
{{ pimcore_wysiwyg(\"sectionthree-content\") }}
<div class=\"uk-margin\"><strong>Petite phrase</strong></div>
{{ pimcore_textarea(\"sectionthree-sentence\", {\"nl2br\" : true})|raw }}
</div>
</li>
</ul>
</div>
{% else %}
<section>
<div class=\"apk-section-wysiwyg\">
<div class=\"uk-cover-container uk-flex uk-flex-middle\">
{% if pimcore_image('sectionthree-image').src %}
{{ pimcore_image('sectionthree-image').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null}})|raw }}
{% endif %}
{% if pimcore_image('sectionthree-image-mobile').src %}
{{ pimcore_image('sectionthree-image-mobile').thumbnail('full-background').html({'imgAttributes' : {'uk-cover' : null, 'class': 'uk-hidden@m'}})|raw }}
{% endif %}
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative uk-height-1-1\">
<div class=\"uk-child-width-1-2@m\" uk-grid>
<div>
</div>
<div>
<h2 class=\"uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionthree-title\", {\"nl2br\" : true})|raw }}</h2>
<h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionthree-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
<div class=\"uk-margin-large-top uk-margin-medium-bottom apk-content\">
{{ pimcore_wysiwyg(\"sectionthree-content\") }}
</div>
<div class=\"apk-content-sentence uk-margin-xlarge-top uk-text-left\">{{ pimcore_textarea(\"sectionthree-sentence\", {\"nl2br\" : true})|raw }}</div>
</div>
</div>
</div>
</div>
</div>
{# Scroll géré dans le main.js #}
{% if pimcore_select(\"scrolltwo\").data == \"apk-scroll\" or pimcore_select(\"scroll\").data == \"apk-top\" %}
<div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
{% if pimcore_select(\"scrolltwo\").data == \"apk-scroll\" %}
<div class=\"apk-scroll\">
{{ \"SCROLL\"|trans }}
</div>
{% elseif pimcore_select(\"scrolltwo\").data == \"apk-top\" %}
<div class=\"apk-scroll apk-top\">
{{ \"TOP\"|trans }}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</section>
{% endif %}<!-- end section 3 -->
<!-- start section 4 -->
<div class=\"apk-section-hexagone\">
<div class=\"uk-container apk-container-1200\">
<div class=\"apk-container-hexagone\">
<div class=\"uk-child-width-1-2@m\" uk-grid>
<div>
<h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionfour-title\", {\"nl2br\" : true})|raw }}</h2>
<h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionfour-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
<div class=\"uk-margin-top apk-content\">
{{ pimcore_wysiwyg(\"sectionfour-content\", {\"nl2br\" : true})|raw }}
</div>
<div class=\"apk-content-sentence uk-margin-large-top uk-text-left\">{{ pimcore_textarea(\"sectionfour-sentence\", {\"nl2br\" : true})|raw }}</div>
</div>
<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');\">
<div class=\"apk-section-hexagone-image\">{{ pimcore_image('sectionfour-image') }}</div>
</div>
</div>
</div>
</div>
</div>
<!-- end section 4 -->
{% if editmode %}<!-- start section 5 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 5</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
{{ pimcore_select(\"scrollthree\", {
\"store\" : [
['', 'Aucun'],
['apk-scroll', 'SCROLL'],
['apk-top', 'TOP']
],
\"defaultValue\" : \"apk-scroll\"
}) }}
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin\"><strong>Titre</strong></div>
<h2 class=\"uk-h2\">
{{ pimcore_textarea(\"sectionfive-title\",{
\"nl2br\" : true
}) }}
</h2>
{% for i in pimcore_block('sectionfive').iterator %}
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image hexagonale</strong></div>
{{ pimcore_image('sectionfive-hexagone') }}
<div class=\"uk-margin\"><strong>Sous-titre</strong></div>
<h3>
{{ pimcore_textarea(\"sectionfive-subtitle\",{
\"nl2br\" : true
}) }}
</h3>
<div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
{{ pimcore_image('sectionfive-image') }}
<div class=\"uk-margin\"><strong>Texte</strong></div>
{{ pimcore_wysiwyg(\"sectionfive-content\") }}
</div>
{% endfor %}
<div class=\"uk-margin\"><strong>Petite phrase</strong></div>
{{ pimcore_textarea(\"sectionfive-sentence\", {\"nl2br\" : true})|raw }}
</li>
</ul>
</div>
{% else %}
<section>
<div class=\"apk-section-grid-hexagone\" uk-height-match=\"target: .apk-border-heading\">
<div class=\"uk-container apk-container-1400\">
<h2 class=\"uk-text-center\">
{{ pimcore_textarea(\"sectionfive-title\",{
\"nl2br\" : true
}) }}
</h2>
<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\">
{% for i in pimcore_block('sectionfive').iterator %}
<div class=\"apk-content\">
<div class=\"apk-border uk-position-relative\">
<div class=\"apk-hexagone-absolute\">{{ pimcore_image('sectionfive-hexagone') }}</div>
<h3 class=\"apk-border-heading\">
{{ pimcore_textarea(\"sectionfive-subtitle\",{
\"nl2br\" : true
}) }}
</h3>
{{ pimcore_image('sectionfive-image') }}
{{ pimcore_wysiwyg(\"sectionfive-content\") }}
</div>
</div>
{% endfor %}
</div>
<p class=\"apk-content-sentence uk-margin-medium-bottom\">{{ pimcore_textarea(\"sectionfive-sentence\", {\"nl2br\" : true})|raw }}</p>
</div>
{# Scroll géré dans le main.js #}
{% if pimcore_select(\"scrollthree\").data == \"apk-scroll\" or pimcore_select(\"scrollthree\").data == \"apk-top\" %}
<div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
{% if pimcore_select(\"scrollthree\").data == \"apk-scroll\" %}
<div class=\"apk-scroll\">
{{ \"SCROLL\"|trans }}
</div>
{% elseif pimcore_select(\"scrollthree\").data == \"apk-top\" %}
<div class=\"apk-scroll apk-top\">
{{ \"TOP\"|trans }}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</section>
{% endif %}<!-- end section 5 -->
{% if editmode %}<!-- start section 6 -->
<div class=\"uk-container apk-container-1400\">
<div uk-alert>
<h1 class=\"uk-h1\">Section 6</h1>
</div>
<ul uk-tab>
<li><a href=\"#\">Configurations</a></li>
<li class=\"uk-active\"><a href=\"#\">Content Edit</a></li>
</ul>
<ul class=\"uk-switcher uk-margin\">
<li class=\"apk-size-20 uk-grid-small\" uk-grid>
<div class=\"uk-width-1-2@m\" uk-margin>
<div>Afficher un scroll ?</div>
{{ pimcore_select(\"scrollsix\", {
\"store\" : [
['', 'Aucun'],
['apk-scroll', 'SCROLL'],
['apk-top', 'TOP']
],
\"defaultValue\" : \"apk-scroll\"
}) }}
</div>
</li>
<li class=\"uk-active\">
<div class=\"uk-margin\"><strong>Titre</strong></div>
<div class=\"uk-margin-large-bottom\">
<div class=\"uk-margin-small-bottom\"><strong>Image</strong></div>
{{ pimcore_image('sectionsix-image') }}
<div class=\"uk-margin\"><strong>Titre</strong></div>
<h2 class=\"uk-margin-medium-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
<hr>
<h2 class=\"uk-margin-small-top\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
<div class=\"uk-margin\"><strong>Texte</strong></div>
{{ pimcore_wysiwyg(\"sectionsix-content\") }}
<div class=\"uk-margin\"><strong>Lien</strong></div>
{{ pimcore_link(\"sectionsix-link\", {\"class\" : \"uk-button\"}) }}
</div>
</li>
</ul>
</div>
{% else %}
<section>
<div class=\"apk-section-grid-half\">
<div class=\"uk-child-width-1-2@m apk-margin-section\" uk-grid>
<div>
<div class=\"uk-container apk-container-700 uk-margin-medium-top\">
<h2 class=\"uk-margin-large-top uk-margin-remove-bottom uk-visible@m\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
<h2 class=\"uk-margin-small-top uk-visible@m\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
<div class=\"uk-margin-medium-top apk-content\">
{{ pimcore_wysiwyg(\"sectionsix-content\", {\"nl2br\" : true})|raw }}
{{ pimcore_link(\"sectionsix-link\", {\"class\" : \"uk-button\"}) }}
</div>
</div>
</div>
<div class=\"uk-flex-first uk-flex-last@m\">
<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() }});\">
</div>
<div class=\"uk-hidden@m\">
<div class=\"uk-margin-left\">
<h2 class=\"uk-margin-large-top uk-margin-remove-bottom\">{{ pimcore_textarea(\"sectionsix-title\", {\"nl2br\" : true})|raw }}</h2>
<h2 class=\"uk-margin-small-top uk-margin-medium-bottom\"><span>{{ pimcore_textarea(\"sectionsix-subtitle\", {\"nl2br\" : true})|raw }}</span></h2>
</div>
{{ pimcore_image('sectionsix-image') }}
</div>
</div>
</div>
{# Scroll géré dans le main.js #}
{% if pimcore_select(\"scrollsix\").data == \"apk-scroll\" or pimcore_select(\"scrollsix\").data == \"apk-top\" %}
<div class=\"apk-scroll-container\">
<div class=\"uk-container apk-container-1400\">
<div class=\"uk-position-relative\">
{% if pimcore_select(\"scrollsix\").data == \"apk-scroll\" %}
<div class=\"apk-scroll\">
{{ \"SCROLL\"|trans }}
</div>
{% elseif pimcore_select(\"scrollsix\").data == \"apk-top\" %}
<div class=\"apk-scroll apk-top\">
{{ \"TOP\"|trans }}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div><!-- end section 6 -->
</section>
{% endif %}
</div><!-- end magnesium -->
{{ pimcore_areablock('contentBottom') }}
</main><!-- end #main -->
{% endblock %}
{% block inlinescripts %}
{% endblock inlinescripts %}", "default/magnesium.html.twig", "/var/www/magnecapsv2.atypic-pp.be/www/templates/default/magnesium.html.twig");
}
}