|
|
@ -105,7 +105,7 @@ mkSourceLink mod = a [ href <| "https://github.com/NixOS/nixpkgs/blob/" ++ pinne |
|
|
|
|
|
|
|
|
|
|
|
renderLine : Int -> { name : String, fields : List String, tests : List String, mod : String } -> Html Msg |
|
|
|
renderLine : Int -> { name : String, fields : List String, tests : List String, mod : String } -> Html Msg |
|
|
|
renderLine i {name, fields, tests, mod} = tr [] |
|
|
|
renderLine i {name, fields, tests, mod} = tr [] |
|
|
|
<| [ th [] [ mkSourceLink mod ], th [] [ text <| fromInt i ], th [] [ text name ] ] |
|
|
|
<| [ th [] [ mkSourceLink mod ], th [] [ text <| fromInt (i + 1) ], th [] [ text name ] ] |
|
|
|
++ (List.map (\b -> td [class (if b then "cell-good" else "cell-bad")] [text (if b then "✓" else "✗")]) |
|
|
|
++ (List.map (\b -> td [class (if b then "cell-good" else "cell-bad")] [text (if b then "✓" else "✗")]) |
|
|
|
<| List.map (\field -> not <| List.member field fields) watchedFields) |
|
|
|
<| List.map (\field -> not <| List.member field fields) watchedFields) |
|
|
|
|
|
|
|
|
|
|
|