From b639ac0c770a25c2ddaadda8e1136a0f17b45898 Mon Sep 17 00:00:00 2001 From: lelo Date: Tue, 3 Jun 2025 19:02:38 +0000 Subject: [PATCH] add remaining 14 days selection --- templates/dashboard.html | 8 ++++++++ templates/songs_dashboard.html | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/templates/dashboard.html b/templates/dashboard.html index afe2494..90fbe78 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -20,6 +20,8 @@ Last 24 Hours {% elif session['timeframe'] == '7days' %} Last 7 Days + {% elif session['timeframe'] == '14days' %} + Last 14 Days {% elif session['timeframe'] == '30days' %} Last 30 Days {% elif session['timeframe'] == '365days' %} @@ -41,6 +43,12 @@ Last 7 Days +
  • + + Last 14 Days + +
  • diff --git a/templates/songs_dashboard.html b/templates/songs_dashboard.html index f018e25..3be3b24 100644 --- a/templates/songs_dashboard.html +++ b/templates/songs_dashboard.html @@ -46,6 +46,8 @@ type="button" id="timeframeDropdown" data-bs-toggle="dropdown" aria-expanded="false"> {% if session['songs_dashboard_timeframe'] == '7' %} Last 7 Days + {% elif session['songs_dashboard_timeframe'] == '14' %} + Last 14 Days {% elif session['songs_dashboard_timeframe'] == '30' %} Last 30 Days {% elif session['songs_dashboard_timeframe'] == '90' %} @@ -65,6 +67,12 @@ Last 7 Days
  • +
  • + + Last 14 Days + +