Update website
This commit is contained in:
parent
41ce1aa076
commit
ea0eb1c6e0
4222 changed files with 721797 additions and 14 deletions
37
admin/phpMyAdmin/templates/server/select/index.twig
Normal file
37
admin/phpMyAdmin/templates/server/select/index.twig
Normal file
|
@ -0,0 +1,37 @@
|
|||
{% if not_only_options %}
|
||||
<form class="disableAjax" method="post" action="{{ form_action|raw }}">
|
||||
{% if omit_fieldset == false %}
|
||||
<fieldset class="pma-fieldset">
|
||||
{% endif %}
|
||||
{{ get_hidden_fields([]) }}
|
||||
<label for="select_server">{% trans 'Current server:' %}</label>
|
||||
<select id="select_server" class="autosubmit" name="server">
|
||||
<option value="">({% trans 'Servers' %}) ...</option>
|
||||
{% include 'server/select/server_options.twig' with {
|
||||
'select': servers.select
|
||||
} only %}
|
||||
</select>
|
||||
{% if omit_fieldset == false %}
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
</form>
|
||||
{% elseif servers.list %}
|
||||
{% trans 'Current server:' %}<br>
|
||||
<ul id="list_server">
|
||||
<li>
|
||||
{% for server in servers.list %}
|
||||
{% if server.selected %}
|
||||
<strong>{{ server.label }}</strong>
|
||||
{% else %}
|
||||
<a class="disableAjax item" href="{{ server.href }}">
|
||||
{{- server.label -}}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
{% include 'server/select/server_options.twig' with {
|
||||
'select': servers.select
|
||||
} only %}
|
||||
{% endif %}
|
|
@ -0,0 +1,8 @@
|
|||
{% for server in select %}
|
||||
<option
|
||||
value="{{ server.value }}"
|
||||
{% if server.selected %}selected="selected"{% endif %}
|
||||
>
|
||||
{{- server.label -}}
|
||||
</option>
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue