2020-03-02 13:48:10 +01:00
< div class = "spacer" > < / div >
2020-03-03 10:21:24 +01:00
< div * ngIf = "selectedItem();let item" >
2020-03-02 13:48:10 +01:00
< 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" >
2020-07-15 23:15:31 +02:00
< h2 * ngIf = "parentItem" > {{parentItem.name}}< / h2 >
2020-03-02 13:48:10 +01:00
< h1 > {{item.name}}< / h1 >
< / div >
< div class = "legend-container" * ngIf = "item?.data.layers;let layers" >
< div class = "card menu-card" >
2020-03-03 21:02:33 +01:00
< h5 > Date image: {{item.dataDate | date:'shortDate'}}< / h5 >
< div class = "d-flex justify-content-between" >
< div * ngIf = "hasPrevious()" >
2020-04-06 14:51:43 +02:00
< button type = "button" class = "btn btn-link p-0" ( click ) = " handlePreviousTemporal ( $ event ) " >
2021-01-24 09:09:43 +01:00
< i class = "fal fa-arrow-circle-left" aria-hidden = "true" i18n-title title = "Previous" > < / i > {{ previousDate() | date:'shortDate'}}
2020-03-03 21:02:33 +01:00
< / button >
< / div >
< div * ngIf = "hasNext()" >
2020-04-06 14:51:43 +02:00
< button type = "button" class = "btn btn-link p-0" ( click ) = " handleNextTemporal ( $ event ) " >
2021-01-24 09:09:43 +01:00
{{ nextDate()| date:'shortDate' }} < i class = "fal fa-arrow-circle-right" aria-hidden = "true" i18n-title title = "Next" > < / i >
2020-03-03 21:02:33 +01:00
< / button >
< / div >
< / div >
< / div >
< div class = "card menu-card pt-2" >
2020-03-02 13:48:10 +01:00
< div * ngIf = "layers.length>1" >
2020-05-27 09:14:43 +02:00
< select ( change ) = " onLayerChanged ( $ event . target . value ) " >
< option * ngFor = "let l of layers;" [ value ] = " l . index " [ selected ] = " itemLayer . layerIndex = = l . index " > {{l.name}}< / option >
2020-03-02 13:48:10 +01:00
< / select >
< / div >
2020-07-15 13:41:25 +02:00
< fm-map-layer-legend [ showTitle ] = " layers . length = = 1 "
[layer]="layer(layers,itemLayer.layerIndex)" [histogramenabled]="true">< / fm-map-layer-legend >
2020-03-02 13:48:10 +01:00
< / div >
< / div >
< div class = "card menu-card" >
< ul class = "p-0 mt-2" >
2021-01-24 09:09:43 +01:00
< li * ngIf = "item.isEditable" > < a href = "#" class = "mt-1 mr-1" ( click ) = " handleOnEdit ( item ) " > < i class = "fal fa-pencil" aria-hidden = "true" i18n-title title = "Edit" > < / i > < span i18n > Edit< / span > < / a > < / li >
2020-09-29 15:27:21 +02:00
< ng-container * ngIf = "itemTypeService.isLayer(item)" >
2021-01-22 14:52:10 +01:00
< li * ngIf = "!getItemLayer(item,itemLayer.layerIndex)" > < a href = "#" ( click ) = " handleAddAsLayer ( item , itemLayer . layerIndex ) " > < i class = "fas fa-layer-plus" aria-hidden = "true" i18n-title title = "Add as layer" > < / i > < span i18n > Add as overlay< / span > < / a > < / li >
< li * ngIf = "getItemLayer(item,itemLayer.layerIndex)" > < a href = "#" ( click ) = " handleRemoveLayer ( item , itemLayer . layerIndex ) " > < i class = "fas fa-layer-minus" aria-hidden = "true" i18n-title title = "Remove overlay" > < / i > < span i18n > Remove overlay< / span > < / a > < / li >
2020-09-29 15:27:21 +02:00
< / ng-container >
2021-01-24 09:09:43 +01:00
< li > < a href = "#" ( click ) = " handleGoToChart ( item ) " > < i class = "fal fa-line-chart" aria-hidden = "true" i18m-title title = "Show chart" > < / i > < span i18n > Show chart< / span > < / a > < / li >
2020-03-02 13:48:10 +01:00
< / ul >
< / div >
< / div >
< / div >
< / div >