summaryrefslogtreecommitdiffstats
path: root/qtip/reporter/templates/base.j2
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-20 12:58:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-20 12:58:47 +0000
commit1227dc7e737e9946f316c7693232a9f5cbe166ed (patch)
treeef5864102712a9cfbca26c511fabfd270e896746 /qtip/reporter/templates/base.j2
parenta1325130fdbbab0c58a08d636b8c0419504020a8 (diff)
parent90e6893b967cded4bf45380d643d3bfcb19ce0d4 (diff)
Merge "Set default width to 80 for justify filter"
Diffstat (limited to 'qtip/reporter/templates/base.j2')
-rw-r--r--qtip/reporter/templates/base.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/qtip/reporter/templates/base.j2 b/qtip/reporter/templates/base.j2
index 34242b40..5dafc8b1 100644
--- a/qtip/reporter/templates/base.j2
+++ b/qtip/reporter/templates/base.j2
@@ -1,4 +1,4 @@
-{{ '=' * 100}}
+{{ ('=', '=')|justify }}
{{ ('Plan Name', plan_name)|justify }}
{{ ('Start Time', start_time)|justify }}
{{ ('Stop Time', stop_time)|justify }}
@@ -14,7 +14,7 @@
{% include '%s.j2' % metric_name %}
{% endif %}
System Information
-{{ ('CPU Brand', bm.sysinfo.cpu)|justify }}
+{{ ('CPU', bm.sysinfo.cpu)|justify }}
{{ ('Disk', bm.sysinfo.disk)|justify }}
{{ ('Host Name', bm.sysinfo.hostname)|justify }}
{{ ('Kernel', bm.sysinfo.kernel)|justify }}
@@ -25,5 +25,5 @@ System Information
{%- endfor -%}
{% endfor %}
-{{ '\033[93m' }} {{ '*' * 100}} {{ '\033[0m' }}
+{{ ('\033[93m*', '*\033[0m')|justify }}
{%- endfor -%}