summaryrefslogtreecommitdiffstats
path: root/bin/templates
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-06-22 17:39:11 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-17 15:08:06 +0200
commit6610b45c60bfe958fb1ce2a351bd4d34fc57cad3 (patch)
treeef682602a487be986df95ce629cf77dbb5011ee3 /bin/templates
parent7ed0bf9e0d2c565decebb56686716d63078705aa (diff)
downloadjenkins.debian.net-6610b45c60bfe958fb1ce2a351bd4d34fc57cad3.tar.xz
reproducible debian: rewrite reproducible_html_pkg_sets in python
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/templates')
-rw-r--r--bin/templates/basic_page.mustache4
-rw-r--r--bin/templates/main_navigation.mustache4
-rw-r--r--bin/templates/pkgset_details.mustache17
-rw-r--r--bin/templates/pkgset_navigation.mustache14
4 files changed, 37 insertions, 2 deletions
diff --git a/bin/templates/basic_page.mustache b/bin/templates/basic_page.mustache
new file mode 100644
index 00000000..99fee20f
--- /dev/null
+++ b/bin/templates/basic_page.mustache
@@ -0,0 +1,4 @@
+{{{main_navigation_html}}}
+<div class="mainbody">
+{{{main_html}}}
+</div>
diff --git a/bin/templates/main_navigation.mustache b/bin/templates/main_navigation.mustache
index 776a1207..6dab1692 100644
--- a/bin/templates/main_navigation.mustache
+++ b/bin/templates/main_navigation.mustache
@@ -39,13 +39,13 @@
</a>
</li>
</ul></li>
- {{^experimental}}
+ {{#include_pkgset_link}}
<li {{#pkg_set}}class='active'{{/pkg_set}}>
<a href="/debian/{{suite}}/{{arch}}/index_pkg_sets.html">
package sets
</a>
</li>
- {{/experimental}}
+ {{/include_pkgset_link}}
<li>Recently tested:<ul class="children">
<li {{#last_24h}}class='active'{{/last_24h}}>
<a href="/debian/{{suite}}/{{arch}}/index_last_24h.html">
diff --git a/bin/templates/pkgset_details.mustache b/bin/templates/pkgset_details.mustache
new file mode 100644
index 00000000..ac721747
--- /dev/null
+++ b/bin/templates/pkgset_details.mustache
@@ -0,0 +1,17 @@
+<p>
+{{#png}}
+ <a href="{{png}}"><img src="{{png}}" class="overview" alt="package set {{pkgset_name}} in {{suite}}/{{arch}}"></a>"
+{{/png}}
+
+ <br />
+ The package set '{{pkgset_name}}' in {{suite}}/{{arch}} consists of:
+ (see this package set on {{#other_archs}}<a href="{{link}}" title="See this packageset in unstable/{{arch}}" target="_parent">{{arch}}</a>
+{{/other_archs}})
+
+ <br />
+ {{#status_details}}
+ {{{icon_html}}} {{status_count}} ({{status_percent}}%) packages {{description}}: {{{package_list_html}}}
+ <br />
+ {{/status_details}}
+ {{{pkg_symbol_legend_html}}}
+</op>
diff --git a/bin/templates/pkgset_navigation.mustache b/bin/templates/pkgset_navigation.mustache
new file mode 100644
index 00000000..40d19c18
--- /dev/null
+++ b/bin/templates/pkgset_navigation.mustache
@@ -0,0 +1,14 @@
+<ul>
+ <li>Tracked package sets in {{suite}}/{{arch}}: </li>
+<br/>
+{{#package_sets}}
+ <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}}
+ </li>
+{{/package_sets}}
+</ul>