/usr/share/phpmyadmin/templates/server/status/variables
Edit: /usr/share/phpmyadmin/templates/server/status/variables/index.twig (4935B)
{% extends 'server/status/base.twig' %}
{% set active = 'variables' %}
{% block content %}
{% if is_data_loaded %}
{% trans 'Related links:' %}
{% for link in links %}
{% for link_name, link_url in link.links %}
{% if link_name == 'doc' %}
{{ show_mysql_docu(link_url) }}
{% else %}
{{ link_name }}
{% endif %}
|
{% endfor %}
{% endfor %}
| {% trans 'Variable' %} |
{% trans 'Value' %} |
{% trans 'Description' %} |
{% for variable in variables %}
|
{{ variable.name|replace({'_': ' '}) }}
{{ variable.doc|raw }}
|
{% if variable.has_alert %}
{% endif %}
{% if variable.name ends with '%' %}
{{ format_number(variable.value, 0, 2) }} %
{% elseif 'Uptime' in variable.name %}
{{ timespan_format(variable.value) }}
{% elseif variable.is_numeric and variable.value >= 1000 %}
{{ format_number(variable.value, 3, 1) }}
{% elseif variable.is_numeric %}
{{ format_number(variable.value, 3, 1) }}
{% else %}
{{ variable.value }}
{% endif %}
{% if variable.has_alert %}
{% endif %}
{% if variable.has_alert %}
{% endif %}
{{ variable.value }}
{% if variable.has_alert %}
{% endif %}
|
{{ variable.description }}
{% for doc in variable.description_doc %}
{% if doc.name == 'doc' %}
{{ show_mysql_docu(doc.url) }}
{% else %}
{{ doc.name }}
{% endif %}
{% endfor %}
|
{% endfor %}
{% else %}
{{ 'Not enough privilege to view status variables.'|trans|error }}
{% endif %}
{% endblock %}