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