From 9b160dcc0315aaf54a8b4588be9d2a0c98084cf0 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Thu, 11 Apr 2024 07:13:48 +0300 Subject: Enha: make html elements to react; repeatable separation --- components/actions_table.html | 5 ++--- components/add_action_form.html | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'components') diff --git a/components/actions_table.html b/components/actions_table.html index 8b151e5..24a4f9c 100644 --- a/components/actions_table.html +++ b/components/actions_table.html @@ -22,7 +22,7 @@ {{range $action := .Actions}} {{if and (eq $action.Type "ActionTypePlus") (or (not $action.Done) ($action.Repeatable))}} -
+ {{$action.Name}} {{$action.Magnitude}} @@ -45,10 +45,9 @@ {{range $action := .Actions}} {{if eq $action.Type "ActionTypeMinus"}} - + {{$action.Name}} - {{$action.Name}} {{$action.Magnitude}} {{$action.Repeatable}} diff --git a/components/add_action_form.html b/components/add_action_form.html index 95c869f..ac65ca0 100644 --- a/components/add_action_form.html +++ b/components/add_action_form.html @@ -7,8 +7,8 @@


-
-
+ + -- cgit v1.2.3