From 4ec18d9e8c41730fefebd4afb22261fc6a16456f Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 22 Jan 2019 10:57:14 +0100 Subject: [PATCH] summary/html: use html5 instead of xhtml It's been a while since XHTML was a thing. Since the release of HTML5 it has more or less taken over. So let's get with the program. Signed-off-by: Erik Faye-Lund Reviewed-by: Caio Marcelo de Oliveira Filho --- templates/empty_status.mako | 8 +++----- templates/feature.mako | 9 +++------ templates/index.mako | 9 +++------ templates/test_result.mako | 8 +++----- templates/testrun_info.mako | 8 +++----- 5 files changed, 15 insertions(+), 27 deletions(-) diff --git a/templates/empty_status.mako b/templates/empty_status.mako index 353b08915..989a1402a 100644 --- a/templates/empty_status.mako +++ b/templates/empty_status.mako @@ -1,9 +1,7 @@ - - - + + - + Result summary diff --git a/templates/feature.mako b/templates/feature.mako index 7d2c400d9..fa0b19d3e 100644 --- a/templates/feature.mako +++ b/templates/feature.mako @@ -1,5 +1,3 @@ - - <%! import posixpath # this must be posixpath, since we want /'s not \'s import re @@ -27,11 +25,10 @@ return href.replace('\\', '/') %> - - + + - + Result summary diff --git a/templates/index.mako b/templates/index.mako index ba483fe9d..f3a027f69 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -1,5 +1,3 @@ - - <%! import os import posixpath # this must be posixpath, since we want /'s not \'s @@ -59,11 +57,10 @@ return href.replace('\\', '/') %> - - + + - + Result summary diff --git a/templates/test_result.mako b/templates/test_result.mako index ad90b3ae5..9a6ffea7e 100644 --- a/templates/test_result.mako +++ b/templates/test_result.mako @@ -1,9 +1,7 @@ - - - + + - + ${testname} - Details diff --git a/templates/testrun_info.mako b/templates/testrun_info.mako index f8d86f94a..0af4f1c43 100644 --- a/templates/testrun_info.mako +++ b/templates/testrun_info.mako @@ -1,12 +1,10 @@ <%! import six %> - - - + + - + ${name} - System info -- 2.11.4.GIT