[Piuparts-devel] [Git][debian/piuparts][develop] navigation menu: improve structure
Holger Levsen
gitlab at salsa.debian.org
Wed Oct 17 22:25:09 BST 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
6fe56fb3 by Holger Levsen at 2018-10-17T21:24:45Z
navigation menu: improve structure
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- debian/changelog
- piuparts-report.py
Changes:
=====================================
debian/changelog
=====================================
@@ -34,7 +34,7 @@ piuparts (0.93) UNRELEASED; urgency=medium
- Shuffle some entries on index.html, explain that piuparts.debian.org
exists since 2005 (even though that FQDN is younger).
- Move suite "by uploaders" and "by source packages" links further up in
- navigation menu.
+ navigation menu. Improve structure and headings in navigation menu.
- Minor cleanups.
* Use the new debhelper-compat(=11) notation and drop d/compat.
* CONTRIBUTING: explain never to directly push to the develop nor master
=====================================
piuparts-report.py
=====================================
@@ -170,7 +170,7 @@ HTML_HEADER = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
</tr>
<tr class="titlerow">
<td class="alerttitlecell">
- Available reports
+ Summaries
</td>
</tr>
<tr>
@@ -744,11 +744,13 @@ def write_template_html(filename, body, mapping={}, defer_if_unmodified=False, m
def create_section_navigation(section_names, current_section, doc_root):
- tablerows = "<tr><td class=\"contentcell\">%s <a href=\"%s/%s/maintainer/\">by maintainer / uploader</a></td></tr>\n" \
- % (current_section, doc_root, current_section)
- tablerows += "<tr><td class=\"contentcell\">%s <a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \
- % (current_section, doc_root, current_section)
- tablerows += "<tr class=\"titlerow\"><td class=\"alerttitlecell\">Suites tested</td></tr>"
+ tablerows = "<tr class=\"titlerow\"><td class=\"alerttitlecell\">Suite: %s</td></tr>" \
+ % (current_section)
+ tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/maintainer/\">by maintainer / uploader</a></td></tr>\n" \
+ % (doc_root, current_section)
+ tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \
+ % (doc_root, current_section)
+ tablerows += "<tr class=\"titlerow\"><td class=\"alerttitlecell\">all tested suites</td></tr>"
for section in section_names:
tablerows += ("<tr class=\"normalrow\"><td class=\"contentcell\"><a href='%s/%s'>%s</a></td></tr>\n") % \
(doc_root, html_protect(section), html_protect(section))
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/6fe56fb34d05c2004cf906e172119189da86dd2c
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/6fe56fb34d05c2004cf906e172119189da86dd2c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181017/b90f23d5/attachment-0001.html>
More information about the Piuparts-devel
mailing list