Merge #17061 - Fix #16804 - table CSS for number alignment

Pull-request: #17061
Fixes: #16804

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-08-09 22:50:53 +02:00
commit 7a281dfb77
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
4 changed files with 7 additions and 7 deletions

View File

@ -2082,7 +2082,7 @@ class Results
return;
}
$th_class[] = 'right';
$th_class[] = 'text-right';
}
/**
@ -3498,7 +3498,7 @@ class Results
) {
if (! isset($column) || $column === null) {
$cell = $this->buildNullDisplay(
'right ' . $class,
'text-right ' . $class,
$condition_field,
$meta,
''
@ -3508,7 +3508,7 @@ class Results
$where_comparison = ' = ' . $column;
$cell = $this->getRowData(
'right ' . $class,
'text-right ' . $class,
$condition_field,
$analyzed_sql_results,
$meta,
@ -3525,7 +3525,7 @@ class Results
);
} else {
$cell = $this->buildEmptyDisplay(
'right ' . $class,
'text-right ' . $class,
$condition_field,
$meta,
''

View File

@ -32,7 +32,7 @@
{{ version.table_name }}
</label>
</th>
<td class="right">
<td class="text-right">
{{ version.version }}
</td>
<td>

View File

@ -52,7 +52,7 @@
<td class="text-center print_ignore">
<input type="checkbox" class="checkall" name="selected_fld[]" value="{{ row['Field'] }}" id="checkbox_row_{{ rownum }}">
</td>
<td class="right">{{ rownum }}</td>
<td class="text-right">{{ rownum }}</td>
<th class="nowrap">
<label for="checkbox_row_{{ rownum }}">
{% if displayed_fields[rownum].comment is defined %}

View File

@ -11,7 +11,7 @@
<tbody>
{% for entry in entries %}
<tr class="noclick">
<td class="right"><small>{{ entry.line_number }}</small></td>
<td class="text-right"><small>{{ entry.line_number }}</small></td>
<td><small>{{ entry.date }}</small></td>
<td><small>{{ entry.username }}</small></td>
<td>{{ entry.formated_statement|raw }}</td>