—[%#
=head1 navbar
This is a navigation bar to go across the page. (Or down the side, or
whatetver you want to do with it.) It displays all the tables which are
accessible, with a link to the list page for each one.
#%]
[% PROCESS macros %]
<div id="navcontainer">
<ul id="navlist">
[%
FOR table = config.display_tables;
'<li '; 'id="active"' IF table == classmetadata.table; '>';
# Hack
link(table, "list", "", table);
'</li>';
END;
%]
</ul>
</div>