From baeb04f934e5827237bfccd25621e02a90fa0013 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Mon, 27 Jul 2009 21:02:16 +0200 Subject: [PATCH] Fixed table on cluster page. --- www/include/style.css | 22 +++++++++++++--------- www/pages/cluster.py | 20 ++++++++++---------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/www/include/style.css b/www/include/style.css index aaa30a56..954448b2 100644 --- a/www/include/style.css +++ b/www/include/style.css @@ -428,6 +428,8 @@ table { border: 0; } +/* Cluster */ + #nodes { width: 100%; font-size: 0.9em; @@ -435,22 +437,24 @@ table { #nodes th, #nodes td { text-align: left; } -#nodes td.hostname { +#nodes th.hostname { width: 30px; } -#nodes td.arch { - width: 20px; +#nodes th.arch { + width: 8%; } -#nodes td.speed { - width: 20px; +#nodes th.jobs { + width: 8%; } -#nodes td.load { - width: 30px; +#nodes th.speed { + width: 25%; } -#nodes td.jobs { - width: 70px; +#nodes th.load { + width: 20%; } +/* Builds */ + #builds { width: 100%; font-size: 0.9em; diff --git a/www/pages/cluster.py b/www/pages/cluster.py index 5fd39e8b..11ec8693 100644 --- a/www/pages/cluster.py +++ b/www/pages/cluster.py @@ -14,11 +14,11 @@ class Content(web.Content): - - - - - + + + + + @@ -61,11 +61,11 @@ page.javascript.write("""
NameArchLoadJobsSpeedNameArchLoadJobsSpeed