Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 09:35:33 +01:00
parent bb4b0f9be8
commit 011b183e28
4263 changed files with 3014 additions and 720369 deletions

View file

@ -1,39 +0,0 @@
<div class="container-fluid">
<h2>
{% trans 'Analyze table' %}
{{ show_mysql_docu('ANALYZE_TABLE') }}
</h2>
{{ message|raw }}
{% for name, table in rows %}
<div class="card mb-3">
<div class="card-header">{{ name }}</div>
<ul class="list-group list-group-flush">
{% for row in table %}
<li class="list-group-item">
{% if row.operation|lower != 'analyze' %}
<span class="badge bg-secondary text-dark">{{ row.operation|title }}</span>
{% endif %}
{% set badge_variation %}
{%- if row.type|lower == 'error' -%}
bg-danger
{%- elseif row.type|lower == 'warning' -%}
bg-warning
{%- elseif row.type|lower == 'info' or row.type|lower == 'note' -%}
bg-info
{%- else -%}
bg-secondary
{%- endif -%}
{% endset %}
<span class="badge {{ badge_variation }} text-dark">{{ row.type|title }}</span>
{{ row.text }}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>

View file

@ -1,41 +0,0 @@
<div class="container-fluid">
<h2>
{% trans 'Check table' %}
{{ show_mysql_docu('CHECK_TABLE') }}
</h2>
{{ message|raw }}
{% for name, table in rows %}
<div class="card mb-3">
<div class="card-header">{{ name }}</div>
<ul class="list-group list-group-flush">
{% for row in table %}
<li class="list-group-item">
{% if row.operation|lower != 'check' %}
<span class="badge bg-secondary text-dark">{{ row.operation|title }}</span>
{% endif %}
{% set badge_variation %}
{%- if row.type|lower == 'error' -%}
bg-danger
{%- elseif row.type|lower == 'warning' -%}
bg-warning
{%- elseif row.type|lower == 'info' or row.type|lower == 'note' -%}
bg-info
{%- else -%}
bg-secondary
{%- endif -%}
{% endset %}
<span class="badge {{ badge_variation }} text-dark">{{ row.type|title }}</span>
{{ row.text }}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
{{ indexes_problems|raw }}
</div>

View file

@ -1,35 +0,0 @@
<div class="container-fluid">
<h2>
{% trans 'Checksum table' %}
{{ show_mysql_docu('CHECKSUM_TABLE') }}
</h2>
{{ message|raw }}
<table class="table table-striped w-auto my-3">
<thead>
<tr>
<th>{% trans 'Table' %}</th>
<th>{% trans 'Checksum' %}</th>
</tr>
</thead>
<tbody>
{% for row in rows %}
<tr>
<td>{{ row.Table }}</td>
<td class="text-end">
{% if row.Checksum is not null %}
{{ row.Checksum }}
{% else %}
<em class="text-muted">NULL</em>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% for warning in warnings %}
{{ warning|notice }}
{% endfor %}
</div>

View file

@ -1,39 +0,0 @@
<div class="container-fluid">
<h2>
{% trans 'Optimize table' %}
{{ show_mysql_docu('OPTIMIZE_TABLE') }}
</h2>
{{ message|raw }}
{% for name, table in rows %}
<div class="card mb-3">
<div class="card-header">{{ name }}</div>
<ul class="list-group list-group-flush">
{% for row in table %}
<li class="list-group-item">
{% if row.operation|lower != 'optimize' %}
<span class="badge bg-secondary text-dark">{{ row.operation|title }}</span>
{% endif %}
{% set badge_variation %}
{%- if row.type|lower == 'error' -%}
bg-danger
{%- elseif row.type|lower == 'warning' -%}
bg-warning
{%- elseif row.type|lower == 'info' or row.type|lower == 'note' -%}
bg-info
{%- else -%}
bg-secondary
{%- endif -%}
{% endset %}
<span class="badge {{ badge_variation }} text-dark">{{ row.type|title }}</span>
{{ row.text }}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>

View file

@ -1,39 +0,0 @@
<div class="container-fluid">
<h2>
{% trans 'Repair table' %}
{{ show_mysql_docu('REPAIR_TABLE') }}
</h2>
{{ message|raw }}
{% for name, table in rows %}
<div class="card mb-3">
<div class="card-header">{{ name }}</div>
<ul class="list-group list-group-flush">
{% for row in table %}
<li class="list-group-item">
{% if row.operation|lower != 'repair' %}
<span class="badge bg-secondary text-dark">{{ row.operation|title }}</span>
{% endif %}
{% set badge_variation %}
{%- if row.type|lower == 'error' -%}
bg-danger
{%- elseif row.type|lower == 'warning' -%}
bg-warning
{%- elseif row.type|lower == 'info' or row.type|lower == 'note' -%}
bg-info
{%- else -%}
bg-secondary
{%- endif -%}
{% endset %}
<span class="badge {{ badge_variation }} text-dark">{{ row.type|title }}</span>
{{ row.text }}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>