summaryrefslogtreecommitdiffstats
path: root/bin/templates/pkgset_navigation.mustache
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-19 18:29:01 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-24 11:46:03 -0400
commitd5182ed952f11ff7452f9d3c420a5d42595e197a (patch)
tree63cfb440e080f9ae52b52bfc9a6a63092aaa70b8 /bin/templates/pkgset_navigation.mustache
parentd93ae1f0c54527fdf5f1fc26ac582e51b6dff965 (diff)
downloadjenkins.debian.net-d5182ed952f11ff7452f9d3c420a5d42595e197a.tar.xz
reproducible debian: add collapsible sections to pkgset navigation
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/templates/pkgset_navigation.mustache')
-rw-r--r--bin/templates/pkgset_navigation.mustache38
1 files changed, 27 insertions, 11 deletions
diff --git a/bin/templates/pkgset_navigation.mustache b/bin/templates/pkgset_navigation.mustache
index 40d19c18..81ee3386 100644
--- a/bin/templates/pkgset_navigation.mustache
+++ b/bin/templates/pkgset_navigation.mustache
@@ -1,14 +1,30 @@
-<ul>
- <li>Tracked package sets in {{suite}}/{{arch}}: </li>
-<br/>
-{{#package_sets}}
+<ul><li>
+ <a href="/debian/{{suite}}/{{arch}}/index_pkg_sets.html"
+ title="To switch suite and arch, see top left">
+ All tracked package sets for <b>{{suite}}/{{arch}}</b>
+ </a>
+</li></ul>
+{{#package_set_sections}}
+<details {{^pkgset_page}}open{{/pkgset_page}}>
+ <summary>{{section}} package sets:</summary>
+ <ul class="pkgset-list">
+ {{#pkgsets}}
<li class="{{class}}">
- <a href="/debian/{{suite}}/{{arch}}/pkg_set_{{pkgset_name}}.html">{{pkgset_name}}</a>
- {{#thumb}}
- <a href="/debian/{{suite}}/{{arch}}/pkg_set_{{pkgset_name}}.html">
- <img src="{{thumb}}" class="setview" alt="Reproducibility status for packages un {{suite}}/{{arch}} from '{{pkg_name}}'" title="{{pkgset_name}}" name="{{pkgset_name}}">
- </a>
- {{/thumb}}
+ <a href="/debian/{{suite}}/{{arch}}/pkg_set_{{pkgset_name}}.html">
+ {{pkgset_name}}
+ </a>
+ {{#thumb}}
+ <a href="/debian/{{suite}}/{{arch}}/pkg_set_{{pkgset_name}}.html">
+ <img src="{{thumb}}" class="setview"
+ alt="Reproducibility status for packages in {{suite}}/{{arch}} from '{{pkg_name}}'"
+ title="{{pkgset_name}}" name="{{pkgset_name}}">
+ </a>
+ {{/thumb}}
</li>
-{{/package_sets}}
+ {{/pkgsets}}
</ul>
+</details>
+{{/package_set_sections}}
+{{#pkgset_page}}
+<hr id="footer_separator" />
+{{/pkgset_page}}