Refine day browser selection UI

This commit is contained in:
peter 2026-06-10 16:01:18 +01:00
parent 3974276c9b
commit 3179f832fc
3 changed files with 30 additions and 2 deletions

View file

@ -50,7 +50,7 @@
<nav class="day-list">
{% for day in days %}
<a class="day-link {% if day == selected_day %}selected{% endif %}" href="?day={{ day|date:'Y-m-d' }}{% if selected_persona %}&amp;persona={{ selected_persona|urlencode }}{% endif %}{% if selected_kind %}&amp;kind={{ selected_kind|urlencode }}{% endif %}{% if title_query %}&amp;q={{ title_query|urlencode }}{% endif %}&amp;view={{ selected_view }}">
<span>{{ day|date:"D" }}</span>
<span>{{ day|date:"D" }}{% if day == today %}<em class="today-badge">Today</em>{% endif %}</span>
<strong>{{ day|date:"Y-m-d" }}</strong>
</a>
{% endfor %}
@ -61,7 +61,7 @@
<aside class="artifact-sidebar" aria-label="Artifacts for selected day">
<div class="pane-heading">
<h2>{{ selected_day|date:"Y-m-d" }}</h2>
<h2>{{ selected_day|date:"M j Y" }}</h2>
<span>{{ artifacts|length }} artifact{{ artifacts|length|pluralize }}</span>
</div>