From d148c0d8bd261aa94dd8411f0936185f13b49093 Mon Sep 17 00:00:00 2001 From: Hojagulyyev Date: Tue, 26 Dec 2023 21:31:04 +0500 Subject: [PATCH] feat(diray): add red color if diary has not comments --- templates/clans/overview.html | 12 ++++++------ templates/includes/diary-widget.html | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/templates/clans/overview.html b/templates/clans/overview.html index 39d84f7..2bf6907 100644 --- a/templates/clans/overview.html +++ b/templates/clans/overview.html @@ -544,7 +544,7 @@

Overview

data: datasetData{{ forloop.counter }}, fill: false, lineTension: .35, - borderWidth: 1.5, + borderWidth: 1, borderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}", borderCapStyle: 'butt', borderDash: [], @@ -552,13 +552,13 @@

Overview

borderJoinStyle: 'bevel', pointBorderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}", pointBackgroundColor: "#1d2333", - pointBorderWidth: 2, - pointHoverRadius: 5, + pointBorderWidth: 1, + pointHoverRadius: 1, pointHoverBackgroundColor: "#1d2333", pointHoverBorderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}", - pointHoverBorderWidth: 4, - pointRadius: 2, - pointHitRadius: 40 + pointHoverBorderWidth: 1, + pointRadius: 1, + pointHitRadius: 1 }, {% endfor %} ] diff --git a/templates/includes/diary-widget.html b/templates/includes/diary-widget.html index f57f3ee..d0e0098 100644 --- a/templates/includes/diary-widget.html +++ b/templates/includes/diary-widget.html @@ -31,7 +31,8 @@ -
+