forked from ArtOfEngineer/angular8
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.component.html
More file actions
66 lines (53 loc) · 1.57 KB
/
app.component.html
File metadata and controls
66 lines (53 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!--
<div class="container">
<h3 class="d-flex justify-content-center">Angular 8 with Web API Demo</h3>
<h5 class="d-flex justify-content-center">Employee Management Portal</h5>
<nav class="navbar navbar-expand-sm bg-light navbark-dark">
<ul class="navbar-nav">
<li class="nav-item">
<button class="m-1 btn btn-light btn-outline-primary" Button
label = "DepScreen"
(click) = "DepScreen=true; EmpScreen=false;">
Departments
</button>
</li>
<li class="nav-item">
<button class="m-1 btn btn-light btn-outline-primary" Button
label = "EmpScreen"
(click) = "DepScreen=false; EmpScreen=true;">
Employees
</button>
</li>
</ul>
</nav>
<app-department *ngIf="DepScreen"></app-department>
<app-employee *ngIf="EmpScreen"></app-employee>
</div>
-->
<div class="container">
<h3 class="d-flex justify-content-center">Angular 8 with Web API Demo</h3>
<h5 class="d-flex justify-content-center">Employee Management Portal</h5>
<nav class="navbar navbar-expand-sm bg-light navbark-dark">
<ul class="navbar-nav">
<li class="nav-item">
<button
routerLink="department"
class="m-1 btn btn-light btn-outline-primary" Button
label = "DepScreen"
>
Departments
</button>
</li>
<li class="nav-item">
<button
routerLink="employee"
class="m-1 btn btn-light btn-outline-primary" Button
label = "EmpScreen"
>
Employees
</button>
</li>
</ul>
</nav>
<router-outlet></router-outlet>
</div>