Update pattern to match ANR app by name
[portal/ric-dashboard.git] / webapp-frontend / src / app / app.component.html
1 <!--
2   ========================LICENSE_START=================================
3   O-RAN-SC
4   %%
5   Copyright (C) 2019 AT&T Intellectual Property and Nokia
6   %%
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ========================LICENSE_END===================================
19   -->
20 <!-- Slide Menu-->
21 <mat-drawer-container autosize>
22   <mat-drawer #drawer mode="push">
23   <section class="menu-header">
24
25     <div class="left__section3Col" *ngIf="drawer.opened"  [ngClass]="{'menumargin-top': drawer.opened}">
26       <svg (click)="drawer.toggle()" class="hamburger__icon" id="Menu_Burger_Icon" data-name="Menu Burger Icon"
27            viewBox="31.5 30 49.9 32">
28         <rect id="Rectangle_9" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
29               class="hamburger__icon__fill" data-name="Rectangle 9" rx="2"
30               transform="translate(31.5 58)"/>
31         <rect id="Rectangle_10" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
32               class="hamburger__icon__fill" data-name="Rectangle 10" rx="2"
33               transform="translate(31.5 44)"/>
34         <rect id="Rectangle_11" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
35               class="hamburger__icon__fill" data-name="Rectangle 11" rx="2"
36               transform="translate(31.5 30)"/>
37       </svg>
38       <img src="../../assets/oran-logo.png" width="180%" height="100%" style="position: relative; z-index: 50"/>
39       <svg class="logo__icon" viewBox="150.3 22.2 313.7 42.8">
40         <text [ngClass]="{'logo__text-dark': darkModeActive}" class="logo__text" fill="#432c85"
41               font-size="30" font-weight="600"
42               letter-spacing=".1em" transform="translate(149 56)">
43           <tspan x="0" y="0">RIC Dashboard</tspan>
44         </text>
45       </svg>
46
47     </div>
48
49       <div class="profile-image__container">
50         <img src="assets/profile_default.png" alt="profile-image"
51              class="profile__image">
52       </div>
53       <div class="account-details">
54         <span class="name__text">Demo</span>
55         <span class="email__text">demo@o-ran-sc.org</span>
56       </div>
57     </section>
58     <section #sidenav class="menu-body">
59        <app-sidenav-list></app-sidenav-list>
60     </section>
61     <section class="menu-footer">
62
63     </section>
64 </mat-drawer>
65
66 <mat-drawer-content>
67 <div class="root__container">
68
69   <header [ngClass]="{'main__header-dark': darkModeActive}" class="main__header">
70
71     <div class="left__section3Col" *ngIf="!drawer.opened">
72       <svg (click)="drawer.toggle()" class="hamburger__icon" id="Menu_Burger_Icon" data-name="Menu Burger Icon"
73            viewBox="31.5 30 49.9 32">
74         <rect id="Rectangle_9" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
75               class="hamburger__icon__fill" data-name="Rectangle 9" rx="2"
76               transform="translate(31.5 58)"/>
77         <rect id="Rectangle_10" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
78               class="hamburger__icon__fill" data-name="Rectangle 10" rx="2"
79               transform="translate(31.5 44)"/>
80         <rect id="Rectangle_11" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
81               class="hamburger__icon__fill" data-name="Rectangle 11" rx="2"
82               transform="translate(31.5 30)"/>
83       </svg>
84       <img src="../../assets/oran-logo.png" width="180%" height="100%" style="position: relative; z-index: 50"/>
85       <svg class="logo__icon" viewBox="150.3 22.2 313.7 42.8">
86         <text [ngClass]="{'logo__text-dark': darkModeActive}" class="logo__text" fill="#432c85"
87               font-size="30" font-weight="600"
88               letter-spacing=".1em" transform="translate(149 56)">
89           <tspan x="0" y="0">RIC Dashboard</tspan>
90         </text>
91       </svg>
92
93     </div>
94
95     <h3 class="date__text"></h3>
96
97     <div class="mode-toggle__container">
98       <span class="mode-toggle__text">Light</span>
99       <label class="toggle-button__container">
100         <input (click)="modeToggleSwitch()" type="checkbox" class="mode-toggle__input"/>
101         <span [ngClass]="{'mode-toggle__bg-checked': darkModeActive}" class="mode-toggle__bg"></span>
102         <span [ngClass]="{'mode-toggle__circle-checked': darkModeActive}" class="mode-toggle__circle"></span>
103       </label>
104       <span class="mode-toggle__text">Dark</span>
105     </div>
106
107   </header>
108
109   <!-- Main Content -->
110   <main class="main__container">
111     <div class = main__container__body>
112       <div class="main-container__bg" [ngClass]="{'main-container__bg-dark': darkModeActive}"></div>
113       <router-outlet></router-outlet>
114     </div>
115   </main>
116
117   <!-- Footer -->
118   <footer class="main__footer">
119         <div class="main-footer__bg" [ngClass]="{'main-footer__bg-dark': darkModeActive}"></div>
120     <app-footer></app-footer>
121   </footer>
122
123 </div>
124 </mat-drawer-content>
125 </mat-drawer-container>