From c3a9d8cbfae784a9c102805bcd3ad2044011311f Mon Sep 17 00:00:00 2001
From: Edward Betts
Date: Thu, 28 Dec 2023 20:10:05 +0000
Subject: [PATCH] Add gaps page to navigation
---
templates/conference_list.html | 2 ++
templates/gaps.html | 32 ++++++++++++++++++++++----------
templates/index.html | 2 ++
templates/travel.html | 2 ++
4 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/templates/conference_list.html b/templates/conference_list.html
index 1c44e02..285f280 100644
--- a/templates/conference_list.html
+++ b/templates/conference_list.html
@@ -47,6 +47,8 @@
travel
|
conference
+ |
+ gaps
diff --git a/templates/gaps.html b/templates/gaps.html
index a5f9504..d776901 100644
--- a/templates/gaps.html
+++ b/templates/gaps.html
@@ -3,16 +3,28 @@
{% block content %}
-
Gaps
-
-{% for start, end in gaps %}
-
- {{ start.strftime("%A, %-d %b %Y") }} |
- {{ end.strftime("%A, %-d %b %Y") }} |
- {{ (end - start).days }} days |
-
-{% endfor %}
-
+
Gaps
+
+ ← back to agenda
+ |
+ travel
+ |
+ conference
+ |
+ gaps
+
+
+
+
+
+ {% for start, end in gaps %}
+
+ {{ start.strftime("%A, %-d %b %Y") }} |
+ {{ end.strftime("%A, %-d %b %Y") }} |
+ {{ (end - start).days }} days |
+
+ {% endfor %}
+
{% endblock %}
diff --git a/templates/index.html b/templates/index.html
index 860c5a7..b412ca7 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -113,6 +113,8 @@
travel
|
conference
+ |
+
gaps
diff --git a/templates/travel.html b/templates/travel.html
index e2cbeab..b9c16ec 100644
--- a/templates/travel.html
+++ b/templates/travel.html
@@ -42,6 +42,8 @@
travel
|
conference
+ |
+ gaps
flights