caisse-bliss/var/cache/dev/twig/9b/9b566e03360c842f09b294ffc66...

233 lines
10 KiB
PHP

<?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/search.html.twig */
class __TwigTemplate_9b8f55124a80abed0b8f5a8e6883431cd01db686b3857d30d02f25cd91a859c2 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/search.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/search.html.twig"));
// line 1
echo "<div id=\"sidebar-search\" class=\"hidden\">
<form action=\"";
// line 2
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search");
echo "\" method=\"get\">
<div class=\"form-group\">
<label for=\"ip\">IP</label>
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"";
// line 5
echo twig_escape_filter($this->env, (isset($context["ip"]) || array_key_exists("ip", $context) ? $context["ip"] : (function () { throw new RuntimeError('Variable "ip" does not exist.', 5, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"method\">Method</label>
<select name=\"method\" id=\"method\">
<option value=\"\">Any</option>
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "DELETE", 1 => "GET", 2 => "HEAD", 3 => "PATCH", 4 => "POST", 5 => "PUT"]);
foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
// line 13
echo " <option ";
echo ((($context["m"] == (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 13, $this->source); })()))) ? ("selected=\"selected\"") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["m"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['m'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
echo " </select>
</div>
<div class=\"form-group\">
<label for=\"status_code\">Status</label>
<input type=\"number\" name=\"status_code\" id=\"status_code\" min=\"100\" max=\"599\" value=\"";
// line 20
echo twig_escape_filter($this->env, (isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 20, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"url\">URL</label>
<input type=\"text\" name=\"url\" id=\"url\" value=\"";
// line 25
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 25, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"token\">Token</label>
<input type=\"text\" name=\"token\" id=\"token\" value=\"";
// line 30
echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 30, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"start\">From</label>
<input type=\"date\" name=\"start\" id=\"start\" value=\"";
// line 35
echo twig_escape_filter($this->env, (isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 35, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"end\">Until</label>
<input type=\"date\" name=\"end\" id=\"end\" value=\"";
// line 40
echo twig_escape_filter($this->env, (isset($context["end"]) || array_key_exists("end", $context) ? $context["end"] : (function () { throw new RuntimeError('Variable "end" does not exist.', 40, $this->source); })()), "html", null, true);
echo "\">
</div>
<div class=\"form-group\">
<label for=\"limit\">Results</label>
<select name=\"limit\" id=\"limit\">
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => 10, 1 => 50, 2 => 100]);
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
// line 47
echo " <option ";
echo ((($context["l"] == (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 47, $this->source); })()))) ? ("selected=\"selected\"") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["l"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo " </select>
</div>
<div class=\"form-group\">
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
</div>
</form>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Profiler/search.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 140 => 49, 129 => 47, 125 => 46, 116 => 40, 108 => 35, 100 => 30, 92 => 25, 84 => 20, 77 => 15, 66 => 13, 62 => 12, 52 => 5, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div id=\"sidebar-search\" class=\"hidden\">
<form action=\"{{ path('_profiler_search') }}\" method=\"get\">
<div class=\"form-group\">
<label for=\"ip\">IP</label>
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"{{ ip }}\">
</div>
<div class=\"form-group\">
<label for=\"method\">Method</label>
<select name=\"method\" id=\"method\">
<option value=\"\">Any</option>
{% for m in ['DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'] %}
<option {{ m == method ? 'selected=\"selected\"' }}>{{ m }}</option>
{% endfor %}
</select>
</div>
<div class=\"form-group\">
<label for=\"status_code\">Status</label>
<input type=\"number\" name=\"status_code\" id=\"status_code\" min=\"100\" max=\"599\" value=\"{{ status_code }}\">
</div>
<div class=\"form-group\">
<label for=\"url\">URL</label>
<input type=\"text\" name=\"url\" id=\"url\" value=\"{{ url }}\">
</div>
<div class=\"form-group\">
<label for=\"token\">Token</label>
<input type=\"text\" name=\"token\" id=\"token\" value=\"{{ token }}\">
</div>
<div class=\"form-group\">
<label for=\"start\">From</label>
<input type=\"date\" name=\"start\" id=\"start\" value=\"{{ start }}\">
</div>
<div class=\"form-group\">
<label for=\"end\">Until</label>
<input type=\"date\" name=\"end\" id=\"end\" value=\"{{ end }}\">
</div>
<div class=\"form-group\">
<label for=\"limit\">Results</label>
<select name=\"limit\" id=\"limit\">
{% for l in [10, 50, 100] %}
<option {{ l == limit ? 'selected=\"selected\"' }}>{{ l }}</option>
{% endfor %}
</select>
</div>
<div class=\"form-group\">
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
</div>
</form>
</div>
", "@WebProfiler/Profiler/search.html.twig", "/home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/search.html.twig");
}
}