Initial commit of RIC Dashboard webapp
[portal/ric-dashboard.git] / webapp-frontend / src / app / app.component.html
1 <!--
2   ========================LICENSE_START=================================
3   ORAN-OSC
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 <aside class="side-menu__container" [ngClass]="{'side-menu__container-active': showMenu}" (click)="toggleMenu()">
22     <nav class="slide-menu" [ngClass]="{'slide-menu-active': showMenu}" (click)="$event.stopImmediatePropagation();">
23     <section class="menu-header">
24       
25       <span class="greeting__text">RIC Dashboard</span>
26       <div class="profile-image__container">
27         <img src="assets/profile_default.png" alt="profile-image"
28              class="profile__image">
29       </div>
30       <div class="account-details">
31         <span class="name__text">Demo</span>
32         <span class="email__text">demo@onap.org</span>
33       </div>
34     </section>
35     <section #sidenav class="menu-body">
36        <app-sidenav-list></app-sidenav-list>
37     </section>
38     <section class="menu-footer">
39
40     </section>
41   </nav>
42
43 </aside>
44
45 <div class="root__container">
46   <header [ngClass]="{'main__header-dark': darkModeActive}" class="main__header">
47
48     <div class="left__section3Col">
49       <svg (click)="toggleMenu()" class="hamburger__icon" id="Menu_Burger_Icon" data-name="Menu Burger Icon"
50            viewBox="31.5 30 49.9 32">
51         <rect id="Rectangle_9" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
52               class="hamburger__icon__fill" data-name="Rectangle 9" rx="2"
53               transform="translate(31.5 58)"/>
54         <rect id="Rectangle_10" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
55               class="hamburger__icon__fill" data-name="Rectangle 10" rx="2"
56               transform="translate(31.5 44)"/>
57         <rect id="Rectangle_11" width="49.9" height="4" [ngClass]="{'hamburger__icon__fill-dark': darkModeActive}"
58               class="hamburger__icon__fill" data-name="Rectangle 11" rx="2"
59               transform="translate(31.5 30)"/>
60       </svg>
61       <img src="../../assets/oran-logo.png" width="180%" height="100%" style="position: relative; z-index: 50"/>
62       <svg class="logo__icon" viewBox="150.3 22.2 313.7 42.8">
63         <!--<path fill="#00ff9b" d="M150.3 65V22.2L193 65z" data-name="Path 1"/>
64         <path fill="#003eff" d="M193.1 65h-42.8L193 22.2z" data-name="Path 2"/>-->
65         
66         <text [ngClass]="{'logo__text-dark': darkModeActive}" class="logo__text" fill="#432c85"
67               font-size="30" font-weight="600"
68               letter-spacing=".1em" transform="translate(149 56)">
69           <tspan x="0" y="0">RIC Dashboard</tspan>
70         </text>
71       </svg>
72
73     </div>
74
75     <h3 class="date__text"></h3>
76
77
78     <div class="mode-toggle__container">
79       <span class="mode-toggle__text">Light</span>
80
81       <label class="toggle-button__container">
82         <input (click)="modeToggleSwitch()" type="checkbox" class="mode-toggle__input"/>
83         <span [ngClass]="{'mode-toggle__bg-checked': darkModeActive}" class="mode-toggle__bg"></span>
84         <span [ngClass]="{'mode-toggle__circle-checked': darkModeActive}" class="mode-toggle__circle"></span>
85       </label>
86
87
88       <span class="mode-toggle__text">Dark</span>
89     </div>
90
91   </header>
92
93   <!-- Main Content -->
94
95   <!--<router-outlet></router-outlet>-->
96   <main class="main__container">
97     <div class="main-container__bg" [ngClass]="{'main-container__bg-dark': darkModeActive}"></div>
98     <router-outlet></router-outlet>
99   </main>
100
101   <!-- Footer -->
102
103 <!--   <footer class="main__footer">
104     <small class="copyright__text">© 2019 AT&T and Nokia. All rights reserved.</small>
105   </footer> -->
106 </div>