Use Bootstrap's table for db qbe page

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2020-11-26 16:02:16 -03:00
parent 8fab4a7bfb
commit 8b46daefcd
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
2 changed files with 9 additions and 9 deletions

View File

@ -1,26 +1,26 @@
<td class="value nowrap">
<table class="pma-table nospacing nopadding">
<table class="table table-borderless table-sm">
<tr>
<td class="value nowrap">
<td class="value nowrap p-0">
<small>{% trans 'Ins:' %}</small>
<input type="checkbox" name="criteriaRowInsert[{{ row_index }}]" aria-label="{% trans 'Insert' %}">
</td>
<td class="value">
<td class="value p-0">
<strong>{% trans 'And:' %}</strong>
</td>
<td>
<td class="p-0">
<input type="radio" name="criteriaAndOrRow[{{ row_index }}]" value="and"{{ checked_options.and ? ' checked' }} aria-label="{% trans 'And' %}">
</td>
</tr>
<tr>
<td class="value nowrap">
<td class="value nowrap p-0">
<small>{% trans 'Del:' %}</small>
<input type="checkbox" name="criteriaRowDelete[{{ row_index }}]" aria-label="{% trans 'Delete' %}">
</td>
<td class="value">
<td class="value p-0">
<strong>{% trans 'Or:' %}</strong>
</td>
<td>
<td class="p-0">
<input type="radio" name="criteriaAndOrRow[{{ row_index }}]" value="or"{{ checked_options.or ? ' checked' }} aria-label="{% trans 'Or' %}">
</td>
</tr>

View File

@ -6,8 +6,8 @@
{{ saved_searches_field|raw }}
<div class="responsivetable jsresponsive">
<table class="pma-table data w-100">
<div class="table-responsive jsresponsive">
<table class="table table-borderless table-sm">
<tr class="noclick">
<th>{% trans 'Column:' %}</th>
{{ column_names_row|raw }}