-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
31 changes: 21 additions & 10 deletions
31
...t/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
<div class="full-details-header"> | ||
<img (click)="back()" height="20" width="20" class="full-details-header-left-button" src="/assets/images/svg-icons/arrow-left.svg" | ||
alt="Arrow Left" />{{getTitle()}} | ||
<img (click)="exit()" height="20" width="20" class="full-details-header-right-button" src="/assets/images/svg-icons/cancel.svg" | ||
alt="Cancel" /> | ||
<div class="header-row"> | ||
<img (click)="back()" class="left-button" src="/assets/images/svg-icons/arrow-left.svg" alt="Arrow Left" /> | ||
<span>{{getTitle()}}</span> | ||
<img (click)="exit()" class="right-button" src="/assets/images/svg-icons/cancel.svg" alt="Cancel" /> | ||
</div> | ||
</div> | ||
|
||
<div class="contents"> | ||
<div id="restrictions-map" class="map-container-mobile"></div> | ||
<div class="full-details"> | ||
<!-- This is probably fine for now, but we can change to use an injector like what we do in RoF pages --> | ||
<wfnews-area-restrictions-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'area-restriction'" [id]="params['id']" [name]="params['name']"></wfnews-area-restrictions-full-details> | ||
<wfnews-bans-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'bans-prohibitions'" [id]="params['id']"></wfnews-bans-full-details> | ||
<wfnews-danger-rating-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'danger-rating'" [rating]="params['id']" [location]="params['location']" [sysid]="params['sysid']"></wfnews-danger-rating-full-details> | ||
<wfnews-evac-alert-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'evac-alert'" [id]="params['id']" [name]="params['name']" [eventNumber]="params['eventNumber']"></wfnews-evac-alert-full-details> | ||
<wfnews-evac-order-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'evac-order'" [id]="params['id']" [name]="params['name']" [eventNumber]="params['eventNumber']"></wfnews-evac-order-full-details> | ||
<wfnews-area-restrictions-full-details | ||
*ngIf="params && params['id'] && params['type'] && params['type'] === 'area-restriction'" [id]="params['id']" | ||
[name]="params['name']"></wfnews-area-restrictions-full-details> | ||
<wfnews-bans-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'bans-prohibitions'" | ||
[id]="params['id']"></wfnews-bans-full-details> | ||
<wfnews-danger-rating-full-details | ||
*ngIf="params && params['id'] && params['type'] && params['type'] === 'danger-rating'" [rating]="params['id']" | ||
[location]="params['location']" [sysid]="params['sysid']"></wfnews-danger-rating-full-details> | ||
<wfnews-evac-alert-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'evac-alert'" | ||
[id]="params['id']" [name]="params['name']" | ||
[eventNumber]="params['eventNumber']"></wfnews-evac-alert-full-details> | ||
<wfnews-evac-order-full-details *ngIf="params && params['id'] && params['type'] && params['type'] === 'evac-order'" | ||
[id]="params['id']" [name]="params['name']" | ||
[eventNumber]="params['eventNumber']"></wfnews-evac-order-full-details> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters