From 02b32dd5ef0d42dee78f1824ab16d5e89da99ea4 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 6 Oct 2023 23:00:22 +0100 Subject: [PATCH] Use Bootstrap CSS columns for space launches Closes: #17 --- templates/index.html | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/templates/index.html b/templates/index.html index 64c650c..b3a8b20 100644 --- a/templates/index.html +++ b/templates/index.html @@ -117,17 +117,19 @@ {% endfor %}

Space launches

- {% for launch in rockets %} - - - - - + + {% endfor %} -
{{ launch.t0_date }} +
+
{{ launch.t0_date }} - {% if launch.t0_time %}
{{ launch.t0_time }}{% endif %}
{{ launch.status.abbrev }}{{ launch.rocket }} - — - {{launch.mission.name }} - — + {% if launch.t0_time %}
{{ launch.t0_time }}{% endif %} +
+ launch status: + {{ launch.status.abbrev }} +
+
{{ launch.rocket }} + – + {{launch.mission.name }} + – {% if launch.launch_provider_abbrev %} {{ launch.launch_provider_abbrev }} @@ -145,10 +147,9 @@

{{ line }}

{% endfor %} -
{{ events | pprint }}