Redesign search/landing page

This commit is contained in:
Eike Kettner
2020-08-08 16:38:52 +02:00
parent 000d1aff2b
commit 75c958281e
3 changed files with 31 additions and 23 deletions

View File

@ -191,22 +191,18 @@ viewItem settings item =
, Util.String.underscoreToSpace item.name
|> text
]
, div
[ classList
[ ( "ui right corner label", True )
, ( newColor, True )
, ( "invisible", isConfirmed )
]
, title "New"
]
[ i [ class "exclamation icon" ] []
]
, div [ class "meta" ]
[ div
[ classList
[ ( "ui ribbon label", True )
, ( newColor, True )
, ( "invisible", isConfirmed )
]
]
[ i [ class "exclamation icon" ] []
, text " New"
]
, span
[ classList
[ ( "right floated", not isConfirmed )
]
]
[ span []
[ Util.Time.formatDate item.date |> text
]
]