From 8e9f28a6ac2bd19e51d3d28f4ad0c8cd7e4379bc Mon Sep 17 00:00:00 2001 From: Vasilisk9812 Date: Sun, 14 Dec 2025 19:05:57 +0900 Subject: [PATCH] added bootstrap styles to TimeLine.svelte --- src/lib/components/TimeLine.svelte | 327 +++++++++++------------------ 1 file changed, 122 insertions(+), 205 deletions(-) diff --git a/src/lib/components/TimeLine.svelte b/src/lib/components/TimeLine.svelte index 7526a4a..df9642e 100644 --- a/src/lib/components/TimeLine.svelte +++ b/src/lib/components/TimeLine.svelte @@ -1,6 +1,7 @@ -
-
-
- Time: - {timeElapsed} -
- {#if currentPosition} -
- Altitude: - {Math.round(currentPosition.alt)} m -
-
- Position: - {currentPosition.lat.toFixed(4)}, {currentPosition.lng.toFixed(4)} -
- {/if} +
+
e.key === 'Enter' && handleToggleCollapse()} + > + Flight Timeline +
-
-
- + {#if !isCollapsed} +
+
+
+ Time: + {timeElapsed} +
+ {#if currentPosition} +
+ Altitude: + {Math.round(currentPosition.alt)} m +
+
+ Position: + {currentPosition.lat.toFixed(4)}, {currentPosition.lng.toFixed(4)} +
+ {/if} +
- {#if !isPlaying} - - {:else} - - {/if} +
+
+ - + {#if !isPlaying} + + {:else} + + {/if} + + +
+ +
+ +
+
- -
- -
-
-
+ {/if}