make tabs fully parameterised

This commit is contained in:
Oliver Gorwits
2012-01-07 11:46:10 +00:00
parent 427a759c53
commit 229423996a
8 changed files with 157 additions and 141 deletions

View File

@@ -43,6 +43,14 @@ get '/search' => sub {
params->{'vendor'} = 'checked';
}
# list of tabs
var('tabs' => [
{ id => 'device', label => 'Device' },
{ id => 'node', label => 'Node' },
{ id => 'vlan', label => 'VLAN' },
{ id => 'port', label => 'Port' },
]);
template 'search';
};