31 lines
1.7 KiB
HTML
31 lines
1.7 KiB
HTML
|
<div class="spacer"></div>
|
||
|
<div *ngIf="item;let item">
|
||
|
<div class="card border-0">
|
||
|
<div class="card-body">
|
||
|
<div class="mb-2"><a href="#" (click)="handleBackToList($event)" i18n>Back</a></div>
|
||
|
<div class="card menu-card">
|
||
|
<h1>{{item.name}}</h1>
|
||
|
</div>
|
||
|
<div class="legend-container" *ngIf="item?.data.layers;let layers">
|
||
|
<div class="card menu-card">
|
||
|
<div *ngIf="layers.length>1">
|
||
|
<select (change)="onLayerChanged($event.target.value)">
|
||
|
<option *ngFor="let l of layers;let layerIndex = index" [value]="layerIndex">{{l.name}}</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
<fm-map-layer-legend [layer]="layers[selectedLayer]" [histogramenabled]="true"></fm-map-layer-legend>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="card menu-card">
|
||
|
<ul class="p-0 mt-2">
|
||
|
<!--<li><a href="/api/v1/items/{{item.code}}/file" class="mt-1 mr-1" i18n><i class="fa fa-download" aria-hidden="true" title="Download"></i> Download</a></li>-->
|
||
|
<li *ngIf="item.isEditable"><a href="#" class="mt-1 mr-1" (click)="handleOnEdit(item)" i18n><i class="fa fa-pencil" aria-hidden="true" title="Edit"></i> Edit</a></li>
|
||
|
<li *ngIf="itemTypeService.isLayer(item)"><a href="#" (click)="handleAddAsLayer(item)" class="mt-1 mr-1" i18n><i class="fa fa-eye" aria-hidden="true" title="Add as layer"></i> Add as overlay</a></li>
|
||
|
<li *ngIf="hasNext()"><a href="#" (click)="handleNextTemporal($event)" class="mt-1 mr-1" i18n>Next</a></li>
|
||
|
<li *ngIf="hasPrevious()"><a href="#" (click)="handlePreviousTemporal($event)" class="mt-1 mr-1" i18n>Previous</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|