You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1017 B
28 lines
1017 B
2 years ago
|
{% extends 'export.twig' %}
|
||
|
|
||
|
{% block title %}{% trans 'Exporting databases from the current server' %}{% endblock %}
|
||
|
|
||
|
{% block selection_options %}
|
||
|
<div class="card mb-3" id="databases_and_tables">
|
||
|
<div class="card-header">{% trans 'Databases' %}</div>
|
||
|
<div class="card-body">
|
||
|
<div class="mb-3">
|
||
|
<button type="button" class="btn btn-secondary" id="db_select_all">{% trans 'Select all' %}</button>
|
||
|
<button type="button" class="btn btn-secondary" id="db_unselect_all">{% trans 'Unselect all' %}</button>
|
||
|
</div>
|
||
|
|
||
|
<select class="form-select" name="db_select[]" id="db_select" size="10" multiple aria-label="{% trans 'Databases' %}">
|
||
|
{% for database in databases %}
|
||
|
<option value="{{ database.name }}"{{ database.is_selected ? ' selected' }}>
|
||
|
{{ database.name }}
|
||
|
</option>
|
||
|
{% endfor %}
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% set filename_hint %}
|
||
|
{% trans '@SERVER@ will become the server name.' %}
|
||
|
{% endset %}
|