<?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;
/* areas_shared/settings.html.twig */
class __TwigTemplate_5aff4a9f8ed9edad8213351ea43774e1 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "areas_shared/settings.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas_shared/settings.html.twig"));
// line 2
$context["anchor"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "anchor", ["width" => 200, "placeholder" => "Anker"]);
// line 6
echo "
";
// line 8
$context["marginBottom"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "marginBottom", ["store" => [0 => [0 => "full-margin-bottom", 1 => "Normal"], 1 => [0 => "half-margin-bottom", 1 => "1/2"], 2 => [0 => "quarter-margin-bottom", 1 => "1/4"], 3 => [0 => "no-margin-bottom", 1 => "kein Abstand"]], "reload" => true]);
// line 17
echo "
";
// line 19
$context["paddingBottom"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "paddingBottom", ["store" => [0 => [0 => "full-padding-bottom", 1 => "Normal"], 1 => [0 => "half-padding-bottom", 1 => "1/2"], 2 => [0 => "no-padding-bottom", 1 => "kein Abstand"]], "reload" => true]);
// line 27
echo "
";
// line 29
$context["backgroundColor"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "backgroundColor", ["store" => [0 => [0 => "background-white", 1 => "Weiss"], 1 => [0 => "background-darkblue", 1 => "Dunkelblau"], 2 => [0 => "background-blue", 1 => "Blau"], 3 => [0 => "background-lightblue", 1 => "Hellblau"], 4 => [0 => "background-turquois", 1 => "Türkis"], 5 => [0 => "background-lightbrown", 1 => "Hellbraun"]], "reload" => true]);
// line 40
echo "
";
// line 42
if ((twig_get_attribute($this->env, $this->source, (isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 42, $this->source); })()), "data", [], "any", false, false, false, 42) == "background-white")) {
// line 43
echo " ";
$context["buttonColor"] = "darkblue-to-turquois";
} elseif ((twig_get_attribute($this->env, $this->source, // line 44
(isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 44, $this->source); })()), "data", [], "any", false, false, false, 44) == "background-darkblue")) {
// line 45
echo " ";
$context["buttonColor"] = "white-to-turquois";
} elseif ((twig_get_attribute($this->env, $this->source, // line 46
(isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 46, $this->source); })()), "data", [], "any", false, false, false, 46) == "background-blue")) {
// line 47
echo " ";
$context["buttonColor"] = "white-to-turquois";
} elseif ((twig_get_attribute($this->env, $this->source, // line 48
(isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 48, $this->source); })()), "data", [], "any", false, false, false, 48) == "background-lightblue")) {
// line 49
echo " ";
$context["buttonColor"] = "white-to-turquois";
} elseif ((twig_get_attribute($this->env, $this->source, // line 50
(isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 50, $this->source); })()), "data", [], "any", false, false, false, 50) == "background-turquois")) {
// line 51
echo " ";
$context["buttonColor"] = "white-to-darkblue";
} elseif ((twig_get_attribute($this->env, $this->source, // line 52
(isset($context["backgroundColor"]) || array_key_exists("backgroundColor", $context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.', 52, $this->source); })()), "data", [], "any", false, false, false, 52) == "background-lightbrown")) {
// line 53
echo " ";
$context["buttonColor"] = "darkblue-to-white";
}
// line 55
echo "
";
// line 57
$context["aos"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "aos", ["store" => [0 => [0 => "", 1 => "Ohne"], 1 => [0 => "fade", 1 => "Fade"], 2 => [0 => "fade-up", 1 => "Fade-up"], 3 => [0 => "slide-up", 1 => "Slide-up"], 4 => [0 => "slide-middle", 1 => "Slide Middle"]], "defaultValue" => "", "reload" => true]);
// line 68
echo "
";
// line 70
$this->displayBlock("content", $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "areas_shared/settings.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 102 => 70, 99 => 68, 97 => 57, 94 => 55, 90 => 53, 88 => 52, 85 => 51, 83 => 50, 80 => 49, 78 => 48, 75 => 47, 73 => 46, 70 => 45, 68 => 44, 65 => 43, 63 => 42, 60 => 40, 58 => 29, 55 => 27, 53 => 19, 50 => 17, 48 => 8, 45 => 6, 43 => 2,);
}
public function getSourceContext()
{
return new Source("{# anchor #}
{% set anchor = pimcore_input('anchor', {
'width': 200,
'placeholder': 'Anker'
}) %}
{# margin bottom #}
{% set marginBottom = pimcore_select('marginBottom', {
'store': [
['full-margin-bottom', 'Normal'],
['half-margin-bottom', '1/2'],
['quarter-margin-bottom', '1/4'],
['no-margin-bottom', 'kein Abstand']
],
'reload': true
}) %}
{# padding bottom #}
{% set paddingBottom = pimcore_select('paddingBottom', {
'store': [
['full-padding-bottom', 'Normal'],
['half-padding-bottom', '1/2'],
['no-padding-bottom', 'kein Abstand']
],
'reload': true
}) %}
{# background color #}
{% set backgroundColor = pimcore_select('backgroundColor', {
'store': [
['background-white', 'Weiss'],
['background-darkblue', 'Dunkelblau'],
['background-blue', 'Blau'],
['background-lightblue', 'Hellblau'],
['background-turquois', 'Türkis'],
['background-lightbrown', 'Hellbraun']
],
'reload': true
}) %}
{# button color #}
{% if backgroundColor.data == 'background-white' %}
{% set buttonColor = 'darkblue-to-turquois' %}
{% elseif backgroundColor.data == 'background-darkblue' %}
{% set buttonColor = 'white-to-turquois' %}
{% elseif backgroundColor.data == 'background-blue' %}
{% set buttonColor = 'white-to-turquois' %}
{% elseif backgroundColor.data == 'background-lightblue' %}
{% set buttonColor = 'white-to-turquois' %}
{% elseif backgroundColor.data == 'background-turquois' %}
{% set buttonColor = 'white-to-darkblue' %}
{% elseif backgroundColor.data == 'background-lightbrown' %}
{% set buttonColor = 'darkblue-to-white' %}
{% endif %}
{# aos #}
{% set aos = pimcore_select('aos', {
'store': [
['', 'Ohne'],
['fade', 'Fade'],
['fade-up', 'Fade-up'],
['slide-up', 'Slide-up'],
['slide-middle', 'Slide Middle'],
],
'defaultValue': '',
'reload': true
}) %}
{# content #}
{{ block('content') }}", "areas_shared/settings.html.twig", "/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/areas_shared/settings.html.twig");
}
}