611 lines
36 KiB
PHP
611 lines
36 KiB
PHP
<?php
|
|
|
|
use Twig\Environment;
|
|
use Twig\Error\LoaderError;
|
|
use Twig\Error\RuntimeError;
|
|
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/layout.html.twig */
|
|
class __TwigTemplate_aa5b710cfd7932fc7b84726974703e29e09adb38fca729f724b761fd7300eaf6 extends \Twig\Template
|
|
{
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
// line 1
|
|
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/base.html.twig", "@WebProfiler/Profiler/layout.html.twig", 1);
|
|
$this->blocks = [
|
|
'body' => [$this, 'block_body'],
|
|
'summary' => [$this, 'block_summary'],
|
|
'panel' => [$this, 'block_panel'],
|
|
];
|
|
}
|
|
|
|
protected function doGetParent(array $context)
|
|
{
|
|
return "@WebProfiler/Profiler/base.html.twig";
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/layout.html.twig"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/layout.html.twig"));
|
|
|
|
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
// line 3
|
|
public function block_body($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
|
|
|
|
// line 4
|
|
echo " ";
|
|
echo twig_include($this->env, $context, "@WebProfiler/Profiler/header.html.twig", [], false);
|
|
echo "
|
|
|
|
<div id=\"summary\">
|
|
";
|
|
// line 7
|
|
$this->displayBlock('summary', $context, $blocks);
|
|
// line 85
|
|
echo " </div>
|
|
|
|
<div id=\"content\" class=\"container\">
|
|
<div id=\"main\">
|
|
<div id=\"sidebar\">
|
|
<div id=\"sidebar-shortcuts\">
|
|
<div class=\"shortcuts\">
|
|
<a href=\"#\" id=\"sidebarShortcutsMenu\" class=\"visible-small\">
|
|
<span class=\"icon\">";
|
|
// line 93
|
|
echo twig_include($this->env, $context, "@WebProfiler/Icon/menu.svg");
|
|
echo "</span>
|
|
</a>
|
|
|
|
<a class=\"btn btn-sm\" href=\"";
|
|
// line 96
|
|
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_search", ["limit" => 10]);
|
|
echo "\">Last 10</a>
|
|
<a class=\"btn btn-sm\" href=\"";
|
|
// line 97
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler", twig_array_merge(["token" => "latest"], $this->getAttribute($this->getAttribute(($context["request"] ?? $this->getContext($context, "request")), "query", []), "all", []))), "html", null, true);
|
|
echo "\">Latest</a>
|
|
|
|
<a class=\"sf-toggle btn btn-sm\" data-toggle-selector=\"#sidebar-search\" ";
|
|
// line 99
|
|
if (((isset($context["tokens"]) || array_key_exists("tokens", $context)) || (isset($context["about"]) || array_key_exists("about", $context)))) {
|
|
echo "data-toggle-initial=\"display\"";
|
|
}
|
|
echo ">
|
|
";
|
|
// line 100
|
|
echo twig_include($this->env, $context, "@WebProfiler/Icon/search.svg");
|
|
echo " <span class=\"hidden-small\">Search</span>
|
|
</a>
|
|
|
|
";
|
|
// line 103
|
|
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_search_bar", $this->getAttribute($this->getAttribute(($context["request"] ?? $this->getContext($context, "request")), "query", []), "all", [])));
|
|
echo "
|
|
</div>
|
|
</div>
|
|
|
|
";
|
|
// line 107
|
|
if ((isset($context["templates"]) || array_key_exists("templates", $context))) {
|
|
// line 108
|
|
echo " <ul id=\"menu-profiler\">
|
|
";
|
|
// line 109
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["templates"] ?? $this->getContext($context, "templates")));
|
|
$context['loop'] = [
|
|
'parent' => $context['_parent'],
|
|
'index0' => 0,
|
|
'index' => 1,
|
|
'first' => true,
|
|
];
|
|
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
|
$length = count($context['_seq']);
|
|
$context['loop']['revindex0'] = $length - 1;
|
|
$context['loop']['revindex'] = $length;
|
|
$context['loop']['length'] = $length;
|
|
$context['loop']['last'] = 1 === $length;
|
|
}
|
|
foreach ($context['_seq'] as $context["name"] => $context["template"]) {
|
|
// line 110
|
|
echo " ";
|
|
ob_start();
|
|
// line 111
|
|
if ( $this->loadTemplate($context["template"], "@WebProfiler/Profiler/layout.html.twig", 111)->hasBlock("menu", $context)) {
|
|
// line 112
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ["collector" => $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "getcollector", [0 => $context["name"]], "method"), "profiler_markup_version" => ($context["profiler_markup_version"] ?? $this->getContext($context, "profiler_markup_version"))];
|
|
if ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof \Traversable) {
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = iterator_to_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
}
|
|
if (!is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.');
|
|
}
|
|
$context['_parent'] = $context;
|
|
$context = array_merge($context, $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
// line 113
|
|
$this->loadTemplate($context["template"], "@WebProfiler/Profiler/layout.html.twig", 113)->displayBlock("menu", $context);
|
|
$context = $context['_parent'];
|
|
}
|
|
$context["menu"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
|
|
// line 117
|
|
echo " ";
|
|
if ( !twig_test_empty(($context["menu"] ?? $this->getContext($context, "menu")))) {
|
|
// line 118
|
|
echo " <li class=\"";
|
|
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
|
|
echo " ";
|
|
echo ((($context["name"] == ($context["panel"] ?? $this->getContext($context, "panel")))) ? ("selected") : (""));
|
|
echo "\">
|
|
<a href=\"";
|
|
// line 119
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler", ["token" => ($context["token"] ?? $this->getContext($context, "token")), "panel" => $context["name"]]), "html", null, true);
|
|
echo "\">";
|
|
echo ($context["menu"] ?? $this->getContext($context, "menu"));
|
|
echo "</a>
|
|
</li>
|
|
";
|
|
}
|
|
// line 122
|
|
echo " ";
|
|
++$context['loop']['index0'];
|
|
++$context['loop']['index'];
|
|
$context['loop']['first'] = false;
|
|
if (isset($context['loop']['length'])) {
|
|
--$context['loop']['revindex0'];
|
|
--$context['loop']['revindex'];
|
|
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
|
}
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 123
|
|
echo " </ul>
|
|
";
|
|
}
|
|
// line 125
|
|
echo " </div>
|
|
|
|
<div id=\"collector-wrapper\">
|
|
<div id=\"collector-content\">
|
|
";
|
|
// line 129
|
|
echo twig_include($this->env, $context, "@WebProfiler/Profiler/base_js.html.twig");
|
|
echo "
|
|
";
|
|
// line 130
|
|
$this->displayBlock('panel', $context, $blocks);
|
|
// line 131
|
|
echo " </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
(function () {
|
|
Sfjs.addEventListener(document.getElementById('sidebarShortcutsMenu'), 'click', function (event) {
|
|
event.preventDefault();
|
|
Sfjs.toggleClass(document.getElementById('sidebar'), 'expanded');
|
|
})
|
|
}())
|
|
</script>
|
|
";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 7
|
|
public function block_summary($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "summary"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "summary"));
|
|
|
|
// line 8
|
|
echo " ";
|
|
if ((isset($context["profile"]) || array_key_exists("profile", $context))) {
|
|
// line 9
|
|
echo " ";
|
|
$context["status_code"] = ((twig_in_filter("request", twig_get_array_keys_filter($this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "collectors", [])))) ? ((($this->getAttribute($this->getAttribute(($context["profile"] ?? null), "getcollector", [0 => "request"], "method", false, true), "statuscode", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["profile"] ?? null), "getcollector", [0 => "request"], "method", false, true), "statuscode", []), 0)) : (0))) : (0));
|
|
// line 10
|
|
echo " ";
|
|
$context["css_class"] = (((($context["status_code"] ?? $this->getContext($context, "status_code")) > 399)) ? ("status-error") : ((((($context["status_code"] ?? $this->getContext($context, "status_code")) > 299)) ? ("status-warning") : ("status-success"))));
|
|
// line 11
|
|
echo "
|
|
<div class=\"status ";
|
|
// line 12
|
|
echo twig_escape_filter($this->env, ($context["css_class"] ?? $this->getContext($context, "css_class")), "html", null, true);
|
|
echo "\">
|
|
<div class=\"container\">
|
|
<h2 class=\"break-long-words\">
|
|
";
|
|
// line 15
|
|
if (twig_in_filter(twig_upper_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "method", [])), [0 => "GET", 1 => "HEAD"])) {
|
|
// line 16
|
|
echo " <a href=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "url", []), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "url", []), "html", null, true);
|
|
echo "</a>
|
|
";
|
|
} else {
|
|
// line 18
|
|
echo " ";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "url", []), "html", null, true);
|
|
echo "
|
|
";
|
|
}
|
|
// line 20
|
|
echo " </h2>
|
|
|
|
";
|
|
// line 22
|
|
$context["request_collector"] = (($this->getAttribute($this->getAttribute(($context["profile"] ?? null), "collectors", [], "any", false, true), "request", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getAttribute(($context["profile"] ?? null), "collectors", [], "any", false, true), "request", []), false)) : (false));
|
|
// line 23
|
|
echo " ";
|
|
if ((($context["request_collector"] ?? $this->getContext($context, "request_collector")) && $this->getAttribute(($context["request_collector"] ?? $this->getContext($context, "request_collector")), "redirect", []))) {
|
|
// line 24
|
|
$context["redirect"] = $this->getAttribute(($context["request_collector"] ?? $this->getContext($context, "request_collector")), "redirect", []);
|
|
// line 25
|
|
$context["controller"] = $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "controller", []);
|
|
// line 26
|
|
$context["redirect_route"] = ("@" . $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "route", []));
|
|
// line 27
|
|
echo " <dl class=\"metadata\">
|
|
<dt>
|
|
<span class=\"label\">";
|
|
// line 29
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "status_code", []), "html", null, true);
|
|
echo "</span>
|
|
Redirect from
|
|
</dt>
|
|
<dd>
|
|
";
|
|
// line 33
|
|
echo twig_escape_filter($this->env, ((("GET" != $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "method", []))) ? ($this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "method", [])) : ("")), "html", null, true);
|
|
echo "
|
|
";
|
|
// line 34
|
|
if ($this->getAttribute($this->getAttribute(($context["redirect"] ?? null), "controller", [], "any", false, true), "class", [], "any", true, true)) {
|
|
// line 35
|
|
$context["link"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->getFileLink($this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "file", []), $this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "line", []));
|
|
// line 36
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
echo "<a href=\"";
|
|
echo twig_escape_filter($this->env, ($context["link"] ?? $this->getContext($context, "link")), "html", null, true);
|
|
echo "\" title=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "file", []), "html", null, true);
|
|
echo "\">";
|
|
}
|
|
// line 37
|
|
echo twig_escape_filter($this->env, ($context["redirect_route"] ?? $this->getContext($context, "redirect_route")), "html", null, true);
|
|
// line 38
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
echo "</a>";
|
|
}
|
|
} else {
|
|
// line 40
|
|
echo twig_escape_filter($this->env, ($context["redirect_route"] ?? $this->getContext($context, "redirect_route")), "html", null, true);
|
|
}
|
|
// line 42
|
|
echo " (<a href=\"";
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler", ["token" => $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "token", []), "panel" => $this->getAttribute($this->getAttribute(($context["request"] ?? $this->getContext($context, "request")), "query", []), "get", [0 => "panel", 1 => "request"], "method")]), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["redirect"] ?? $this->getContext($context, "redirect")), "token", []), "html", null, true);
|
|
echo "</a>)
|
|
</dd>
|
|
</dl>";
|
|
}
|
|
// line 46
|
|
echo "
|
|
";
|
|
// line 47
|
|
if (((($context["request_collector"] ?? $this->getContext($context, "request_collector")) && (($this->getAttribute(($context["request_collector"] ?? null), "forward", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["request_collector"] ?? null), "forward", []), false)) : (false))) && $this->getAttribute($this->getAttribute($this->getAttribute(($context["request_collector"] ?? null), "forward", [], "any", false, true), "controller", [], "any", false, true), "class", [], "any", true, true))) {
|
|
// line 48
|
|
$context["forward"] = $this->getAttribute(($context["request_collector"] ?? $this->getContext($context, "request_collector")), "forward", []);
|
|
// line 49
|
|
$context["controller"] = $this->getAttribute(($context["forward"] ?? $this->getContext($context, "forward")), "controller", []);
|
|
// line 50
|
|
echo "<dl class=\"metadata\">
|
|
<dt>Forwarded to</dt>
|
|
<dd>
|
|
";
|
|
// line 53
|
|
$context["link"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->getFileLink($this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "file", []), $this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "line", []));
|
|
// line 54
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
echo "<a href=\"";
|
|
echo twig_escape_filter($this->env, ($context["link"] ?? $this->getContext($context, "link")), "html", null, true);
|
|
echo "\" title=\"";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "file", []), "html", null, true);
|
|
echo "\">";
|
|
}
|
|
// line 55
|
|
echo twig_escape_filter($this->env, strip_tags($this->env->getExtension('Symfony\Bridge\Twig\Extension\CodeExtension')->abbrClass($this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "class", []))), "html", null, true);
|
|
// line 56
|
|
echo twig_escape_filter($this->env, (($this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "method", [])) ? ((" :: " . $this->getAttribute(($context["controller"] ?? $this->getContext($context, "controller")), "method", []))) : ("")), "html", null, true);
|
|
// line 57
|
|
if (($context["link"] ?? $this->getContext($context, "link"))) {
|
|
echo "</a>";
|
|
}
|
|
// line 58
|
|
echo " (<a href=\"";
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler", ["token" => $this->getAttribute(($context["forward"] ?? $this->getContext($context, "forward")), "token", [])]), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["forward"] ?? $this->getContext($context, "forward")), "token", []), "html", null, true);
|
|
echo "</a>)
|
|
</dd>
|
|
</dl>";
|
|
}
|
|
// line 62
|
|
echo "
|
|
<dl class=\"metadata\">
|
|
<dt>Method</dt>
|
|
<dd>";
|
|
// line 65
|
|
echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "method", [])), "html", null, true);
|
|
echo "</dd>
|
|
|
|
<dt>HTTP Status</dt>
|
|
<dd>";
|
|
// line 68
|
|
echo twig_escape_filter($this->env, ($context["status_code"] ?? $this->getContext($context, "status_code")), "html", null, true);
|
|
echo "</dd>
|
|
|
|
<dt>IP</dt>
|
|
<dd>
|
|
<a href=\"";
|
|
// line 72
|
|
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_search_results", ["token" => ($context["token"] ?? $this->getContext($context, "token")), "limit" => 10, "ip" => $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "ip", [])]), "html", null, true);
|
|
echo "\">";
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "ip", []), "html", null, true);
|
|
echo "</a>
|
|
</dd>
|
|
|
|
<dt>Profiled on</dt>
|
|
<dd>";
|
|
// line 76
|
|
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "time", []), "r"), "html", null, true);
|
|
echo "</dd>
|
|
|
|
<dt>Token</dt>
|
|
<dd>";
|
|
// line 79
|
|
echo twig_escape_filter($this->env, $this->getAttribute(($context["profile"] ?? $this->getContext($context, "profile")), "token", []), "html", null, true);
|
|
echo "</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
";
|
|
}
|
|
// line 84
|
|
echo " ";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
// line 130
|
|
public function block_panel($context, array $blocks = [])
|
|
{
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
|
|
|
|
echo "";
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "@WebProfiler/Profiler/layout.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 423 => 130, 413 => 84, 405 => 79, 399 => 76, 390 => 72, 383 => 68, 377 => 65, 372 => 62, 363 => 58, 359 => 57, 357 => 56, 355 => 55, 347 => 54, 345 => 53, 340 => 50, 338 => 49, 336 => 48, 334 => 47, 331 => 46, 322 => 42, 319 => 40, 314 => 38, 312 => 37, 304 => 36, 302 => 35, 300 => 34, 296 => 33, 289 => 29, 285 => 27, 283 => 26, 281 => 25, 279 => 24, 276 => 23, 274 => 22, 270 => 20, 264 => 18, 256 => 16, 254 => 15, 248 => 12, 245 => 11, 242 => 10, 239 => 9, 236 => 8, 227 => 7, 205 => 131, 203 => 130, 199 => 129, 193 => 125, 189 => 123, 175 => 122, 167 => 119, 160 => 118, 157 => 117, 152 => 113, 142 => 112, 140 => 111, 137 => 110, 120 => 109, 117 => 108, 115 => 107, 108 => 103, 102 => 100, 96 => 99, 91 => 97, 87 => 96, 81 => 93, 71 => 85, 69 => 7, 62 => 4, 53 => 3, 22 => 1,);
|
|
}
|
|
|
|
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
|
public function getSource()
|
|
{
|
|
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
|
|
|
return $this->getSourceContext()->getCode();
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% extends '@WebProfiler/Profiler/base.html.twig' %}
|
|
|
|
{% block body %}
|
|
{{ include('@WebProfiler/Profiler/header.html.twig', with_context = false) }}
|
|
|
|
<div id=\"summary\">
|
|
{% block summary %}
|
|
{% if profile is defined %}
|
|
{% set status_code = ('request' in profile.collectors|keys) ? profile.getcollector('request').statuscode|default(0) : 0 %}
|
|
{% set css_class = status_code > 399 ? 'status-error' : status_code > 299 ? 'status-warning' : 'status-success' %}
|
|
|
|
<div class=\"status {{ css_class }}\">
|
|
<div class=\"container\">
|
|
<h2 class=\"break-long-words\">
|
|
{% if profile.method|upper in ['GET', 'HEAD'] %}
|
|
<a href=\"{{ profile.url }}\">{{ profile.url }}</a>
|
|
{% else %}
|
|
{{ profile.url }}
|
|
{% endif %}
|
|
</h2>
|
|
|
|
{% set request_collector = profile.collectors.request|default(false) %}
|
|
{% if request_collector and request_collector.redirect -%}
|
|
{%- set redirect = request_collector.redirect -%}
|
|
{%- set controller = redirect.controller -%}
|
|
{%- set redirect_route = '@' ~ redirect.route %}
|
|
<dl class=\"metadata\">
|
|
<dt>
|
|
<span class=\"label\">{{ redirect.status_code }}</span>
|
|
Redirect from
|
|
</dt>
|
|
<dd>
|
|
{{ 'GET' != redirect.method ? redirect.method }}
|
|
{% if redirect.controller.class is defined -%}
|
|
{%- set link = controller.file|file_link(controller.line) -%}
|
|
{% if link %}<a href=\"{{ link }}\" title=\"{{ controller.file }}\">{% endif -%}
|
|
{{ redirect_route }}
|
|
{%- if link %}</a>{% endif -%}
|
|
{%- else -%}
|
|
{{ redirect_route }}
|
|
{%- endif %}
|
|
(<a href=\"{{ path('_profiler', { token: redirect.token, panel: request.query.get('panel', 'request') }) }}\">{{ redirect.token }}</a>)
|
|
</dd>
|
|
</dl>
|
|
{%- endif %}
|
|
|
|
{% if request_collector and request_collector.forward|default(false) and request_collector.forward.controller.class is defined -%}
|
|
{%- set forward = request_collector.forward -%}
|
|
{%- set controller = forward.controller -%}
|
|
<dl class=\"metadata\">
|
|
<dt>Forwarded to</dt>
|
|
<dd>
|
|
{% set link = controller.file|file_link(controller.line) -%}
|
|
{%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.file }}\">{% endif -%}
|
|
{{- controller.class|abbr_class|striptags -}}
|
|
{{- controller.method ? ' :: ' ~ controller.method }}
|
|
{%- if link %}</a>{% endif %}
|
|
(<a href=\"{{ path('_profiler', { token: forward.token }) }}\">{{ forward.token }}</a>)
|
|
</dd>
|
|
</dl>
|
|
{%- endif %}
|
|
|
|
<dl class=\"metadata\">
|
|
<dt>Method</dt>
|
|
<dd>{{ profile.method|upper }}</dd>
|
|
|
|
<dt>HTTP Status</dt>
|
|
<dd>{{ status_code }}</dd>
|
|
|
|
<dt>IP</dt>
|
|
<dd>
|
|
<a href=\"{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}\">{{ profile.ip }}</a>
|
|
</dd>
|
|
|
|
<dt>Profiled on</dt>
|
|
<dd>{{ profile.time|date('r') }}</dd>
|
|
|
|
<dt>Token</dt>
|
|
<dd>{{ profile.token }}</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<div id=\"content\" class=\"container\">
|
|
<div id=\"main\">
|
|
<div id=\"sidebar\">
|
|
<div id=\"sidebar-shortcuts\">
|
|
<div class=\"shortcuts\">
|
|
<a href=\"#\" id=\"sidebarShortcutsMenu\" class=\"visible-small\">
|
|
<span class=\"icon\">{{ include('@WebProfiler/Icon/menu.svg') }}</span>
|
|
</a>
|
|
|
|
<a class=\"btn btn-sm\" href=\"{{ path('_profiler_search', { limit: 10 }) }}\">Last 10</a>
|
|
<a class=\"btn btn-sm\" href=\"{{ path('_profiler', { token: 'latest' }|merge(request.query.all)) }}\">Latest</a>
|
|
|
|
<a class=\"sf-toggle btn btn-sm\" data-toggle-selector=\"#sidebar-search\" {% if tokens is defined or about is defined %}data-toggle-initial=\"display\"{% endif %}>
|
|
{{ include('@WebProfiler/Icon/search.svg') }} <span class=\"hidden-small\">Search</span>
|
|
</a>
|
|
|
|
{{ render(path('_profiler_search_bar', request.query.all)) }}
|
|
</div>
|
|
</div>
|
|
|
|
{% if templates is defined %}
|
|
<ul id=\"menu-profiler\">
|
|
{% for name, template in templates %}
|
|
{% set menu -%}
|
|
{%- if block('menu', template) is defined -%}
|
|
{% with { collector: profile.getcollector(name), profiler_markup_version: profiler_markup_version } %}
|
|
{{- block('menu', template) -}}
|
|
{% endwith %}
|
|
{%- endif -%}
|
|
{%- endset %}
|
|
{% if menu is not empty %}
|
|
<li class=\"{{ name }} {{ name == panel ? 'selected' : '' }}\">
|
|
<a href=\"{{ path('_profiler', { token: token, panel: name }) }}\">{{ menu|raw }}</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div id=\"collector-wrapper\">
|
|
<div id=\"collector-content\">
|
|
{{ include('@WebProfiler/Profiler/base_js.html.twig') }}
|
|
{% block panel '' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
(function () {
|
|
Sfjs.addEventListener(document.getElementById('sidebarShortcutsMenu'), 'click', function (event) {
|
|
event.preventDefault();
|
|
Sfjs.toggleClass(document.getElementById('sidebar'), 'expanded');
|
|
})
|
|
}())
|
|
</script>
|
|
{% endblock %}
|
|
", "@WebProfiler/Profiler/layout.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig");
|
|
}
|
|
}
|