]> git.decadent.org.uk Git - maypole.git/commitdiff
fixed css to annotate active from list, and navbar not to add silly things to url...
authorMarcus Ramberg <mramberg@cpan.org>
Wed, 22 Sep 2004 20:42:29 +0000 (20:42 +0000)
committerMarcus Ramberg <mramberg@cpan.org>
Wed, 22 Sep 2004 20:42:29 +0000 (20:42 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@204 48953598-375a-da11-a14b-00016c27c3ee

templates/factory/navbar
templates/maypole.css

index 60a69a9f399fe914888365db1c656ed503b72fc9..0c8b1683af7a98d60af67ea3ea3da505db56844d 100644 (file)
@@ -14,9 +14,7 @@ accessible, with a link to the list page for each one.
     FOR table = config.display_tables;
         '<li '; 'id="active"' IF table == classmetadata.table; '>';
         # Hack
-        SET active = '" id="current' IF table == classmetadata.table;
-        link(table, "list", active, table);
-        SET active = "";
+        link(table, "list", "", table);
         '</li>';
     END;
 %]
index 86fcbafe2d4ea2e9b132bc58a295994caad7067f..c6dba91d87dc89149304ac3a903803f153784122 100644 (file)
@@ -96,7 +96,7 @@ table {
     border-color: #227;
 }
 
-#navlist li a#current {
+#navlist #active a {
     background: white;
     border-bottom: 1px solid white;
 }