/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
dev
/
twig
/
44
/
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; /* empty.html.twig */ class __TwigTemplate_d6701fd418177292dd727bc1ba7b0b71cbba04c085e5ce3c5e2439bf0b054d91 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'styles' => [$this, 'block_styles'], 'content' => [$this, 'block_content'], 'scripts' => [$this, 'block_scripts'], ]; } 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", "empty.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "empty.html.twig")); // line 1 echo "<!DOCTYPE html> <html> <head> \t<meta charset=\"utf-8\"> \t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"> \t<title>Modal</title> \t"; // line 7 $this->displayBlock('styles', $context, $blocks); // line 56 echo " </head> <body> \t<div class=\"content\"> \t\t"; // line 60 $this->displayBlock('content', $context, $blocks); // line 63 echo "\t</div> \t"; // line 65 $this->displayBlock('scripts', $context, $blocks); // line 94 echo "</body> </html>"; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 7 public function block_styles($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(), "block", "styles")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles")); // line 8 echo "\t\t"; // line 9 echo "\t\t<style> \t\t\t.content { \t\t\t height: 100%; \t\t\t} \t\t\t.content { \t\t\t display: -ms-flexbox; \t\t\t display: flex; \t\t\t -ms-flex-align: center; \t\t\t align-items: center; \t\t\t padding-top: 40px; \t\t\t padding-bottom: 40px; \t\t\t background-color: #f5f5f5; \t\t\t} \t\t\t.modal { \t\t\t\tposition: relative; \t\t\t\tpadding: 0; \t\t\t} \t\t\t.modal a.close-modal { \t\t\t\ttop: 0; \t\t\t\tright: 0; \t\t\t} \t\t\t.form-signin { \t\t\t width: 100%; \t\t\t max-width: 90%; \t\t\t padding: 15px; \t\t\t margin: auto; \t\t\t /*background: #ccc;*/ \t\t\t} \t\t\t.form-signin .checkbox { \t\t\t font-weight: 400; \t\t\t} \t\t\t.form-signin .form-control { \t\t\t position: relative; \t\t\t box-sizing: border-box; \t\t\t height: auto; \t\t\t padding: 10px; \t\t\t font-size: 16px; \t\t\t} \t\t\t.form-signin .form-control:focus { \t\t\t z-index: 2; \t\t\t} \t\t</style> \t"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 60 public function block_content($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(), "block", "content")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); // line 61 echo "\t\t\t \t\t"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 65 public function block_scripts($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(), "block", "scripts")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts")); // line 66 echo "\t\t<script> \t\t\t\$(document).ready(function(){ \t\t\t\t\$('.form-signin').on('submit', function(e){ \t\t\t\t\te.preventDefault(); \t\t\t\t\tconst \$target = \$(e.currentTarget); \t\t\t\t\tvar serialized = \$target.serializeArray() \t\t\t\t\t \t\t\t\t\tvar details = {}; \t\t\t\t\tfor(let i=0; i<serialized.length; i++){ \t\t\t\t\t details[serialized[i].name] = serialized[i].value; \t\t\t\t\t} \t\t\t\t\tfetch(\$target.attr('action'), { \t\t\t\t\t\tcredentials: 'same-origin', \t\t\t\t\t\tmethod: 'POST', \t\t\t\t\t\tbody: JSON.stringify(details) \t\t\t\t\t}) \t\t\t\t\t.then(response => response.json()) \t\t\t\t\t.then(json => { \t\t\t\t\t\tif (json.status === 'success') { \t\t\t\t\t\t\twindow.location.reload(); \t\t\t\t\t\t} \t\t\t\t\t}) \t\t\t\t}) \t\t\t}); \t\t</script> \t"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } public function getTemplateName() { return "empty.html.twig"; } public function getDebugInfo() { return array ( 180 => 66, 170 => 65, 159 => 61, 149 => 60, 93 => 9, 91 => 8, 81 => 7, 70 => 94, 68 => 65, 64 => 63, 62 => 60, 56 => 56, 54 => 7, 46 => 1,); } public function getSourceContext() { return new Source("<!DOCTYPE html> <html> <head> \t<meta charset=\"utf-8\"> \t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"> \t<title>Modal</title> \t{% block styles %} \t\t{# <link rel=\"stylesheet\" href=\"{{ asset('css/bootstrap.min.css') }}\"> #} \t\t<style> \t\t\t.content { \t\t\t height: 100%; \t\t\t} \t\t\t.content { \t\t\t display: -ms-flexbox; \t\t\t display: flex; \t\t\t -ms-flex-align: center; \t\t\t align-items: center; \t\t\t padding-top: 40px; \t\t\t padding-bottom: 40px; \t\t\t background-color: #f5f5f5; \t\t\t} \t\t\t.modal { \t\t\t\tposition: relative; \t\t\t\tpadding: 0; \t\t\t} \t\t\t.modal a.close-modal { \t\t\t\ttop: 0; \t\t\t\tright: 0; \t\t\t} \t\t\t.form-signin { \t\t\t width: 100%; \t\t\t max-width: 90%; \t\t\t padding: 15px; \t\t\t margin: auto; \t\t\t /*background: #ccc;*/ \t\t\t} \t\t\t.form-signin .checkbox { \t\t\t font-weight: 400; \t\t\t} \t\t\t.form-signin .form-control { \t\t\t position: relative; \t\t\t box-sizing: border-box; \t\t\t height: auto; \t\t\t padding: 10px; \t\t\t font-size: 16px; \t\t\t} \t\t\t.form-signin .form-control:focus { \t\t\t z-index: 2; \t\t\t} \t\t</style> \t{% endblock %} </head> <body> \t<div class=\"content\"> \t\t{% block content %} \t\t\t \t\t{% endblock %} \t</div> \t{% block scripts %} \t\t<script> \t\t\t\$(document).ready(function(){ \t\t\t\t\$('.form-signin').on('submit', function(e){ \t\t\t\t\te.preventDefault(); \t\t\t\t\tconst \$target = \$(e.currentTarget); \t\t\t\t\tvar serialized = \$target.serializeArray() \t\t\t\t\t \t\t\t\t\tvar details = {}; \t\t\t\t\tfor(let i=0; i<serialized.length; i++){ \t\t\t\t\t details[serialized[i].name] = serialized[i].value; \t\t\t\t\t} \t\t\t\t\tfetch(\$target.attr('action'), { \t\t\t\t\t\tcredentials: 'same-origin', \t\t\t\t\t\tmethod: 'POST', \t\t\t\t\t\tbody: JSON.stringify(details) \t\t\t\t\t}) \t\t\t\t\t.then(response => response.json()) \t\t\t\t\t.then(json => { \t\t\t\t\t\tif (json.status === 'success') { \t\t\t\t\t\t\twindow.location.reload(); \t\t\t\t\t\t} \t\t\t\t\t}) \t\t\t\t}) \t\t\t}); \t\t</script> \t{% endblock %} </body> </html>", "empty.html.twig", "/var/www/html/mixchief_app/templates/empty.html.twig"); } }