1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <form method="post" action="db_structure.php" name="tablesForm" id="tablesForm">
- {{ Url_getHiddenInputs(db) }}
- <div class="responsivetable">
- <table id="structureTable" class="data">
- <thead>
- <tr>
- <th class="print_ignore"></th>
- <th>{{ Util_sortableTableHeader('Table'|trans, 'table') }}</th>
- {% if replication %}
- <th>{% trans 'Replication' %}</th>
- {% endif %}
- {% if db_is_system_schema %}
- {% set action_colspan = 3 %}
- {% else %}
- {% set action_colspan = 6 %}
- {% endif %}
- {% if num_favorite_tables > 0 %}
- {% set action_colspan = action_colspan + 1 %}
- {% endif %}
- <th colspan="{{ action_colspan }}" class="print_ignore">
- {% trans 'Action' %}
- </th>
- {# larger values are more interesting so default sort order is DESC #}
- <th>
- {{ Util_sortableTableHeader('Rows'|trans, 'records', 'DESC') }}
- {{ Util_showHint(Sanitize_sanitize(
- 'May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].'|trans
- )) }}
- </th>
- {% if not (properties_num_columns > 1) %}
- <th>{{ Util_sortableTableHeader('Type'|trans, 'type') }}</th>
- <th>{{ Util_sortableTableHeader('Collation'|trans, 'collation') }}</th>
- {% endif %}
- {% if is_show_stats %}
- {# larger values are more interesting so default sort order is DESC #}
- <th>{{ Util_sortableTableHeader('Size'|trans, 'size', 'DESC') }}</th>
- {# larger values are more interesting so default sort order is DESC #}
- <th>{{ Util_sortableTableHeader('Overhead'|trans, 'overhead', 'DESC') }}</th>
- {% endif %}
- {% if show_charset %}
- <th>{{ Util_sortableTableHeader('Charset'|trans, 'charset') }}</th>
- {% endif %}
- {% if show_comment %}
- <th>{{ Util_sortableTableHeader('Comment'|trans, 'comment') }}</th>
- {% endif %}
- {% if show_creation %}
- {# newer values are more interesting so default sort order is DESC #}
- <th>{{ Util_sortableTableHeader('Creation'|trans, 'creation', 'DESC') }}</th>
- {% endif %}
- {% if show_last_update %}
- {# newer values are more interesting so default sort order is DESC #}
- <th>{{ Util_sortableTableHeader('Last update'|trans, 'last_update', 'DESC') }}</th>
- {% endif %}
- {% if show_last_check %}
- {# newer values are more interesting so default sort order is DESC #}
- <th>{{ Util_sortableTableHeader('Last check'|trans, 'last_check', 'DESC') }}</th>
- {% endif %}
- </tr>
- </thead>
- <tbody>
- {% for structure_table_row in structure_table_rows %}
- {% include 'database/structure/structure_table_row.twig' with structure_table_row only %}
- {% endfor %}
- </tbody>
- {% if body_for_table_summary %}
- {% include 'database/structure/body_for_table_summary.twig' with body_for_table_summary only %}
- {% endif %}
- </table>
- </div>
- {% if check_all_tables %}
- {% include 'database/structure/check_all_tables.twig' with check_all_tables only %}
- {% endif %}
- </form>
|