From badaa1fa2ee791bb28d2eb6f2ccb187b76e41c6f Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Wed, 22 Sep 2004 20:42:29 +0000 Subject: [PATCH] fixed css to annotate active from list, and navbar not to add silly things to url for current. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@204 48953598-375a-da11-a14b-00016c27c3ee --- templates/factory/navbar | 4 +--- templates/maypole.css | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/factory/navbar b/templates/factory/navbar index 60a69a9..0c8b168 100644 --- a/templates/factory/navbar +++ b/templates/factory/navbar @@ -14,9 +14,7 @@ accessible, with a link to the list page for each one. FOR table = config.display_tables; '
  • '; # Hack - SET active = '" id="current' IF table == classmetadata.table; - link(table, "list", active, table); - SET active = ""; + link(table, "list", "", table); '
  • '; END; %] diff --git a/templates/maypole.css b/templates/maypole.css index 86fcbaf..c6dba91 100644 --- a/templates/maypole.css +++ b/templates/maypole.css @@ -96,7 +96,7 @@ table { border-color: #227; } -#navlist li a#current { +#navlist #active a { background: white; border-bottom: 1px solid white; } -- 2.39.2