-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
app.component.html
113 lines (97 loc) · 3.68 KB
/
app.component.html
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<ion-app [class.ion-palette-dark]="dark">
<ion-split-pane contentId="main-content">
<ion-menu contentId="main-content">
<ion-content>
<ion-list lines="none">
<ion-list-header>
Conference
</ion-list-header>
<ion-menu-toggle autoHide="false" *ngFor="let p of appPages; let i = index">
<ion-item [routerLink]="p.url" routerLinkActive="selected" routerDirection="root" detail="false">
<ion-icon slot="start" [name]="p.icon + '-outline'"></ion-icon>
<ion-label>
{{p.title}}
</ion-label>
</ion-item>
</ion-menu-toggle>
</ion-list>
<ion-list *ngIf="loggedIn" lines="none">
<ion-list-header>
Account
</ion-list-header>
<ion-menu-toggle autoHide="false">
<ion-item routerLink="/account" routerLinkActive="active" routerDirection="root" detail="false">
<ion-icon slot="start" name="person"></ion-icon>
<ion-label>
Account
</ion-label>
</ion-item>
</ion-menu-toggle>
<ion-menu-toggle autoHide="false">
<ion-item routerLink="/support" routerLinkActive="active" routerDirection="root" detail="false">
<ion-icon slot="start" name="help"></ion-icon>
<ion-label>
Support
</ion-label>
</ion-item>
</ion-menu-toggle>
<ion-menu-toggle autoHide="false">
<ion-item button (click)="logout()" detail="false">
<ion-icon slot="start" name="log-out"></ion-icon>
<ion-label>
Logout
</ion-label>
</ion-item>
</ion-menu-toggle>
</ion-list>
<ion-list *ngIf="!loggedIn" lines="none">
<ion-list-header>
Account
</ion-list-header>
<ion-menu-toggle autoHide="false">
<ion-item routerLink="/login" routerLinkActive="active" routerDirection="root" detail="false">
<ion-icon slot="start" name="log-in"></ion-icon>
<ion-label>
Login
</ion-label>
</ion-item>
</ion-menu-toggle>
<ion-menu-toggle autoHide="false">
<ion-item routerLink="/support" routerLinkActive="active" routerDirection="root" detail="false">
<ion-icon slot="start" name="help"></ion-icon>
<ion-label>
Support
</ion-label>
</ion-item>
</ion-menu-toggle>
<ion-menu-toggle autoHide="false">
<ion-item routerLink="/signup" routerLinkActive="active" routerDirection="root" detail="false">
<ion-icon slot="start" name="person-add"></ion-icon>
<ion-label>
Signup
</ion-label>
</ion-item>
</ion-menu-toggle>
<ion-item>
<ion-icon slot="start" name="moon-outline"></ion-icon>
<ion-toggle [(ngModel)]="dark">
Dark Mode
</ion-toggle>
</ion-item>
</ion-list>
<ion-list lines="none">
<ion-list-header>
Tutorial
</ion-list-header>
<ion-menu-toggle autoHide="false">
<ion-item button (click)="openTutorial()" detail="false">
<ion-icon slot="start" name="hammer"></ion-icon>
<ion-label>Show Tutorial</ion-label>
</ion-item>
</ion-menu-toggle>
</ion-list>
</ion-content>
</ion-menu>
<ion-router-outlet id="main-content"></ion-router-outlet>
</ion-split-pane>
</ion-app>