Lighten shade of gray on font of date on weekly/monthly view
This commit is contained in:
@@ -233,7 +233,7 @@
|
||||
{% for i in range(7) %}
|
||||
{% set day = today - timedelta(days=today.weekday() - i) %}
|
||||
<div class="border p-1 md:p-4 bg-gray-50">
|
||||
<div class="text-sm font-bold text-gray-800">{{ day.strftime('%a, %b %d') }}</div>
|
||||
<div class="text-sm font-bold text-gray-500">{{ day.strftime('%a, %b %d') }}</div>
|
||||
{% if day in readings_by_date %}
|
||||
{% for reading in readings_by_date[day]|sort(attribute="timestamp", reverse = True) %}
|
||||
<a href="{{ url_for('main.edit_reading', reading_id=reading.id) }}"
|
||||
@@ -290,7 +290,7 @@
|
||||
{% set current_day = current_date.replace(day=day) %}
|
||||
<div class="border p-1 md:p-4 rounded-lg bg-gray-50 relative">
|
||||
<!-- Day Label -->
|
||||
<div class="text-sm font-bold text-gray-800 text-left">{{ current_day.day }}</div>
|
||||
<div class="text-sm font-bold text-gray-500 text-left">{{ current_day.day }}</div>
|
||||
|
||||
<!-- Readings -->
|
||||
{% if current_day in readings_by_date %}
|
||||
|
||||
Reference in New Issue
Block a user