diff --git a/go/internal/web/static/css/app.css b/go/internal/web/static/css/app.css index 998030f..4f28cea 100644 --- a/go/internal/web/static/css/app.css +++ b/go/internal/web/static/css/app.css @@ -177,6 +177,7 @@ tr:hover { transform: translateY(-50%); background: #ff3333; color: white; + text-decoration: none; border: none; border-radius: 3px; padding: 2px 6px; diff --git a/go/internal/web/templates/adults.tmpl b/go/internal/web/templates/adults.tmpl index a3dc249..1e29e08 100644 --- a/go/internal/web/templates/adults.tmpl +++ b/go/internal/web/templates/adults.tmpl @@ -59,7 +59,7 @@ {{$row.Name}} {{range $i, $cell := $row.Months}} + class="{{if eq $cell.Status "empty"}}cell-empty{{else if and (or (eq $cell.Status "unpaid") (eq $cell.Status "partial")) (ge $cell.RawMonth $.Data.CurrentMonth)}}cell-unpaid-current{{else if or (eq $cell.Status "unpaid") (eq $cell.Status "partial")}}cell-unpaid{{else if eq $cell.Status "ok"}}cell-ok{{end}}{{if $cell.Overridden}} cell-overridden{{end}}"> {{$cell.Text}} {{if and (or (eq $cell.Status "unpaid") (eq $cell.Status "partial")) (lt $cell.RawMonth $.Data.CurrentMonth)}} Pay @@ -77,7 +77,7 @@ TOTAL {{range $i, $t := .Data.Totals}} - + received / expected {{$t.Text}}