pub / git_activity

Generates Github-style activity graphs as HTML
git clone https://https://src.jayvii.de/pub/git_activity.git
Home | Log | Files | Exports | Refs | README | RSS

commit 2a66794baf00665731abdfe68a863cef214329ae
parent c0b8fa3fc6a4d29555913bcd8e78a6d14c9cc8b0
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu,  6 Jun 2024 22:13:57 +0200

fix: ensure code is easily readable

Diffstat:
Mactivity.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/activity.sh b/activity.sh @@ -94,8 +94,13 @@ done # add legend HTML+="<br><p id=\"activitylegend\">Less " for LV in $(seq 0 20 100); do + + # Calculate label value LND_VAL=$(($LV * $MAX_VAL / 100)) + + # Generate HTML HTML+=$(html_output 'Legend' $LND_VAL $LV) + done HTML+=" More</p>"