make tabs fully parameterised
This commit is contained in:
@@ -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';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user