This commit is contained in:
Edward Betts 2023-01-08 11:49:57 +00:00
parent cbc681ddbc
commit ebe672b972
7 changed files with 286 additions and 117 deletions

View file

@ -5,6 +5,24 @@
<title>Ferries to France</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!--
<style>
body {
background: black;
color: white;
}
.table { color: white; }
a:link {
color: rgb(127, 127, 255);
}
</style>
-->
</head>
{% from "individual_route.html" import route_table with context %}
@ -12,9 +30,11 @@
<body>
<div class="m-3">
<p>{{ days_until_start }} days until start of Dodainville week: Friday 16 September 2022</p>
<p>{{ days_until_start }} days / {{ (days_until_start / 7) | int }} weeks / {{ "{:.1f}".format(days_until_start / 30.5) }} months until start of Dodainville week: Friday 17 March 2022</p>
{#
<p><a href="{{ url_for(other + "_page") }}">{{ other }}</a></p>
#}
{% if extra_routes %}
<ul>
@ -28,6 +48,10 @@
<h4>{{ dep.title() }} to {{ arr.title() }}</h4>
{{ route_table(dep, arr, days) }}
{% endfor %}
<!--
{{ data | pprint | safe }}
-->
</div>
</body>
</html>