blob: 02b71944dc31d147b20914000c59404c2881ff2a [file] [log] [blame]
Iftekharul Islam8947e702017-07-27 10:28:07 -05001<nav class="nav__wrapper">
Gunnar Mills5f0b7762018-09-25 14:10:45 -05002 <ul id="nav__top-level" ng-style="navStyle">
3 <li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -05004 <a class="btn-overview" ng-class="{opened: firstLevel == 'overview'}" href="#/overview/server" ng-click="change('overview')">
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -05005 <icon class="nav-icon" file="icon-overview.svg"></icon>
6 Server overview
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -05007 </a>
Gunnar Mills5f0b7762018-09-25 14:10:45 -05008 </li>
9 <li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050010 <button class="btn-health"
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050011 ng-class="{opened: firstLevel == 'server-health'}"
12 ng-click="change('server-health')">
13 <icon class="nav-icon" file="icon-health.svg"></icon>
14 Server health
Gunnar Mills5f0b7762018-09-25 14:10:45 -050015 </button>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050016 <ul class="nav__second-level btn-health"
17 ng-style="navStyle"
18 ng-class="{opened: (showSubMenu && firstLevel == 'server-health')}">
19 <li ng-class="{'active': (path == '/server-health/event-log')}">
20 <a href="#/server-health/event-log" ng-click="closeSubnav()"
21 tabindex="{{(showSubMenu && firstLevel == 'server-health') ? 0 : -1}}">Event log</a>
22 </li>
23 <li ng-class="{'active': (path == '/server-health/inventory-overview' || path == '/server-health/inventory')}">
24 <a href="#/server-health/inventory-overview" ng-click="closeSubnav()"
25 tabindex="{{(showSubMenu && firstLevel == 'server-health') ? 0 : -1}}">Hardware status</a>
26 </li>
27 <li ng-class="{'active': (path == '/server-health/sensors-overview' || path == '/server-health/sensors')}">
28 <a href="#/server-health/sensors-overview" ng-click="closeSubnav()"
29 tabindex="{{(showSubMenu && firstLevel == 'server-health') ? 0 : -1}}">Sensors</a>
30 </li>
Gunnar Mills06f69452019-06-20 13:44:38 -050031 <li ng-class="{'active': (path == '/server-health/sys-log')}" ng-show="!dataService.configJson.redfishEventLogDisabled">
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050032 <a href="#/server-health/sys-log" ng-click="closeSubnav()"
Gunnar Mills9cf17f82019-06-20 13:37:27 -050033 tabindex="{{(showSubMenu && firstLevel == 'server-health') ? 0 : -1}}">System logs</a>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050034 </li>
35 </ul>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050036 </li>
37 <li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050038 <button class="btn-control" ng-class="{opened: firstLevel == 'server-control'}" ng-click="change('server-control')">
Yoshie Muranakaf1aadb92019-07-01 11:14:21 -050039 <icon class="nav-icon nav-icon__control" file="icon-control.svg"></icon>
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050040 Server control
Gunnar Mills5f0b7762018-09-25 14:10:45 -050041 </button>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050042 <ul class="nav__second-level btn-control"
43 ng-style="navStyle"
44 ng-class="{opened: (showSubMenu && firstLevel == 'server-control')}">
45 <li ng-class="{'active': (path == '/server-control' || path == '/server-control/power-operations')}">
46 <a href="#/server-control/power-operations" ng-click="closeSubnav()"
47 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Server power operations</a>
48 </li>
49 <li ng-class="{'active': (path == '/server-control/power-usage')}">
50 <a href="#/server-control/power-usage" ng-click="closeSubnav()"
51 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Manage power usage</a>
52 </li>
53 <li ng-class="{'active': (path == '/server-control/server-led')}">
54 <a href="#/server-control/server-led" ng-click="closeSubnav()"
55 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Server LED</a>
56 </li>
57 <li ng-class="{'active': (path == '/server-control/bmc-reboot')}">
58 <a href="#/server-control/bmc-reboot" ng-click="closeSubnav()"
59 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Reboot BMC</a>
60 </li>
61 <li ng-class="{'active': (path == '/server-control/remote-console')}">
62 <a href="#/server-control/remote-console" ng-click="closeSubnav()"
63 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Serial over LAN console</a>
64 </li>
65 <li ng-class="{'active': (path == '/server-control/kvm')}">
66 <a href="#/server-control/kvm" ng-click="closeSubnav()"
67 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">KVM</a>
68 </li>
Gunnar Mills418db632019-09-19 14:12:16 -050069 <li ng-class="{'active': (path == '/server-control/virtual-media')}">
70 <a href="#/server-control/virtual-media" ng-click="closeSubnav()"
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050071 tabindex="{{(showSubMenu && firstLevel == 'server-control') ? 0 : -1}}">Virtual Media</a>
72 </li>
73 </ul>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050074 </li>
75 <li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050076 <button class="btn-config" ng-class="{opened: firstLevel == 'configuration'}" ng-click="change('configuration')">
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -050077 <icon class="nav-icon" file="icon-config.svg"></icon>
78 Server configuration
Gunnar Mills5f0b7762018-09-25 14:10:45 -050079 </button>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050080 <ul class="nav__second-level btn-firmware"
81 ng-style="navStyle"
82 ng-class="{opened: (showSubMenu && firstLevel == 'configuration')}">
83 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/network')}">
84 <a href="#/configuration/network" ng-click="closeSubnav()"
85 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">Network settings</a>
86 </li>
beccabroek309b5da2018-11-07 12:22:31 -060087 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/certificate')}">
88 <a href="#/configuration/certificate" ng-click="closeSubnav()"
89 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">Certificate management</a>
90 </li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -050091 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/snmp')}">
92 <a href="#/configuration/snmp" ng-click="closeSubnav()"
93 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">SNMP settings</a>
94 </li>
95 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/firmware')}">
96 <a href="#/configuration/firmware" ng-click="closeSubnav()"
97 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">Firmware</a>
98 </li>
99 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/date-time')}">
100 <a href="#/configuration/date-time" ng-click="closeSubnav()"
101 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">Date and time settings</a>
102 </li>
beccabroek5e258e42018-11-07 12:22:31 -0600103 <li ng-class="{'active': (path == '/configuration' || path == '/configuration/ldap')}">
104 <a href="#/configuration/ldap" ng-click="closeSubnav()"
105 tabindex="{{(showSubMenu && firstLevel == 'configuration') ? 0 : -1}}">LDAP settings</a></li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -0500106 </ul>
Gunnar Mills5f0b7762018-09-25 14:10:45 -0500107 </li>
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -0500108 <li>
109 <button class="btn-users" ng-class="{opened: firstLevel == 'users'}" ng-click="change('users')">
Yoshie Muranakac86ce3c2019-06-05 12:30:30 -0500110 <icon class="nav-icon" file="icon-user.svg"></icon>
111 Users
Yoshie Muranaka21f8cb92019-05-22 10:02:52 -0500112 </button>
113 <ul class="nav__second-level btn-users"
114 ng-style="navStyle"
115 ng-class="{opened: (showSubMenu && firstLevel == 'users')}">
116 <li ng-class="{'active': (path == '/users' || path == '/users/manage-accounts')}">
117 <a href="#/users/manage-accounts" ng-click="closeSubnav()"
118 tabindex="{{ (showSubMenu && firstLevel == 'users') ? 0 : -1}}">Manage user account</a>
119 </li>
120 </ul>
Gunnar Mills5f0b7762018-09-25 14:10:45 -0500121 </li>
Gunnar Mills5f0b7762018-09-25 14:10:45 -0500122 </ul>
Michael Davis3a0d4712017-03-27 14:01:34 -0500123</nav>