Various improvements

This commit is contained in:
Edward Betts 2026-03-30 20:55:15 +01:00
parent a8e0bd39e5
commit 2090268754
3 changed files with 13 additions and 12 deletions

View file

@ -2,7 +2,7 @@
{% block content %}
<p style="margin-bottom:1rem">
<a href="/">&larr; New search</a>
<a href="{{ url_for('index') }}">&larr; New search</a>
</p>
<div class="card" style="margin-bottom:1.5rem">
@ -10,11 +10,11 @@
Bristol Temple Meads &rarr; {{ destination }}
</h2>
<div style="display:flex;align-items:center;gap:0.75rem;margin-bottom:0.5rem">
<a href="/results/{{ slug }}/{{ prev_date }}"
<a href="{{ url_for('results', slug=slug, travel_date=prev_date) }}"
style="padding:0.3rem 0.75rem;border:1px solid #cbd5e0;border-radius:4px;
text-decoration:none;color:#00539f;font-size:0.9rem">&larr; Prev</a>
<strong>{{ travel_date_display }}</strong>
<a href="/results/{{ slug }}/{{ next_date }}"
<a href="{{ url_for('results', slug=slug, travel_date=next_date) }}"
style="padding:0.3rem 0.75rem;border:1px solid #cbd5e0;border-radius:4px;
text-decoration:none;color:#00539f;font-size:0.9rem">Next &rarr;</a>
</div>