Permalink
Browse files

Step 8.5: Added new chat template

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent cf92fbd commit 765d0daae4de0528faa055ab16e02b2f8d5373e3
Showing with 22 additions and 0 deletions.
  1. +22 −0 src/pages/chats/new-chat.html
@@ -0,0 +1,22 @@
<ion-header>
<ion-toolbar color="whatsapp">
<ion-title>New Chat</ion-title>
<ion-buttons left>
<button ion-button class="dismiss-button" (click)="viewCtrl.dismiss()"><ion-icon name="close"></ion-icon></button>
</ion-buttons>
<ion-buttons end>
<button ion-button class="search-button"><ion-icon name="search"></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 765d0da

Please sign in to comment.