summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_html_packages.py5
-rw-r--r--mustache-templates/reproducible/package_navigation.mustache2
-rw-r--r--userContent/reproducible/static/style.css4
3 files changed, 8 insertions, 3 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 765826a5..1c0f6d94 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -362,6 +362,8 @@ def gen_packages_html(packages, no_clean=False):
'history_arch_uri': '{}/{}/{}.html'.format(HISTORY_URI, a, pkg)
})
project_links = renderer.render(project_links_template)
+ desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \
+ '/' + arch + '/' + pkg + '.html'
navigation_html = renderer.render(package_navigation_template, {
'package': pkg,
@@ -376,6 +378,7 @@ def gen_packages_html(packages, no_clean=False):
'project_links_html': project_links,
'reproducible': reproducible,
'dashboard_url': DEBIAN_URL,
+ 'desturl': desturl,
})
body_html = renderer.render(package_page_template, {
@@ -383,8 +386,6 @@ def gen_packages_html(packages, no_clean=False):
})
destfile = os.path.join(RB_PKG_PATH, suite, arch, pkg + '.html')
- desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \
- '/' + arch + '/' + pkg + '.html'
title = pkg + ' - reproducible builds result'
write_html_page(title=title, body=body_html, destfile=destfile,
no_header=True, noendpage=True,
diff --git a/mustache-templates/reproducible/package_navigation.mustache b/mustache-templates/reproducible/package_navigation.mustache
index f75221bb..c9a9888f 100644
--- a/mustache-templates/reproducible/package_navigation.mustache
+++ b/mustache-templates/reproducible/package_navigation.mustache
@@ -1,4 +1,4 @@
-<h2 class="package-name">{{package}}</h2>
+<h2 class="package-name"><a href="{{uri}}">{{package}}</a></h2>
<ul class="menu">
<h4>Test Details
<a href="/debian/index_notify.html" target="_parent">
diff --git a/userContent/reproducible/static/style.css b/userContent/reproducible/static/style.css
index 0ef764ea..5ac16f7d 100644
--- a/userContent/reproducible/static/style.css
+++ b/userContent/reproducible/static/style.css
@@ -145,6 +145,10 @@ header.head {
background: #fafafa;
}
+header.head h2.package-name a {
+ color: #fff;
+}
+
footer {
text-align: center;
margin-top: 1em;