/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
dev
/
twig
/
3c
/
Upload File
HOME
<?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; /* @WebProfiler/Profiler/settings.html.twig */ class __TwigTemplate_2e482c514ec3df9fc739096ff6fa675932650d80d12cb46588f04b9b4e16076e 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/settings.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/settings.html.twig")); // line 1 echo "<style> #open-settings { color: var(--color-muted); display: block; margin: 15px 15px 5px; } .modal-wrap { -webkit-transition: all 0.3s ease-in-out; align-items: center; background: rgba(0, 0, 0, 0.8); display: flex; height: 100%; justify-content: center; left: 0; opacity: 1; overflow: auto; position: fixed; top: 0; transition: all 0.3s ease-in-out; visibility: hidden; width: 100%; z-index: 100000; } .modal-wrap.visible { opacity: 1; visibility: visible; } .modal-wrap .modal-container { box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5); color: var(--base-6); margin: 1em; max-width: 94%; width: 600px; } .modal-wrap .modal-header { align-items: center; background: var(--table-header); display: flex; justify-content: space-between; padding: 15px 30px; } .modal-wrap .modal-header h3 { color: var(--base-6); margin: 0; } .modal-wrap .modal-header .close-modal { background: transparent; border: 0; color: var(--base-4); cursor: pointer; font-size: 28px; line-height: 1; } .modal-wrap .modal-header .close-modal:hover { opacity: 1; } .modal-wrap .modal-content { background: var(--base-1); margin: 0; padding: 15px 30px; width: 100%; z-index: 100000; } .modal-content h4 { border-bottom: var(--border); margin: 0 0 15px; padding: 0 0 5px; } .modal-content input, .modal-content .form-help { margin-left: 15px; } .modal-content label { cursor: pointer; font-size: 16px; margin-left: 3px; } .modal-content .form-help { color: var(--color-muted); font-size: 14px; margin: 5px 0 15px 33px; } .modal-content .form-help + h4 { margin-top: 45px; } @media (max-width: 768px) { #open-settings { color: transparent; } #sidebar:hover #open-settings, #sidebar.expanded #open-settings { color: var(--color-muted); } #open-settings:before { content: '\\2699'; font-weight: bold; font-size: 25px; color: var(--color-muted); } #sidebar:hover #open-settings:before, #sidebar.expanded #open-settings:before { content: ''; } } </style> <a href=\"#\" id=\"open-settings\">Settings</a> <div class=\"modal-wrap\" id=\"profiler-settings\"> <div class=\"modal-container\"> <div class=\"modal-header\"> <h3>Configuration Settings</h3> <button class=\"close-modal\">×</button> </div> <div class=\"modal-content\"> <h4>Theme</h4> <input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"light\" id=\"settings-theme-light\"> <label for=\"settings-theme-light\">Light</label> <p class=\"form-help\">Default theme. Improves readability.</p> <input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"dark\" id=\"settings-theme-dark\"> <label for=\"settings-theme-dark\">Dark</label> <p class=\"form-help\">Reduces eye fatigue. Ideal for low light conditions.</p> <h4>Page Width</h4> <input class=\"config-option\" type=\"radio\" name=\"width\" value=\"light\" id=\"settings-width-normal\"> <label for=\"settings-width-normal\">Normal</label> <p class=\"form-help\">Fixed page width. Improves readability.</p> <input class=\"config-option\" type=\"radio\" name=\"width\" value=\"dark\" id=\"settings-width-full\"> <label for=\"settings-width-full\">Full-page</label> <p class=\"form-help\">Dynamic page width. As wide as the browser window.</p> </div> </div> </div> <script> (function() { let configOptions = document.querySelectorAll('.config-option'); let oppositeValues = { 'light': 'dark', 'dark': 'light', 'normal': 'full', 'full': 'normal' }; [...configOptions].forEach(option => { option.addEventListener('click', function (event) { let optionParts = option.id.split('-'); let optionName = optionParts[1]; let optionValue = optionParts[2]; document.body.classList.remove(optionName + '-' + oppositeValues[optionValue]); document.body.classList.add(optionName + '-' + optionValue); localStorage.setItem('symfony/profiler/' + optionName, optionName + '-' + optionValue); }); }); let openModalButton = document.getElementById('open-settings'); let modalWindow = document.getElementById('profiler-settings'); let closeModalButton = document.getElementsByClassName('close-modal')[0]; let modalWrapper = document.getElementsByClassName('modal-wrap')[0] openModalButton.addEventListener('click', function(event) { document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/theme') || 'theme-light')).checked = 'checked'; document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/width') || 'width-normal')).checked = 'checked'; modalWindow.classList.toggle('visible'); event.preventDefault(); }); closeModalButton.addEventListener('click', function() { modalWindow.classList.remove('visible'); }); modalWrapper.addEventListener('click', function(event) { if (event.target == event.currentTarget) { modalWindow.classList.remove('visible'); } }); })(); </script> "; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "@WebProfiler/Profiler/settings.html.twig"; } public function getDebugInfo() { return array ( 43 => 1,); } public function getSourceContext() { return new Source("<style> #open-settings { color: var(--color-muted); display: block; margin: 15px 15px 5px; } .modal-wrap { -webkit-transition: all 0.3s ease-in-out; align-items: center; background: rgba(0, 0, 0, 0.8); display: flex; height: 100%; justify-content: center; left: 0; opacity: 1; overflow: auto; position: fixed; top: 0; transition: all 0.3s ease-in-out; visibility: hidden; width: 100%; z-index: 100000; } .modal-wrap.visible { opacity: 1; visibility: visible; } .modal-wrap .modal-container { box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5); color: var(--base-6); margin: 1em; max-width: 94%; width: 600px; } .modal-wrap .modal-header { align-items: center; background: var(--table-header); display: flex; justify-content: space-between; padding: 15px 30px; } .modal-wrap .modal-header h3 { color: var(--base-6); margin: 0; } .modal-wrap .modal-header .close-modal { background: transparent; border: 0; color: var(--base-4); cursor: pointer; font-size: 28px; line-height: 1; } .modal-wrap .modal-header .close-modal:hover { opacity: 1; } .modal-wrap .modal-content { background: var(--base-1); margin: 0; padding: 15px 30px; width: 100%; z-index: 100000; } .modal-content h4 { border-bottom: var(--border); margin: 0 0 15px; padding: 0 0 5px; } .modal-content input, .modal-content .form-help { margin-left: 15px; } .modal-content label { cursor: pointer; font-size: 16px; margin-left: 3px; } .modal-content .form-help { color: var(--color-muted); font-size: 14px; margin: 5px 0 15px 33px; } .modal-content .form-help + h4 { margin-top: 45px; } @media (max-width: 768px) { #open-settings { color: transparent; } #sidebar:hover #open-settings, #sidebar.expanded #open-settings { color: var(--color-muted); } #open-settings:before { content: '\\2699'; font-weight: bold; font-size: 25px; color: var(--color-muted); } #sidebar:hover #open-settings:before, #sidebar.expanded #open-settings:before { content: ''; } } </style> <a href=\"#\" id=\"open-settings\">Settings</a> <div class=\"modal-wrap\" id=\"profiler-settings\"> <div class=\"modal-container\"> <div class=\"modal-header\"> <h3>Configuration Settings</h3> <button class=\"close-modal\">×</button> </div> <div class=\"modal-content\"> <h4>Theme</h4> <input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"light\" id=\"settings-theme-light\"> <label for=\"settings-theme-light\">Light</label> <p class=\"form-help\">Default theme. Improves readability.</p> <input class=\"config-option\" type=\"radio\" name=\"theme\" value=\"dark\" id=\"settings-theme-dark\"> <label for=\"settings-theme-dark\">Dark</label> <p class=\"form-help\">Reduces eye fatigue. Ideal for low light conditions.</p> <h4>Page Width</h4> <input class=\"config-option\" type=\"radio\" name=\"width\" value=\"light\" id=\"settings-width-normal\"> <label for=\"settings-width-normal\">Normal</label> <p class=\"form-help\">Fixed page width. Improves readability.</p> <input class=\"config-option\" type=\"radio\" name=\"width\" value=\"dark\" id=\"settings-width-full\"> <label for=\"settings-width-full\">Full-page</label> <p class=\"form-help\">Dynamic page width. As wide as the browser window.</p> </div> </div> </div> <script> (function() { let configOptions = document.querySelectorAll('.config-option'); let oppositeValues = { 'light': 'dark', 'dark': 'light', 'normal': 'full', 'full': 'normal' }; [...configOptions].forEach(option => { option.addEventListener('click', function (event) { let optionParts = option.id.split('-'); let optionName = optionParts[1]; let optionValue = optionParts[2]; document.body.classList.remove(optionName + '-' + oppositeValues[optionValue]); document.body.classList.add(optionName + '-' + optionValue); localStorage.setItem('symfony/profiler/' + optionName, optionName + '-' + optionValue); }); }); let openModalButton = document.getElementById('open-settings'); let modalWindow = document.getElementById('profiler-settings'); let closeModalButton = document.getElementsByClassName('close-modal')[0]; let modalWrapper = document.getElementsByClassName('modal-wrap')[0] openModalButton.addEventListener('click', function(event) { document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/theme') || 'theme-light')).checked = 'checked'; document.getElementById('settings-' + (localStorage.getItem('symfony/profiler/width') || 'width-normal')).checked = 'checked'; modalWindow.classList.toggle('visible'); event.preventDefault(); }); closeModalButton.addEventListener('click', function() { modalWindow.classList.remove('visible'); }); modalWrapper.addEventListener('click', function(event) { if (event.target == event.currentTarget) { modalWindow.classList.remove('visible'); } }); })(); </script> ", "@WebProfiler/Profiler/settings.html.twig", "/var/www/html/mixchief_app/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/settings.html.twig"); } }