Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
2201dd7a
Commit
2201dd7a
authored
Aug 30, 2015
by
HW42
Committed by
Holger Levsen
Aug 30, 2015
Browse files
package html: make it more clear which suite is currently shown
parent
3eb28e82
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_html_packages.py
View file @
2201dd7a
...
...
@@ -174,8 +174,6 @@ def gen_suites_links(package, current_suite, current_arch):
html
+=
tab
+
'<li>{}
\n
'
.
format
(
a
)
html
+=
tab
+
'<ul class="children">
\n
'
for
s
in
SUITES
:
if
s
==
current_suite
and
a
==
current_arch
:
continue
if
a
==
'armhf'
and
s
!=
'unstable'
:
continue
status
=
package
.
get_status
(
s
,
a
)
...
...
@@ -183,8 +181,10 @@ def gen_suites_links(package, current_suite, current_arch):
continue
version
=
package
.
get_tested_version
(
s
,
a
)
li_classes
=
[
'suite'
]
if
s
==
current_suite
and
a
==
current_arch
:
li_classes
.
append
(
'active'
)
html
+=
'<li class="'
+
' '
.
join
(
li_classes
)
+
'">
\n
'
+
tab
if
status
!=
'untested'
:
if
s
!=
current_suite
or
a
!=
current_arch
or
status
!=
'untested'
:
prefix
=
'<a href="/{}/{}/index_{}.html">'
.
format
(
s
,
a
,
status
)
suffix
=
'</a>
\n
'
else
:
...
...
userContent/reproducible/static/style.css
View file @
2201dd7a
...
...
@@ -104,6 +104,10 @@ ul.menu {
clear
:
left
;
}
.suite.active
{
background-color
:
#bfeaff
;
}
ul
.reproducible-links
{
margin-top
:
1em
;
border-top
:
1px
solid
#eee
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment