summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2016-07-15 11:10:45 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-24 11:46:03 -0400
commitf4ea95be872e2aebcf5ac6b46b5d504d35c078be (patch)
tree53bd6b16a08edf729eabbeb36c9a8197b07d14c7 /bin/reproducible_common.sh
parentb1c19f2ae8ef5a4ed498c9a596aa75dd863cd878 (diff)
downloadjenkins.debian.net-f4ea95be872e2aebcf5ac6b46b5d504d35c078be.tar.xz
reproducible debian: first pass at main navigation improvements
Reshuffled links, added headers, added hover text, small changes in highlighting of links. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 06134eb9..ac5116ba 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -188,7 +188,7 @@ write_page_header() {
fi
# Used to highlight the link for the current page
- if [ "$1" = "dashboard" ] || [ "$1" = "performance" ] || [ "$1" = "repositories" ] || [ "$1" = "variations" ] ; then
+ if [ "$1" = "dashboard" ] || [ "$1" = "performance" ] || [ "$1" = "repositories" ] || [ "$1" = "variations" ] || [ "$1" = "suite_arch_stats" ]; then
displayed_page="\"$1\": \"true\""
else
displayed_page=''
@@ -198,8 +198,8 @@ write_page_header() {
suite_links="\"suite_list\": ["
comma=0
for i in $SUITES ; do
- if [ "$1" = "suite_arch_stats" ] && [ "$i" = "$SUITE" ] ; then
- class="class='active'"
+ if [ "$i" = "$SUITE" ] ; then
+ class="current"
else
class=''
fi
@@ -216,8 +216,8 @@ write_page_header() {
arch_links="\"arch_list\": ["
comma=0
for i in ${ARCHS} ; do
- if [ "$1" = "suite_arch_stats" ] && [ "$i" = "$ARCH" ] ; then
- class="class='active'"
+ if [ "$i" = "$ARCH" ] ; then
+ class="current"
else
class=''
fi