diff --git a/frontend/src/routes/flights/[id]/+page.svelte b/frontend/src/routes/flights/[id]/+page.svelte index 96836eb1..8a44552a 100644 --- a/frontend/src/routes/flights/[id]/+page.svelte +++ b/frontend/src/routes/flights/[id]/+page.svelte @@ -34,15 +34,19 @@ {#if landingAt}to {landingAt.name}{/if} -

- Edit this flight - {#if flight.hasIgc} - -   Download - IGC - - {/if} -

+
+
+ Edit this flight +
+
+ {#if flight.hasIgc} + +   Download + IGC + + {/if} +
+
diff --git a/frontend/src/routes/locations/+page.svelte b/frontend/src/routes/locations/+page.svelte index 422f847a..471d9de8 100644 --- a/frontend/src/routes/locations/+page.svelte +++ b/frontend/src/routes/locations/+page.svelte @@ -166,7 +166,7 @@ @@ -174,7 +174,7 @@ diff --git a/frontend/src/routes/locations/[id]/+page.svelte b/frontend/src/routes/locations/[id]/+page.svelte index 5a1e9132..84959559 100644 --- a/frontend/src/routes/locations/[id]/+page.svelte +++ b/frontend/src/routes/locations/[id]/+page.svelte @@ -22,9 +22,43 @@

Location: {location.name}

-

- Edit this location -

+
+ +
+ {#if location.coordinates !== undefined} + {@const lon = location.coordinates.lon} + {@const lat = location.coordinates.lat} + +  View on Google Maps + + +  View on OpenStreetMap + + {#if lat > 45.8 && lat < 48 && lon > 5.9 && lon < 11.4} + +  View on SwissTopo + + {/if} + {/if} +
+