ImgURL Pro容器部署
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.

34 lines
1.3 KiB

2 years ago
<h3>{% trans 'Indexes' %}</h3>
<table id="tablestructure_indexes" class="table table-light table-striped table-hover">
<thead class="table-light">
<tr>
<th>{% trans 'Keyname' %}</th>
<th>{% trans 'Type' %}</th>
<th>{% trans 'Unique' %}</th>
<th>{% trans 'Packed' %}</th>
<th>{% trans 'Column' %}</th>
<th>{% trans 'Cardinality' %}</th>
<th>{% trans 'Collation' %}</th>
<th>{% trans 'Null' %}</th>
<th>{% trans 'Comment' %}</th>
</tr>
</thead>
<tbody>
{% for index in indexes %}
<tr class="noclick">
<td>
<strong>{{ index['Key_name'] }}</strong>
</td>
<td>{{ index['Index_type'] }}</td>
<td>{{ index['Non_unique'] == 0 ? 'Yes'|trans : 'No'|trans }}</td>
<td>{{ index['Packed'] != '' ? 'Yes'|trans : 'No'|trans }}</td>
<td>{{ index['Column_name'] }}</td>
<td>{{ index['Cardinality'] }}</td>
<td>{{ index['Collation'] }}</td>
<td>{{ index['Null'] }}</td>
<td>{{ index['Comment'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>