<?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;

/* admin/view/template/marketplace/scroll.twig */
class __TwigTemplate_f44249b17804d4c32425042fda0bc4c4 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;
        // line 1
        echo ($context["header"] ?? null);
        echo "
";
        // line 2
        echo ($context["column_left"] ?? null);
        echo "
<div id=\"content\">
  <div class=\"page-header\">
    <div class=\"container-fluid\">
      <div class=\"float-end\">
        <button id=\"restore_default\" class=\"btn btn-warning\">";
        // line 7
        echo ($context["button_restore_default"] ?? null);
        echo "</button>
        <button form=\"form-scroll\" class=\"btn btn-primary\"><i class=\"fa fa-save\"></i> ";
        // line 8
        echo ($context["button_save"] ?? null);
        echo "</button>
        <a href=\"";
        // line 9
        echo ($context["cancel"] ?? null);
        echo "\" class=\"btn btn-secondary\"><i class=\"fa fa-reply\"></i> ";
        echo ($context["button_cancel"] ?? null);
        echo "</a>
      </div>
      <h1>";
        // line 11
        echo ($context["heading_title"] ?? null);
        echo "</h1>
      <ol class=\"breadcrumb\">
        ";
        // line 13
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 14
            echo "        <li class=\"breadcrumb-item\"><a href=\"";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 14);
            echo "\">";
            echo twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 14);
            echo "</a></li>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 16
        echo "      </ol>
    </div>
  </div>
  <div class=\"container-fluid\">
    ";
        // line 20
        if (($context["success"] ?? null)) {
            // line 21
            echo "    <div class=\"alert alert-success alert-dismissible fade show\" role=\"alert\">
      <i class=\"fa fa-check-circle\"></i> ";
            // line 22
            echo ($context["success"] ?? null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">
        <span aria-hidden=\"true\">&times;</span>
      </button>
    </div>
    ";
        }
        // line 28
        echo "    <div class=\"card\">
      <div class=\"card-header\">
        <h3>";
        // line 30
        echo ($context["text_settings"] ?? null);
        echo "</h3>
      </div>
      <div class=\"card-body\">
        <form action=\"";
        // line 33
        echo ($context["action"] ?? null);
        echo "\" method=\"post\" id=\"form-scroll\">
          <div class=\"form-group row\">
            <label class=\"col-sm-2 col-form-label\">";
        // line 35
        echo ($context["entry_background_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"scroll_background_color\" value=\"";
        // line 37
        echo ($context["scroll_background_color"] ?? null);
        echo "\" class=\"form-control\" />
            </div>
          </div>
          <div class=\"form-group row\">
            <label class=\"col-sm-2 col-form-label\">";
        // line 41
        echo ($context["entry_text_color"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"color\" name=\"scroll_text_color\" value=\"";
        // line 43
        echo ($context["scroll_text_color"] ?? null);
        echo "\" class=\"form-control\" />
            </div>
          </div>
          <div class=\"form-group row\">
            <label class=\"col-sm-2 col-form-label\">";
        // line 47
        echo ($context["entry_status"] ?? null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"scroll_status\" class=\"form-control\">
                <option value=\"1\" ";
        // line 50
        echo (((($context["scroll_status"] ?? null) == 1)) ? ("selected") : (""));
        echo ">";
        echo ($context["text_enabled"] ?? null);
        echo "</option>
                <option value=\"0\" ";
        // line 51
        echo (((($context["scroll_status"] ?? null) == 0)) ? ("selected") : (""));
        echo ">";
        echo ($context["text_disabled"] ?? null);
        echo "</option>
              </select>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<script>
  document.getElementById('restore_default').addEventListener('click', function() {
    document.querySelector('[name=\"scroll_background_color\"]').value = '#000000';
    document.querySelector('[name=\"scroll_text_color\"]').value = '#FFFFFF';
    document.querySelector('[name=\"scroll_status\"]').value = '1';
    alert('Defaults have been restored!');
  });
</script>
";
        // line 68
        echo ($context["footer"] ?? null);
        echo "
";
    }

    public function getTemplateName()
    {
        return "admin/view/template/marketplace/scroll.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  177 => 68,  155 => 51,  149 => 50,  143 => 47,  136 => 43,  131 => 41,  124 => 37,  119 => 35,  114 => 33,  108 => 30,  104 => 28,  95 => 22,  92 => 21,  90 => 20,  84 => 16,  73 => 14,  69 => 13,  64 => 11,  57 => 9,  53 => 8,  49 => 7,  41 => 2,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "admin/view/template/marketplace/scroll.twig", "/home/smartzetta/public_html/modern/scrolltop4vxx/admin/view/template/marketplace/scroll.twig");
    }
}
