HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/share/phpmyadmin/templates/table/partition/check.twig
<div class="container-fluid">
  <h2>{% trans 'Check partition' %}</h2>

  {{ message|raw }}

  {% for name, table in rows %}
    <div class="card mb-3">
      <div class="card-header">{{ name }} ({{ partition_name }})</div>

      <ul class="list-group list-group-flush">
        {% for row in table %}
          <li class="list-group-item">
            {% if row.Op|lower != 'check' %}
              <span class="badge badge-secondary">{{ row.Op|title }}</span>
            {% endif %}

            {% set badge_variation %}
              {%- if row.Msg_type|lower == 'error' -%}
                badge-danger
              {%- elseif row.Msg_type|lower == 'warning' -%}
                badge-warning
              {%- elseif row.Msg_type|lower == 'info' or row.Msg_type|lower == 'note' -%}
                badge-info
              {%- else -%}
                badge-secondary
              {%- endif -%}
            {% endset %}
            <span class="badge {{ badge_variation }}">{{ row.Msg_type|title }}</span>

            {{ row.Msg_text }}
          </li>
        {% endfor %}
      </ul>
    </div>
  {% endfor %}
</div>