summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-02 23:38:37 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-02 23:38:37 +0100
commit8c2209fc9c7d1f2d771e0d5a99782be544347547 (patch)
tree42d826219f0284090e26fdcd2ee160f3b843a425
parent2fd79aaa4a94d4ce4ad261bd0d7f376bc5d6538a (diff)
downloadjenkins.debian.net-8c2209fc9c7d1f2d771e0d5a99782be544347547.tar.xz
reproducible: fixup mainview css
-rwxr-xr-xbin/reproducible_html_graphs.sh6
-rw-r--r--userContent/static/style.css4
2 files changed, 4 insertions, 6 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index debb3eb7..433f516f 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -374,11 +374,11 @@ VIEW=stats
PAGE=index_${VIEW}.html
echo "$(date) - starting to write $PAGE page."
write_page_header $VIEW "Overview of various statistics about reproducible builds"
-write_page "<p><table><tr>"
+write_page "<p>"
for i in $SUITES ; do
- write_page " <td><a href=\"/userContent/$i/${TABLE[0]}.png\"><img src=\"/userContent/$i/${TABLE[0]}.png\" class=\"overview\" alt=\"${MAINLABEL[0]}\"></a></td>"
+ write_page " <a href=\"/userContent/$i\"><img src=\"/userContent/$i/${TABLE[0]}.png\" class=\"overview\" alt=\"$i stats\"></a>"
done
-write_page "</tr></table></p><p>"
+write_page "</p><p>"
# FIXME: we don't do 2 / stats_builds_age.png yet :/ (and 6 and 0 are done already)
for i in 3 4 5 1 ; do
if [ "$i" = "3" ] ; then
diff --git a/userContent/static/style.css b/userContent/static/style.css
index 3d4dde82..568884c8 100644
--- a/userContent/static/style.css
+++ b/userContent/static/style.css
@@ -27,9 +27,7 @@ img {
}
img.overview {
- vertical-align: middle;
- max-width: 40%;
- height: auto;
+ max-width: 49%;
}
.beta {