|
@@ -1,14 +1,16 @@
|
|
|
<div class="card">
|
|
<div class="card">
|
|
|
<h2>Comparison of different scenarios</h2>
|
|
<h2>Comparison of different scenarios</h2>
|
|
|
<div *ngIf="sdmDihService.yearsLoaded; else loading" class="card-body">
|
|
<div *ngIf="sdmDihService.yearsLoaded; else loading" class="card-body">
|
|
|
|
|
+ region
|
|
|
<select [(ngModel)]="selectedRegion" (ngModelChange)="yearGraphService.redrawGraphs({region: selectedRegion})">
|
|
<select [(ngModel)]="selectedRegion" (ngModelChange)="yearGraphService.redrawGraphs({region: selectedRegion})">
|
|
|
<ng-container *ngFor="let region of sdmDihService.regions">
|
|
<ng-container *ngFor="let region of sdmDihService.regions">
|
|
|
<option [ngValue]="region">{{region}}</option>
|
|
<option [ngValue]="region">{{region}}</option>
|
|
|
</ng-container>
|
|
</ng-container>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+  & domain
|
|
|
<select [(ngModel)]="selectedDomain" (ngModelChange)="yearGraphService.redrawGraphs({domain: selectedDomain})">
|
|
<select [(ngModel)]="selectedDomain" (ngModelChange)="yearGraphService.redrawGraphs({domain: selectedDomain})">
|
|
|
<ng-container *ngFor="let domain of sdmDihService.domains | filter:baselineFilter">
|
|
<ng-container *ngFor="let domain of sdmDihService.domains | filter:baselineFilter">
|
|
|
- <option [ngValue]="domain">{{domain}}</option>
|
|
|
|
|
|
|
+ <option [ngValue]="domain">{{domain | niceName}}</option>
|
|
|
</ng-container>
|
|
</ng-container>
|
|
|
</select>
|
|
</select>
|
|
|
<div class="year-range">
|
|
<div class="year-range">
|
|
@@ -34,7 +36,8 @@
|
|
|
|
|
|
|
|
<div class="d-flex">
|
|
<div class="d-flex">
|
|
|
<div class="discs-caption">
|
|
<div class="discs-caption">
|
|
|
- <h4>"Business as usual" scenario</h4>
|
|
|
|
|
|
|
+ <h4>business as usual</h4>
|
|
|
|
|
+ <p>scenario</p>
|
|
|
<p>
|
|
<p>
|
|
|
of region {{selectedRegion}} in {{yearGraphService.selectedYear}}
|
|
of region {{selectedRegion}} in {{yearGraphService.selectedYear}}
|
|
|
</p>
|
|
</p>
|
|
@@ -49,7 +52,8 @@
|
|
|
<div *ngFor="let scenario of filteredScenarios; last as isLast">
|
|
<div *ngFor="let scenario of filteredScenarios; last as isLast">
|
|
|
<div class="d-flex">
|
|
<div class="d-flex">
|
|
|
<div class="discs-caption">
|
|
<div class="discs-caption">
|
|
|
- <h4>{{scenario}} scenario</h4>
|
|
|
|
|
|
|
+ <h4>{{scenario | niceName}}</h4>
|
|
|
|
|
+ <p>scenario</p>
|
|
|
<p>
|
|
<p>
|
|
|
of region {{selectedRegion}} in {{yearGraphService.selectedYear}}
|
|
of region {{selectedRegion}} in {{yearGraphService.selectedYear}}
|
|
|
</p>
|
|
</p>
|