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,29 @@
<form class="ajax" action="{{ url('/navigation') }}" method="post">
<fieldset>
{{ get_hidden_inputs(database, table) }}
{% for type, label in types %}
{% if (item_type is empty or item_type == type) and hidden[type] is iterable %}
{{ not loop.first ? '<br>' }}
<strong>{{ label }}</strong>
<table class="pma-table w-100">
<tbody>
{% for item in hidden[type] %}
<tr>
<td>{{ item }}</td>
<td class="right">
<a class="unhideNavItem ajax" href="{{ url('/navigation') }}" data-post="{{ get_common({
'unhideNavItem': true,
'itemType': type,
'itemName': item,
'dbName': database
}, '') }}">{{ get_icon('show', 'Unhide'|trans) }}</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endfor %}
</fieldset>
</form>

View file

@ -0,0 +1,97 @@
{% if not is_ajax %}
<div id="pma_navigation" data-config-navigation-width="{{ config_navigation_width }}">
<div id="pma_navigation_resizer"></div>
<div id="pma_navigation_collapser"></div>
<div id="pma_navigation_content">
<div id="pma_navigation_header">
{% if logo.is_displayed %}
<div id="pmalogo">
{% if logo.has_link %}
<a href="{{ logo.link|default('#') }}"{{ logo.attributes|raw }}>
{% endif %}
{% if logo.source is not empty %}
<img id="imgpmalogo" src="{{ logo.source }}" alt="phpMyAdmin">
{% else %}
<h1>phpMyAdmin</h1>
{% endif %}
{% if logo.has_link %}
</a>
{% endif %}
</div>
{% endif %}
<div id="navipanellinks">
<a href="{{ url('/') }}" title="{% trans 'Home' %}">
{{- get_image('b_home', 'Home'|trans) -}}
</a>
{% if server != 0 %}
<a class="logout disableAjax" href="{{ url('/logout') }}" title="{{ auth_type == 'config' ? 'Empty session data'|trans : 'Log out'|trans }}">
{{- get_image('s_loggoff', auth_type == 'config' ? 'Empty session data'|trans : 'Log out'|trans) -}}
</a>
{% endif %}
<a href="{{ get_docu_link('index') }}" title="{% trans 'phpMyAdmin documentation' %}" target="_blank" rel="noopener noreferrer">
{{- get_image('b_docs', 'phpMyAdmin documentation'|trans) -}}
</a>
<a href="{{ get_docu_url(is_mariadb) }}" title="{{ is_mariadb ? 'MariaDB Documentation'|trans : 'MySQL Documentation'|trans }}" target="_blank" rel="noopener noreferrer">
{{- get_image('b_sqlhelp', is_mariadb ? 'MariaDB Documentation'|trans : 'MySQL Documentation'|trans) -}}
</a>
<a id="pma_navigation_settings_icon"{{ not is_navigation_settings_enabled ? ' class="hide"' }} href="#" title="{% trans 'Navigation panel settings' %}">
{{- get_image('s_cog', 'Navigation panel settings'|trans) -}}
</a>
<a id="pma_navigation_reload" href="#" title="{% trans 'Reload navigation panel' %}">
{{- get_image('s_reload', 'Reload navigation panel'|trans) -}}
</a>
</div>
{% if is_servers_displayed and servers|length > 1 %}
<div id="serverChoice">
{{ server_select|raw }}
</div>
{% endif %}
{{ get_image('ajax_clock_small', 'Loading…'|trans, {
'style': 'visibility: hidden; display:none',
'class': 'throbber'
}) }}
</div>
<div id="pma_navigation_tree" class="list_container{{ is_synced ? ' synced' }}{{ is_highlighted ? ' highlight' }}{{ is_autoexpanded ? ' autoexpand' }}">
{% endif %}
{% if not navigation_tree %}
{{ 'An error has occurred while loading the navigation display'|trans|error }}
{% else %}
{{ navigation_tree|raw }}
{% endif %}
{% if not is_ajax %}
</div>
<div id="pma_navi_settings_container">
{% if is_navigation_settings_enabled %}
{{ navigation_settings|raw }}
{% endif %}
</div>
</div>
{% if is_drag_drop_import_enabled %}
<div class="pma_drop_handler">
{% trans 'Drop files here' %}
</div>
<div class="pma_sql_import_status">
<h2>
{% trans 'SQL upload' %}
( <span class="pma_import_count">0</span> )
<span class="close">x</span>
<span class="minimize">-</span>
</h2>
<div></div>
</div>
{% endif %}
</div>
{% endif %}

View file

@ -0,0 +1,30 @@
{{ quick_warp|raw }}
<div id="pma_navigation_select_database">
{{ list_navigator|raw }}
<div id="pma_navigation_db_select">
<form action="{{ url('/') }}">
{{ get_hidden_fields({'server': server}) }}
<select name="db" class="hide" id="navi_db_select">
<option value="" dir="{{ text_dir }}">{% trans 'Databases' %}…</option>
{% for option in options %}
<option value="{{ option.name }}" title="{{ option.title }}"
data-apath="{{ option.data.apath }}"
data-vpath="{{ option.data.vpath }}"
data-pos="{{ option.data.pos }}"
{{ option.isSelected ? " selected" : "" }}>
{{- option.name -}}
</option>
{% endfor %}
</select>
</form>
</div>
</div>
<div id="pma_navigation_tree_content">
<ul>
{{ nodes|raw }}
</ul>
</div>

View file

@ -0,0 +1,12 @@
<div class='list_container hide'>
<ul{{ has_search_results ? ' class="search_results"' }}>
{{ list_content|raw }}
</ul>
{% if not is_tree %}
<span class='hide loaded_db'>{{ parent_name|url_encode }}</span>
{% if list_content is empty %}
<div>{% trans 'No tables found in database.' %}</div>
{% endif %}
{% endif %}
</div>

View file

@ -0,0 +1,16 @@
{{ quick_warp|raw }}
<div class="clearfloat"></div>
<ul>
{{ fast_filter|raw }}
{{ controls|raw }}
</ul>
{{ page_selector|raw }}
<div id='pma_navigation_tree_content'>
<ul>
{{ nodes|raw }}
</ul>
</div>