Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port database/structure/check_all_tables to Twig
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
- Loading branch information
1 parent
c0f1f2d
commit 62197a8
Showing
3 changed files
with
49 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div class="clearfloat print_ignore"> | ||
<img class="selectallarrow" src="{{ pma_theme_image }}arrow_{{ text_dir }}.png" width="38" height="22" alt="{% trans 'With selected:' %}" /> | ||
<input type="checkbox" id="tablesForm_checkall" class="checkall_box" title="{% trans 'Check all' %}" /> | ||
<label for="tablesForm_checkall">{% trans 'Check all' %}</label> | ||
{% if overhead_check != '' %} | ||
/ <a href="#" onclick="unMarkAllRows('tablesForm'); {{ overhead_check }} return false;">{% trans 'Check tables having overhead' %}</a> | ||
{% endif %} | ||
<select name="submit_mult" style="margin: 0 3em 0 3em;"> | ||
<option value="{% trans 'With selected:' %}" selected="selected">{% trans 'With selected:' %}</option> | ||
<option value="copy_tbl">{% trans 'Copy table' %}</option> | ||
<option value="show_create">{% trans 'Show create' %}</option> | ||
<option value="export">{% trans 'Export' %}</option> | ||
{% if not db_is_system_schema and not disable_multi_table %} | ||
<optgroup label="{% trans 'Delete data or table' %}"> | ||
<option value="empty_tbl">{% trans 'Empty' %}</option> | ||
<option value="drop_tbl">{% trans 'Drop' %}</option> | ||
</optgroup> | ||
<optgroup label="{% trans 'Table maintenance' %}"> | ||
<option value="analyze_tbl">{% trans 'Analyze table' %}</option> | ||
<option value="check_tbl">{% trans 'Check table' %}</option> | ||
<option value="checksum_tbl">{% trans 'Checksum table' %}</option> | ||
<option value="optimize_tbl">{% trans 'Optimize table' %}</option> | ||
<option value="repair_tbl">{% trans 'Repair table' %}</option> | ||
</optgroup> | ||
<optgroup label="{% trans 'Prefix' %}"> | ||
<option value="add_prefix_tbl">{% trans 'Add prefix to table' %}</option> | ||
<option value="replace_prefix_tbl">{% trans 'Replace table prefix' %}</option> | ||
<option value="copy_tbl_change_prefix">{% trans 'Copy table with prefix' %}</option> | ||
</optgroup> | ||
{% endif %} | ||
{% if central_columns_work is defined and central_columns_work %} | ||
<optgroup label="{% trans 'Central columns' %}"> | ||
<option value="sync_unique_columns_central_list">{% trans 'Add columns to central list' %}</option> | ||
<option value="delete_unique_columns_central_list">{% trans 'Remove columns from central list' %}</option> | ||
<option value="make_consistent_with_central_list">{% trans 'Make consistent with central list' %}</option> | ||
</optgroup> | ||
{% endif %} | ||
</select> | ||
{{ hidden_fields|join('\n')|raw }} | ||
</div> |