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) %}
|
{% for i in range(7) %}
|
||||||
{% set day = today - timedelta(days=today.weekday() - i) %}
|
{% set day = today - timedelta(days=today.weekday() - i) %}
|
||||||
<div class="border p-1 md:p-4 bg-gray-50">
|
<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 %}
|
{% if day in readings_by_date %}
|
||||||
{% for reading in readings_by_date[day]|sort(attribute="timestamp", reverse = True) %}
|
{% for reading in readings_by_date[day]|sort(attribute="timestamp", reverse = True) %}
|
||||||
<a href="{{ url_for('main.edit_reading', reading_id=reading.id) }}"
|
<a href="{{ url_for('main.edit_reading', reading_id=reading.id) }}"
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
{% set current_day = current_date.replace(day=day) %}
|
{% set current_day = current_date.replace(day=day) %}
|
||||||
<div class="border p-1 md:p-4 rounded-lg bg-gray-50 relative">
|
<div class="border p-1 md:p-4 rounded-lg bg-gray-50 relative">
|
||||||
<!-- Day Label -->
|
<!-- 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 -->
|
<!-- Readings -->
|
||||||
{% if current_day in readings_by_date %}
|
{% if current_day in readings_by_date %}
|
||||||
|
|||||||
Reference in New Issue
Block a user