1 <!-- Copyright (c) 2019 AT&T Intellectual Property. #
\r
3 # Licensed under the Apache License, Version 2.0 (the "License"); #
\r
4 # you may not use this file except in compliance with the License. #
\r
5 # You may obtain a copy of the License at #
\r
7 # http://www.apache.org/licenses/LICENSE-2.0 #
\r
9 # Unless required by applicable law or agreed to in writing, software #
\r
10 # distributed under the License is distributed on an "AS IS" BASIS, #
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
\r
12 # See the License for the specific language governing permissions and #
\r
13 # limitations under the License. #
\r
14 #############################################################################-->
\r
17 <nav class="sidebar" [ngClass]="{sidebarPushRight: isActive}">
\r
18 <div class="list-group">
\r
19 <a routerLink="/dashboard" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
20 <i class="fa fa-fw fa-dashboard"></i> {{ 'Dashboard' | translate }}
\r
23 <a [routerLink]="['/test-definitions']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
24 <i class="fa fa-fw fa-object-group"></i> {{ 'Test Definitions' | translate }}
\r
26 <!--<div class="nested-menu">
\r
27 <a class="list-group-item" (click)="addExpandClass('definition')">
\r
28 <span><i class="fa fa-fw fa-object-group"></i> {{ 'Test Definitions' | translate }}</span>
\r
30 <li class="nested" [class.expand]="showMenu === 'definition'">
\r
31 <ul class="submenu">
\r
33 <a [routerLink]="['/test-definitions']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
34 <i class="fa fa-fw fa-list-ul"></i> {{ 'Collection' | translate }}
\r
38 <a [routerLink]="['/modeler']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
39 <i class="fa bpmn-icon-bpmn-io"></i> {{ 'BPMN Modeler' | translate }}
\r
44 <a [routerLink]="['/test-instances']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
45 <i class="fa fa-fw fa-clone"></i> {{ 'Test Instances' | translate }}
\r
47 <!--<a [routerLink]="['/test-executions']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
48 <i class="fa fa-fw fa-bolt"></i> {{ 'Test Executions' | translate }}
\r
50 <a routerLink="/onboarding" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
51 <i class="fa fa-fw fa-user"></i> {{ 'Onboarding' | translate }}
\r
53 <!--<div class="nested-menu">
\r
54 <a class="list-group-item" (click)="addExpandClass('pages1')">
\r
55 <span><i class="fa fa-fw fa-user"></i> {{ 'Onboarding' | translate }}</span>
\r
57 <li class="nested" [class.expand]="showMenu === 'pages1'">
\r
58 <ul class="submenu">
\r
60 <a [routerLink]="['/onboarding/test-head']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
61 <i class="fa fa-fw fa-gears"></i> {{ 'Onboard Test Head' | translate }}
\r
65 <a [routerLink]="['/onboarding/test-definition']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
66 <i class="fa fa-fw fa-object-group"></i> {{ 'Onboard Test Definition' | translate }}
\r
70 <a [routerLink]="['/onboarding/test-instances']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
71 <i class="fa fa-fw fa-clone"></i> {{ 'Create Test Instance' | translate }}
\r
77 <div class="nested-menu">
\r
78 <a class="list-group-item" (click)="addExpandClass('pages2')">
\r
79 <span><i class="fa fa-folder"></i> {{ 'Resources' | translate }}</span>
\r
81 <li class="nested" [class.expand]="showMenu === 'pages2'">
\r
82 <ul class="submenu">
\r
84 <a [routerLink]="['/test-heads']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
85 <i class="fa fa-fw fa-gears"></i> {{ 'Virtual Test Heads' | translate }}
\r
89 <a [routerLink]="['/test-definitions']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
90 <i class="fa fa-fw fa-object-group"></i> {{ 'Test Definitions' | translate }}
\r
94 <a [routerLink]="['/test-instances']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
95 <i class="fa fa-fw fa-clone"></i> {{ 'Test Instances' | translate }}
\r
99 <a [routerLink]="['/test-executions']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
100 <i class="fa fa-fw fa-bolt"></i> {{ 'Test Executions' | translate }}
\r
105 <!--<a routerLink="/scheduling" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
106 <i class="fa fa-fw fa-calendar"></i> {{ 'Scheduling' | translate }}
\r
108 <a [routerLink]="['/modeler']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
109 <i class="fa bpmn-icon-bpmn-io"></i> Test Designer <small style="color: green">beta</small>
\r
111 <a *ngIf="canManageGroup" [routerLink]="['/manage-group']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
112 <i class="fa fa-fw fa-group"></i> {{ 'Manage Group' | translate }}
\r
114 <a [routerLink]="['/feedback']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
115 <i class="fa fa-fw fa-comment-o"></i> {{ 'Feedback' | translate }}
\r
119 <div *ngIf="checkIsAdmin()" class="nested-menu">
\r
120 <a class="list-group-item" (click)="addExpandClass('admin')">
\r
121 <span><i class="fa fa-fw fa-shield"></i> {{ 'Admin' | translate }}</span>
\r
123 <li class="nested" [class.expand]="showMenu === 'admin'">
\r
124 <ul class="submenu">
\r
126 <a [routerLink]="['/user-management']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
127 <i class="fa fa-fw fa-user"></i> {{ 'User Management' | translate }}
\r
132 <!--<div class="nested-menu">
\r
133 <a class="list-group-item" (click)="addExpandClass('pages3')">
\r
134 <span><i class="fa fa-fw fa-users"></i> {{ 'Manage Group' | translate }}</span>
\r
136 <li class="nested" [class.expand]="showMenu === 'pages3'">
\r
137 <ul class="submenu">
\r
139 <a [routerLink]="['/manageGroupUsers']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
140 <i class="fa fa-fw fa-user"></i> {{ 'User Management' | translate }}
\r
144 <a [routerLink]="['/manageGroup']" [routerLinkActive]="['router-link-active']" class="list-group-item">
\r
145 <i class="fa fa-fw fa-object-group"></i> {{ 'Manage Group' | translate }}
\r
152 <a style="position:absolute; bottom: 80px; width: 100%" class="list-group-item" (click)="setHealthStatus()">
\r
153 TCU Engine <small *ngIf="tcuengine" style="color:green">Running</small><small *ngIf="!tcuengine" style="color: red">Down</small>
\r
155 <a style="position:absolute; bottom: 40px; width: 100%" class="list-group-item" (click)="setHealthStatus()">
\r
156 TCU API <small *ngIf="tcuapi" style="color:green">Running</small><small *ngIf="!tcuapi" style="color: red">Down</small>
\r
158 <a style="position:absolute; bottom: 0px; width:100%" class="list-group-item"> {{version}} </a>
\r