From 456a85b5601de9aed19217db25fcf09e88997f26 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Sat, 1 Aug 2009 12:15:52 +0200 Subject: [PATCH] Insert alternate rows to uriel page. --- www/include/style.css | 9 +++++++++ www/pages/uriel.py | 2 ++ 2 files changed, 11 insertions(+) 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(""" """) -- 2.47.3