From 63eb084436997af1443bafb417d4dcf0eba05ebb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 30 Apr 2023 10:06:14 +0000 Subject: [PATCH] builds: Add more space between sections Signed-off-by: Michael Tremer --- src/templates/builds/show.html | 322 +++++++++++++++++---------------- 1 file changed, 163 insertions(+), 159 deletions(-) diff --git a/src/templates/builds/show.html b/src/templates/builds/show.html index 6d7f0cbb..3d97a6b8 100644 --- a/src/templates/builds/show.html +++ b/src/templates/builds/show.html @@ -17,196 +17,200 @@ -

{{ build }}

+
+

{{ build }}

+ + {% if build.pkg.summary %} +
+ {{ build.pkg.summary }} +
+ {% end %} + +
+
+
+ {% if build.owner %} +
+

+ +

+
- {% if build.pkg.summary %} -
- {{ build.pkg.summary }} -
- {% end %} +
+

+ + {{ build.owner }} + -

-
-
- {% if build.owner %} -
-

- -

-
+ + {{ _("Created %s") % locale.format_date(build.created_at, shorter=True) }} + +

-
-

- - {{ build.owner }} - + {% module Text(build.message) %} +

+ {% end %} +
- - {{ _("Created %s") % locale.format_date(build.created_at, shorter=True) }} - -

+ {# List any fixed bugs #} + {% if bugs %} +
+ {{ _("Fixed Bugs") }} +
- {% module Text(build.message) %} -
+ {% module BugsList(bugs) %} {% end %}
- {# List any fixed bugs #} - {% if bugs %} -
- {{ _("Fixed Bugs") }} -
- - {% module BugsList(bugs) %} - {% end %} -
- -
-
- {# Icon Bar #} - + {# XXX Add icons for critical path, security fixes, + broken/obsolete builds, scratch or other type of build #} + - {# Score #} - - -
- {# Watch/Unwatch #} - {% if current_user in build.watchers %} -
- {% raw xsrf_form_html() %} - - -
- {% else %} -
- {% raw xsrf_form_html() %} - - -
- {% end %} + - {# More... #} -
-
- - {# XXX THIS IS SOME LEGACY STUFF I DON'T KNOW WHERE TO PUT #} -
-
-
- {% if build.commit %} - {% module CommitMessage(build.commit) %} - -

-

-

- {% end %} + + {# XXX THIS IS SOME LEGACY STUFF I DON'T KNOW WHERE TO PUT #} +
+
+
+ {% if build.commit %} + {% module CommitMessage(build.commit) %} + +

+

+

+ {% end %} +
-
+
{% if build.jobs %} - {% module JobsList(build.jobs, show_arch_only=True, show_packages=True) %} +
+ {% module JobsList(build.jobs, show_arch_only=True, show_packages=True) %} +
{% end %}
-- 2.47.2