From: Jan Paul Tuecking Date: Sat, 1 Aug 2009 10:15:52 +0000 (+0200) Subject: Insert alternate rows to uriel page. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=456a85b5601de9aed19217db25fcf09e88997f26;p=ipfire.org.git Insert alternate rows to uriel page. --- diff --git a/www/include/style.css b/www/include/style.css index 8636b9ae..117eee63 100644 --- a/www/include/style.css +++ b/www/include/style.css @@ -668,6 +668,7 @@ table.uriel { width: 100%; /* border: 1px solid #880400; */ font-size: 0.9em; + } table.uriel td.header { width: 80px; @@ -810,3 +811,11 @@ table.uriel td.footer { opacity: 0; filter:Alpha(Opacity=0); } + +/* alternate */ +.odd { + background-color: #F9F9F9; +} +.even { + background-color: #F1F1F1; +} diff --git a/www/pages/uriel.py b/www/pages/uriel.py index c2a1bb33..e1ba7099 100644 --- a/www/pages/uriel.py +++ b/www/pages/uriel.py @@ -141,10 +141,12 @@ page = web.Page() page.content = Content() page.sidebar = web.elements.DevelopmentSidebar() page.javascript = Javascript(1, 1) +page.javascript.jquery_plugin("alternate") page.javascript.write(""" """)