Update website

This commit is contained in:
Guilhem Lavaux 2025-03-24 09:27:39 +01:00
parent a0b0d3dae7
commit ae7ef6ad45
3151 changed files with 566766 additions and 48 deletions

View file

@ -0,0 +1,33 @@
<div class="container-fluid">
<div class="row">
<h2>
{{ get_image('b_engine') }}
{% trans 'Storage engines' %}
</h2>
</div>
<div class="table-responsive">
<table class="table table-light table-striped table-hover w-auto">
<thead class="thead-light">
<tr>
<th scope="col">{% trans 'Storage Engine' %}</th>
<th scope="col">{% trans 'Description' %}</th>
</tr>
</thead>
<tbody>
{% for engine, details in engines %}
<tr class="
{{- details['Support'] == 'NO' or details['Support'] == 'DISABLED' ? ' disabled' }}
{{ details['Support'] == 'DEFAULT' ? ' marked' }}">
<td>
<a rel="newpage" href="{{ url('/server/engines/' ~ engine) }}">
{{ details['Engine'] }}
</a>
</td>
<td>{{ details['Comment'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>

View file

@ -0,0 +1,46 @@
<h2>
{{ get_image('b_engine') }}
{% trans 'Storage engines' %}
</h2>
{% if engine is not empty %}
<h2>
{{ get_image('b_engine') }}
{{ engine.title }}
{{ show_mysql_docu(engine.help_page) }}
</h2>
<p><em>{{ engine.comment }}</em></p>
{% if engine.info_pages is not empty and engine.info_pages is iterable %}
<p>
<strong>[</strong>
{% if page is empty %}
<strong>{% trans 'Variables' %}</strong>
{% else %}
<a href="{{ url('/server/engines/' ~ engine.engine) }}">
{% trans 'Variables' %}
</a>
{% endif %}
{% for current, label in engine.info_pages %}
<strong>|</strong>
{% if page is defined and page == current %}
<strong>{{ label }}</strong>
{% else %}
<a href="{{ url('/server/engines/' ~ engine.engine ~ '/' ~ current) }}">
{{ label }}
</a>
{% endif %}
{% endfor %}
<strong>]</strong>
</p>
{% endif %}
{% if engine.page is not empty %}
{{ engine.page|raw }}
{% else %}
<p>{{ engine.support }}</p>
{{ engine.variables|raw }}
{% endif %}
{% else %}
<p>{{ 'Unknown storage engine.'|trans|error }}</p>
{% endif %}