afficher évènement sélectionné dans le panel de gauche
This commit is contained in:
parent
800d0682c4
commit
7accbe0b13
4 changed files with 217 additions and 50 deletions
|
|
@ -79,25 +79,61 @@
|
|||
<app-edit-form [selected]="selected" (saved)="onSaved($event)" (created)="onCreated($event)" (deleted)="onDeleted($event)" (canceled)="onCanceled()"></app-edit-form>
|
||||
}
|
||||
|
||||
@if(selected !== null){
|
||||
<div class="selected">
|
||||
|
||||
<h3> sélectionné:</h3>
|
||||
|
||||
{{selected.properties.label}}
|
||||
{{selected.properties.name}}
|
||||
</div>
|
||||
}
|
||||
<div id="fixed_actions">
|
||||
<button class="button btn btn-primary" (click)="createEvent()" title="Créer un évènement">+</button>
|
||||
<button class="button btn btn-primary" (click)="createEvent()" title="Créer un évènement">+ nouvel évènement</button>
|
||||
<button class="button" (click)="toggleView()" title="Basculer carte / tableau">📊</button>
|
||||
<div class="downloaders">
|
||||
<button class="button" (click)="downloadGeoJSON()" title="Télécharger GeoJSON">📥 GeoJSON</button>
|
||||
<button class="button" (click)="downloadCSV()" title="Télécharger CSV">📥 CSV</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@if(selected !== null){
|
||||
<div class="selected">
|
||||
|
||||
<h3> sélectionné: {{selected.properties.name}}</h3>
|
||||
|
||||
{{selected.properties.label}}
|
||||
<br>
|
||||
{{selected.properties.label}}
|
||||
<br>
|
||||
{{selected.properties.what}}
|
||||
<br>
|
||||
{{selected.properties.where}}
|
||||
<br>
|
||||
{{selected.properties.lat}}
|
||||
<br>
|
||||
{{selected.properties.lon}}
|
||||
|
||||
<br>
|
||||
{{selected.properties.wikidata}}
|
||||
<br>
|
||||
{{selected.properties.featureType}}
|
||||
<br>
|
||||
{{selected.properties.type}}
|
||||
<br>
|
||||
start:
|
||||
{{selected.properties.start}}
|
||||
<br>
|
||||
end:
|
||||
{{selected.properties.stop}}
|
||||
<br>
|
||||
source
|
||||
{{selected.properties.source}}
|
||||
<br>
|
||||
description:
|
||||
{{selected.properties.description}}
|
||||
<br>
|
||||
createdate:
|
||||
{{selected.properties.createdate}}
|
||||
<br>
|
||||
lastupdate:
|
||||
{{selected.properties.lastupdate}}
|
||||
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="main">
|
||||
@if (!showTable) {
|
||||
<div class="map">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue