/
home
/
obinna
/
html
/
mixchief_app
/
var
/
cache
/
prod
/
twig
/
cb
/
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_32b2f2648fedf646988d6537f18e4195d684b582b60712558b255b288199c714 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; // 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>"; } // line 7 public function block_styles($context, array $blocks = []) { $macros = $this->macros; // 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"; } // line 60 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 61 echo "\t\t\t \t\t"; } // line 65 public function block_scripts($context, array $blocks = []) { $macros = $this->macros; // 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"; } public function getTemplateName() { return "empty.html.twig"; } public function getDebugInfo() { return array ( 138 => 66, 134 => 65, 129 => 61, 125 => 60, 75 => 9, 73 => 8, 69 => 7, 64 => 94, 62 => 65, 58 => 63, 56 => 60, 50 => 56, 48 => 7, 40 => 1,); } public function getSourceContext() { return new Source("", "empty.html.twig", "/var/www/html/mixchief_app/templates/empty.html.twig"); } }