diff --git a/httprunner/templates/report_template.html b/httprunner/templates/report_template.html index 5315e325..6cffaa49 100644 --- a/httprunner/templates/report_template.html +++ b/httprunner/templates/report_template.html @@ -47,7 +47,8 @@ background-color: lightgrey; font-size: smaller; padding: 5px 10px; - text-align: center; + line-height: 20px; + text-align: left; } .details .success { background-color: greenyellow; @@ -75,6 +76,7 @@ a.button{ color: gray; text-decoration: none; + display: inline-block; } .button:hover { background: #2cffbd; @@ -90,6 +92,7 @@ transition: opacity 500ms; visibility: hidden; opacity: 0; + line-height: 25px; } .overlay:target { visibility: visible; @@ -188,35 +191,6 @@ {% set suite_index = loop.index %}

{{test_suite_summary.name}}

- - - - @@ -235,7 +209,7 @@ {% set record_index = "{}_{}".format(suite_index, loop.index) %} {% set record_meta_datas = record.meta_datas_expanded %} -
base_url{{test_suite_summary.base_url}} - parameters & output -
- -
- -
TOTAL: {{test_suite_summary.stat.testsRun}} SUCCESS: {{test_suite_summary.stat.successes}}
{{record.status}} + {{record.status}} {{record.name}} {{ record.response_time }} ms