|
@@ -7,7 +7,7 @@
|
|
|
<button type="button" class="btn btn-primary btn-lg" (click)="adjusterService.apply()"
|
|
<button type="button" class="btn btn-primary btn-lg" (click)="adjusterService.apply()"
|
|
|
[disabled]="adjusterService.isInProcess() || adjUIService.noDataSelected() || adjUIService.noOperationSelected() ">{{'ADJUSTER.calculate' | translateHs: {app: 'default'} }}</button>
|
|
[disabled]="adjusterService.isInProcess() || adjUIService.noDataSelected() || adjUIService.noOperationSelected() ">{{'ADJUSTER.calculate' | translateHs: {app: 'default'} }}</button>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="exclusive ps-xs-1 ps-3">
|
|
|
|
|
|
|
+ <div class="exclusive ps-1 ps-sm-3">
|
|
|
<button type="button" class="btn btn-sm btn-light hs-lm-item-visibility"
|
|
<button type="button" class="btn btn-sm btn-light hs-lm-item-visibility"
|
|
|
[ngClass]="adjusterService.allowIndex ? 'hs-checkmark' : 'hs-uncheckmark'"
|
|
[ngClass]="adjusterService.allowIndex ? 'hs-checkmark' : 'hs-uncheckmark'"
|
|
|
(click)="selectIndex()"></button>
|
|
(click)="selectIndex()"></button>
|
|
@@ -16,7 +16,7 @@
|
|
|
</label>
|
|
</label>
|
|
|
<p class="text-secondary text-justify fst-italic">{{'ADJUSTER.indexDescription' | translateHs: {app: 'default'} }}</p>
|
|
<p class="text-secondary text-justify fst-italic">{{'ADJUSTER.indexDescription' | translateHs: {app: 'default'} }}</p>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="exclusive ps-xs-1 ps-3">
|
|
|
|
|
|
|
+ <div class="exclusive ps-1 ps-sm-3">
|
|
|
<button type="button" class="btn btn-sm btn-light hs-lm-item-visibility"
|
|
<button type="button" class="btn btn-sm btn-light hs-lm-item-visibility"
|
|
|
[ngClass]="adjusterService.allowClusters ? 'hs-checkmark' : 'hs-uncheckmark'"
|
|
[ngClass]="adjusterService.allowClusters ? 'hs-checkmark' : 'hs-uncheckmark'"
|
|
|
(click)="selectClusters()"></button>
|
|
(click)="selectClusters()"></button>
|
|
@@ -43,7 +43,6 @@
|
|
|
<option *ngFor="let problem of adjusterPresetsService.getActiveRoleProblems()" [ngValue]="problem">{{adjUIService.getLabelInCurrentLang(problem.labels)}}</option>
|
|
<option *ngFor="let problem of adjusterPresetsService.getActiveRoleProblems()" [ngValue]="problem">{{adjUIService.getLabelInCurrentLang(problem.labels)}}</option>
|
|
|
</select>
|
|
</select>
|
|
|
</div>
|
|
</div>
|
|
|
- <hr>
|
|
|
|
|
<div class="pt-3 center-block">
|
|
<div class="pt-3 center-block">
|
|
|
<button type="button" class="btn btn-primary btn-sm" [disabled]="adjusterService.isInProcess()"
|
|
<button type="button" class="btn btn-primary btn-sm" [disabled]="adjusterService.isInProcess()"
|
|
|
(click)="hsLayoutService.setMainPanel('adjuster-advanced', 'default');$event.preventDefault();">
|
|
(click)="hsLayoutService.setMainPanel('adjuster-advanced', 'default');$event.preventDefault();">
|
|
@@ -52,6 +51,30 @@
|
|
|
</button>
|
|
</button>
|
|
|
</div>
|
|
</div>
|
|
|
<hr>
|
|
<hr>
|
|
|
|
|
+ <div *ngIf="adjusterService.allowIndex; else clusterLegend" class="pb-2">
|
|
|
|
|
+ <p class="lead">{{ 'ADJUSTER.indexLegend' | translateHs: {app: 'default'} }}</p>
|
|
|
|
|
+ <div class="d-flex pb-1">
|
|
|
|
|
+ <div *ngFor="let category of adjusterLegendService.staticIndexLegend" class="flex-grow-1">
|
|
|
|
|
+ <div [ngStyle]="{'background-color': category}"> </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="d-flex">
|
|
|
|
|
+ <div class="flex-grow-1 text-start">{{ 'ADJUSTER.index0' | translateHs: {app: 'default'} }}</div>
|
|
|
|
|
+ <div class="flex-grow-1"> </div>
|
|
|
|
|
+ <div class="flex-grow-1 text-end">{{ 'ADJUSTER.index100' | translateHs: {app: 'default'} }}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <ng-template #clusterLegend>
|
|
|
|
|
+ <p class="lead">{{ 'ADJUSTER.clusterLegend' | translateHs: {app: 'default'} }}</p>
|
|
|
|
|
+ <div class="container pb-2">
|
|
|
|
|
+ <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4">
|
|
|
|
|
+ <div *ngFor="let color of adjusterLegendService.colorPalette; let i = index" class="col">
|
|
|
|
|
+ <div style="background-color: {{color}}" class="cluster-id text-center p-1 py-sm-3 my-1 my-sm-2">#{{i+1}}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </ng-template>
|
|
|
|
|
+ <hr>
|
|
|
<div class="pt-3 center-block" [hidden]="adjusterService.isInProcess()">
|
|
<div class="pt-3 center-block" [hidden]="adjusterService.isInProcess()">
|
|
|
{{'ADJUSTER.layerManagerLink1' | translateHs: {app: 'default'} }}<br>
|
|
{{'ADJUSTER.layerManagerLink1' | translateHs: {app: 'default'} }}<br>
|
|
|
{{'ADJUSTER.layerManagerLink2' | translateHs: {app: 'default'} }} <a href="" (click)="hsLayoutService.setMainPanel('layermanager', 'default');$event.preventDefault();">{{'ADJUSTER.layerManagerLinkLMName' | translateHs: {app: 'default'} }}</a>
|
|
{{'ADJUSTER.layerManagerLink2' | translateHs: {app: 'default'} }} <a href="" (click)="hsLayoutService.setMainPanel('layermanager', 'default');$event.preventDefault();">{{'ADJUSTER.layerManagerLinkLMName' | translateHs: {app: 'default'} }}</a>
|