# Netdisco

[% IF user_has_role('port_control') %]
[% END %] [% FOREACH add_js IN settings._additional_javascript %]
[% END %] [% FOREACH add_css IN settings._additional_css %] [% END %]
Netdisco [% IF session.logged_in_user %]

[% FOREACH ni IN settings._navbar_items %] <li[% ' class="active"' IF vars.nav == ni.tag %]> [% ni.label | html_entity %] [% END %] [% IF settings._reports.size %]
- Reports
  [% FOREACH category IN settings._report_order %] [% IF settings._reports_menu.$category.size %]
  - [% category | html_entity %]
    [% FOREACH item IN settings._reports_menu.$category %] [% NEXT IF settings._reports.$item.hidden %]
    - [% settings._reports.$item.label | html_entity %]
    [% END %]
  [% END %] [% END %]
[% END %] [% IF user_has_role('admin') %]
- Admin
  [% IF settings._admin_tasks.size %]
  [% FOREACH ai IN settings._admin_order %] [% NEXT IF settings._admin_tasks.$ai.hidden %]
  - [% settings._admin_tasks.$ai.label | html_entity %]
  [% END %] [% END %]
[% END %]

- Search Devices
- Search Nodes
- Search VLANs
- Search Ports

- Logged in as
- [% IF user_has_role('admin') %] [% ELSIF user_has_role('port_control') %] [% ELSE %] [% END %] [% session.logged_in_user | html_entity %]
  [% IF NOT user_has_role('ldap') %]
  - Change Password
  [% END %] [% IF NOT settings.no_auth %]
  - Log Out
  [% END %]

[% END %]
[% content %]