Changeset View
Changeset View
Standalone View
Standalone View
src/app/_shared/arealist/areaList.component.html
- This file was added.
<!-- Area List Component --> | |||||
<div id="areaList"> | |||||
<div fxLayout="column" class="home-container"> | |||||
<div style="margin-top: 3vh;"> | |||||
<h2 class="home-title">{{title}}</h2> | |||||
<div *ngIf="currentView === view().home" fxLayout="row"> | |||||
<div class="home-area-card" (click)="goto(allArea)" fxLayoutAlign="center center"> | |||||
<h4 style="color: #ffffff;">All Areas</h4> | |||||
</div> | |||||
</div> | |||||
<div *ngFor="let area of areas"> | |||||
<div fxLayout="row"> | |||||
<div class="home-area-card" (click)="goto(area)" fxLayoutAlign="center center"> | |||||
<h4 style="color: #ffffff;">{{area.displayname}}</h4> | |||||
</div> | |||||
<div *ngIf="currentView === view().home" (click)="goto(area, true)" class="home-area-card-add" fxLayoutAlign="center center"> | |||||
<i style="color: #ffffff;" class="material-icons">add</i> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> |