Marcus Ramberg > Maypole-View-Mason > templates/factory/navbar

Download:
Maypole-View-Mason-0.3.tar.gz

Annotate this POD

View/Report Bugs
Source  

navbar ^

This is a navigation bar to go across the page. (Or down the side, or whatever you want to do with it.) It displays all the tables which are accessible, with a link to the list page for each one.

</%doc> <div id="navcontainer"> <ul id="navlist"> %foreach my $table (@{$config->{display_tables}}) { <li<%($table eq $classmetadata->{table} ? ' id="active"' :'')%>> <& macros/link, table => $table , base => $base, config => $config, command => "list", label => $table &> </li> %} </ul> </div>

syntax highlighting: