diff --git a/css/common/base.css b/css/common/base.css index a7541c7547..d363d5f1b9 100644 --- a/css/common/base.css +++ b/css/common/base.css @@ -164,6 +164,16 @@ dialog { position: fixed; transform: translate(-50%, -50%); width: 30rem; + + [role=group] { + display: flex; + flex-direction: column; + + > label { + display: flex; + gap: .25rem; + } + } } dialog:not([open]) { display: none } @@ -460,6 +470,11 @@ nav + main .sticky th { top: calc(5.75rem + 1px) } .tabs { display: flex; flex-wrap: wrap; + + > button { + border-width: 2px 0 0 2px; + padding: .375rem; + } } /* Tabs outside should be bold, sticky, & underlined. */ diff --git a/views/golfer.html b/views/golfer.html index e9b3bde5cb..923daf824b 100644 --- a/views/golfer.html +++ b/views/golfer.html @@ -85,7 +85,14 @@ {{ $slug := print "/golfers/" .Name }} - Profile + {{ if and $.Golfer (eq $.Path $slug) }} + + {{ svg "gear-fill" }} + + {{ end }} + + Profile + {{ $slug = print "/golfers/" .Name "/cheevos" }} Achievements diff --git a/views/golfer/profile.html b/views/golfer/profile.html index 5dcdee90ec..a1655245aa 100644 --- a/views/golfer/profile.html +++ b/views/golfer/profile.html @@ -147,4 +147,31 @@ +{{ with .Golfer }} + + + Configure + + + + Always show followed golfers on feeds. + + + + Only show followed golfers on my feed. + + + + Never show followed golfers on feeds. + + + + + Save + Cancel + + + +{{ end }} + {{ template "footer" }}