Skip to content

Commit

Permalink
Step 6.8: Create NewChatComponent view
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 26, 2017
1 parent 6a23070 commit 86a8caa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/pages/new-chat/new-chat.html
@@ -0,0 +1,18 @@
<ion-header>
<ion-toolbar color="whatsapp">
<ion-title>New Chat</ion-title>

<ion-buttons end>
<button ion-button class="dismiss-button" (click)="viewCtrl.dismiss()"><ion-icon name="close"></ion-icon></button>
</ion-buttons>
</ion-toolbar>
</ion-header>

<ion-content class="new-chat">
<ion-list class="users">
<button ion-item *ngFor="let user of users | async" class="user" (click)="addChat(user)">
<img class="user-picture" [src]="user.profile.picture">
<h2 class="user-name">{{user.profile.name}}</h2>
</button>
</ion-list>
</ion-content>

0 comments on commit 86a8caa

Please sign in to comment.