Refine day browser selection UI
This commit is contained in:
parent
3974276c9b
commit
3179f832fc
3 changed files with 30 additions and 2 deletions
|
|
@ -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 %}&persona={{ selected_persona|urlencode }}{% endif %}{% if selected_kind %}&kind={{ selected_kind|urlencode }}{% endif %}{% if title_query %}&q={{ title_query|urlencode }}{% endif %}&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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue