From: Marcus Ramberg Date: Wed, 22 Sep 2004 20:42:29 +0000 (+0000) Subject: fixed css to annotate active from list, and navbar not to add silly things to url... X-Git-Tag: 2.10~158 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=badaa1fa2ee791bb28d2eb6f2ccb187b76e41c6f;p=maypole.git 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 --- 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; }