<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* server/status/base.twig */
class __TwigTemplate_3e1c2daaf9d7d75e853d8efc589d71cc extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 1
yield "<div class=\"container-fluid\">
<div class=\"row\">
<ul class=\"nav nav-pills m-2\">
<li class=\"nav-item\">
<a href=\"";
// line 5
yield PhpMyAdmin\Url::getFromRoute("/server/status");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "status")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("Server");
// line 7
yield " </a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 10
yield PhpMyAdmin\Url::getFromRoute("/server/status/processes");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "processes")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("Processes");
// line 12
yield " </a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 15
yield PhpMyAdmin\Url::getFromRoute("/server/status/queries");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "queries")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("Query statistics");
// line 17
yield " </a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 20
yield PhpMyAdmin\Url::getFromRoute("/server/status/variables");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "variables")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("All status variables");
// line 22
yield " </a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 25
yield PhpMyAdmin\Url::getFromRoute("/server/status/monitor");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "monitor")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("Monitor");
// line 27
yield " </a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 30
yield PhpMyAdmin\Url::getFromRoute("/server/status/advisor");
yield "\" class=\"nav-link";
yield (((($context["active"] ?? null) == "advisor")) ? (" active") : (""));
yield " disableAjax\">
";
yield _gettext("Advisor");
// line 32
yield " </a>
</li>
</ul>
</div>
";
// line 37
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 38
yield "</div>
";
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "server/status/base.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 131 => 37, 125 => 38, 123 => 37, 116 => 32, 109 => 30, 104 => 27, 97 => 25, 92 => 22, 85 => 20, 80 => 17, 73 => 15, 68 => 12, 61 => 10, 56 => 7, 49 => 5, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "server/status/base.twig", "/usr/share/phpmyadmin/templates/server/status/base.twig");
}
}