Add missing <thead> tags and fix colspan

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2017-03-02 09:15:40 +11:00
parent 0f6d615f29
commit f66f3565c0
2 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ $valueTypeOptions = array('', 'LESS THAN', 'LESS THAN MAXVALUE', 'IN');
</tr>
<tr class="vmiddle">
<td><label for="partition_count"><?= __('Partitions:'); ?></label></td>
<td>
<td colspan="2">
<input name="partition_count" type="number" min="2"
value="<?= htmlspecialchars($partitionDetails['partition_count']); ?>" />
</td>
@ -57,17 +57,17 @@ $valueTypeOptions = array('', 'LESS THAN', 'LESS THAN MAXVALUE', 'IN');
</tr>
<tr class="vmiddle">
<td><label for="subpartition_count"><?= __('Subpartitions:'); ?></label></td>
<td>
<td colspan="2">
<input name="subpartition_count" type="number" min="2"
value="<?= htmlspecialchars($partitionDetails['subpartition_count']); ?>" />
</td>
</tr>
<?php endif; ?>
</table>
<br />
<?php if ($partitionDetails['partition_count'] > 1): ?>
<table id="partition_definition_table">
<tr>
<thead><tr>
<th><?= __('Partition'); ?></th>
<?php if ($partitionDetails['value_enabled']): ?>
<th><?= __('Values'); ?></th>
@ -83,7 +83,7 @@ $valueTypeOptions = array('', 'LESS THAN', 'LESS THAN MAXVALUE', 'IN');
<th><?= __('Min rows'); ?></th>
<th><?= __('Table space'); ?></th>
<th><?= __('Node group'); ?></th>
</tr>
</tr></thead>
<?php foreach ($partitionDetails['partitions'] as $partition): ?>
<?php $rowspan = ! empty($partition['subpartition_count']) ? ($partition['subpartition_count'] + 1) : 2; ?>
<tr>

View File

@ -5,7 +5,7 @@
<fieldset>
<legend><?= __('Foreign key constraints'); ?></legend>
<table id="foreign_keys" class="relationalTable">
<tr>
<thead><tr>
<th><?= __('Actions'); ?></th>
<th><?= __('Constraint properties'); ?></th>
<?php if (strtoupper($tbl_storage_engine) == 'INNODB'): ?>
@ -33,7 +33,7 @@
<th><?= __('Database'); ?></th>
<th><?= __('Table'); ?></th>
<th><?= __('Column'); ?></th>
</tr>
</tr></thead>
<?php $i = 0; ?>
<?php if (! empty($existrel_foreign)): ?>
<?php foreach ($existrel_foreign as $key => $one_key): ?>