-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathchat.html
More file actions
28 lines (28 loc) · 1.28 KB
/
chat.html
File metadata and controls
28 lines (28 loc) · 1.28 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
<mat-sidenav-container class="drawer-container" autosize>
<mat-tab-group mat-align-tabs="center">
<mat-tab label="Subscribed">
<app-chat-list (openChatSidebar)="open.chatSideBar($event)"></app-chat-list>
</mat-tab>
<mat-tab label="Public">
<app-user-list (openUserSidebar)="open.userSideBar($event)"></app-user-list>
</mat-tab>
</mat-tab-group>
<mat-sidenav #chatSidebar class="sidebar sidebar--message" mode="side" position="start">
<mat-toolbar class="zIndexTop" color="primary">
<mat-toolbar-row>
<mat-icon class="button" aria-hidden="false" (click)="chatSidebar.close()">arrow_back_ios</mat-icon>
<span class="spacer"> {{sidebarTitles.chat}} </span>
</mat-toolbar-row>
</mat-toolbar>
<app-chat-detail></app-chat-detail>
</mat-sidenav>
<mat-sidenav #userSidebar class="sidebar sidebar--user" mode="over" position="end">
<mat-toolbar class="zIndexTop" color="primary">
<mat-toolbar-row>
<span class="spacer"> {{sidebarTitles.user}} </span>
<mat-icon class="button" aria-hidden="false" (click)="userSidebar.close()">close</mat-icon>
</mat-toolbar-row>
</mat-toolbar>
<app-user-profile (openChatWindow)="open.chatSideBar($event)"></app-user-profile>
</mat-sidenav>
</mat-sidenav-container>