Index: lnt/server/reporting/report.py =================================================================== --- lnt/server/reporting/report.py +++ lnt/server/reporting/report.py @@ -127,4 +127,5 @@ "cursor: default; text-align:center; font-weight: bold; " "font-family: Verdana; padding:5px; padding-left:8px"), "td": "padding:5px; padding-left:8px", + "right": "text-align: right;" } Index: lnt/server/ui/static/lnt_run.css =================================================================== --- lnt/server/ui/static/lnt_run.css +++ lnt/server/ui/static/lnt_run.css @@ -17,4 +17,8 @@ .editable span { position: relative; -} \ No newline at end of file +} + +tr > td.right { + text-align: right; +} Index: lnt/server/ui/templates/reporting/runs.html =================================================================== --- lnt/server/ui/templates/reporting/runs.html +++ lnt/server/ui/templates/reporting/runs.html @@ -11,11 +11,12 @@ %} {% if bucket and bucket_name != 'Unchanged Tests' %} + {% set small_column_width = 'width: 7%;' %}

- +
- + {% if not show_perf %} @@ -26,13 +27,13 @@ {% endfor %} {% else %} - - - - + + + + {% if secondary_info %} - - + + {% endif %} @@ -53,14 +54,14 @@ {% endif %} {{ utils.render_profile_link(cr.cur_profile, cr.prev_profile, run.id, compare_to_id, test_id) }} - {{ cr.pct_delta|aspctcell(style=styles['td'],reverse=cr.bigger_is_better)|safe }} - - - + {{ cr.pct_delta|aspctcell(style=styles['td'] + 'text-align: right;',reverse=cr.bigger_is_better)|safe }} + + + {% if secondary_info %} {% set a_cr = secondary_info[(name, field)] %} - {{ a_cr.pct_delta|aspctcell(style=styles['td'],reverse=cr.bigger_is_better)|safe }} - + {{ a_cr.pct_delta|aspctcell(style=styles['td'] + 'text-align: right;',reverse=cr.bigger_is_better)|safe }} + {% endif %} {% endfor %} Index: lnt/server/ui/templates/reportutils.html =================================================================== --- lnt/server/ui/templates/reportutils.html +++ lnt/server/ui/templates/reportutils.html @@ -5,7 +5,7 @@ test_status == analysis.UNCHANGED_FAIL) %} {%- else %} - {%- endif -%} {% endmacro %} @@ -22,7 +22,7 @@ {%- else -%} {%- if (value_status == analysis.REGRESSED or value_status == analysis.IMPROVED) %} - {{ cr.pct_delta|aspctcell(reverse=cr.bigger_is_better)|safe }} + {{ cr.pct_delta|aspctcell(reverse=cr.bigger_is_better, style = styles.right)|safe }} {%- else %} {%- endif -%} Index: lnt/server/ui/templates/v4_run.html =================================================================== --- lnt/server/ui/templates/v4_run.html +++ lnt/server/ui/templates/v4_run.html @@ -58,9 +58,9 @@ {% endif %} {% if cell_color %} - + {% else %} - + {% endif %} {% if test_status == analysis.UNCHANGED_PASS and
{{ bucket_name }} - {{ field_display_name }}{{ bucket_name }} - {{ field_display_name }}
Δ {{ metric_field_suffix }}{{ metric_name }}Currentσ {{ metric_field_suffix }}Δ {{ metric_field_suffix }}{{ metric_name }}Currentσ {{ metric_field_suffix }}Δ {{ secondary_field_suffix }}σ {{ secondary_field_suffix }}Δ {{ secondary_field_suffix }}σ {{ secondary_field_suffix }}
{{ "%.4f" | format(cr.previous) }}{{ "%.4f" | format(cr.current) }}{{ "%.4f" | format_or_default(cr.stddev, '-') }}{{ "%.4f" | format(cr.previous) }}{{ "%.4f" | format(cr.current) }}{{ "%.4f" | format_or_default(cr.stddev, '-') }}{{ "%.4f" | format_or_default(a_cr.stddev, '-') }}{{ "%.4f" | format_or_default(a_cr.stddev, '-') }}
FAIL {#- -#} + {#- -#} {{ ("%.4f" % cr.current) if cr.current != none else "N/A" }}-{{ run_cell_value }}{{ run_cell_value }}{{run_cell_value}}{{run_cell_value}}