Skip to content

Commit

Permalink
feat(dashboard): A new sets of icons is used for edit/delete watch an…
Browse files Browse the repository at this point in the history
…d delete measure

Fixes #95
  • Loading branch information
MathieuNls committed Mar 14, 2017
1 parent 51cc412 commit d1a6412
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ <h3>{{ watch.name }}</h3>
</ion-item>
<ion-item-options side="left">
<button [disabled]="submitAttempt" (click)="deleteWatch(watch, slidingItem)" color="danger" ion-button icon-only>
<ion-icon [hidden]="submitAttempt" name="md-watch"></ion-icon>
<ion-icon [hidden]="submitAttempt" name="md-trash"></ion-icon>
<ion-spinner [hidden]="!submitAttempt"></ion-spinner>
</button>
<button (click)="updateWatch(watch, slidingItem)" color="secondary" ion-button icon-only>
<ion-icon name="ios-build-outline"></ion-icon>
<ion-icon name="md-create"></ion-icon>
</button>

</ion-item-options>
<ion-item-options *ngIf="watch.next !== WatchAction.Measure" side="right">
<button [disabled]="submitAttempt" (click)="deleteMeasure(watch, slidingItem)" color="danger" ion-button icon-only>
<ion-icon [hidden]="submitAttempt" name="ios-stopwatch-outline"></ion-icon>
<ion-icon [hidden]="submitAttempt" name="md-undo"></ion-icon>
<ion-spinner [hidden]="!submitAttempt"></ion-spinner>
</button>
</ion-item-options>
Expand Down

0 comments on commit d1a6412

Please sign in to comment.