"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-all-languages/templates/table/partition/optimize.twig" (24 Feb 2021, 1136 Bytes) of package /linux/www/phpMyAdmin-5.1.0-all-languages.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <div class="container-fluid">
    2   <h2>{% trans 'Optimize partition' %}</h2>
    3 
    4   {{ message|raw }}
    5 
    6   {% for name, table in rows %}
    7     <div class="card mb-3">
    8       <div class="card-header">{{ name }} ({{ partition_name }})</div>
    9 
   10       <ul class="list-group list-group-flush">
   11         {% for row in table %}
   12           <li class="list-group-item">
   13             {% if row.Op|lower != 'optimize' %}
   14               <span class="badge badge-secondary">{{ row.Op|title }}</span>
   15             {% endif %}
   16 
   17             {% set badge_variation %}
   18               {%- if row.Msg_type|lower == 'error' -%}
   19                 badge-danger
   20               {%- elseif row.Msg_type|lower == 'warning' -%}
   21                 badge-warning
   22               {%- elseif row.Msg_type|lower == 'info' or row.Msg_type|lower == 'note' -%}
   23                 badge-info
   24               {%- else -%}
   25                 badge-secondary
   26               {%- endif -%}
   27             {% endset %}
   28             <span class="badge {{ badge_variation }}">{{ row.Msg_type|title }}</span>
   29 
   30             {{ row.Msg_text }}
   31           </li>
   32         {% endfor %}
   33       </ul>
   34     </div>
   35   {% endfor %}
   36 </div>