Add help link for status score
continuous-integration/drone/push Build is failing Details

This commit is contained in:
3wc 2024-04-01 20:07:38 -03:00
parent 209cdc2770
commit e566a6eef4
2 changed files with 12 additions and 2 deletions

View File

@ -51,6 +51,13 @@ input[type=checkbox] {
margin-right: 0.5rem;
}
a.help {
display: inline-block;
margin-left: 0.5rem;
font-size: 14px;
color: var(--dark-pink);
}
.category-tile {
cursor: pointer;
}

View File

@ -2,7 +2,7 @@ module Pages.Top exposing (Model, Msg, Params, page)
import Enum exposing (Enum)
import Html exposing (Html, a, button, div, form, h2, h3, h5, i, img, input, label, li, option, p, select, span, text, ul)
import Html.Attributes exposing (alt, class, classList, for, href, id, src, style, type_, value)
import Html.Attributes exposing (alt, class, classList, for, href, id, src, style, target, type_, value)
import Html.Attributes.Aria exposing (ariaLabel)
import Html.Events exposing (onClick, onInput)
import Http
@ -394,7 +394,10 @@ viewApps model =
]
, div []
[ h3 [] [ text "Status" ]
, label [ class "d-block", for "level" ] [ text "Minimum score:" ]
, div []
[ label [] [ text "Minimum score: " ]
, a [ class "help", target "_blank", href "https://docs.coopcloud.tech/abra/recipes/#status-features-score" ] [ text "(help)" ]
]
, select [ class "search-dropdown", id "level", onInput FilterScore ]
[ option [] [ text "any" ]
, option [ value "5" ] [ text "5 (amazing)" ]