Improve document list view

Replace the html table with something that has more vertical space,
but scales better horizontally. On most screens at least 6-8 entries
should be visible at once.
This commit is contained in:
Eike Kettner
2020-05-17 14:01:40 +02:00
parent 8a56cf0801
commit f45b40342c
5 changed files with 208 additions and 13 deletions

View File

@ -1,6 +1,6 @@
module Page.Home.View exposing (view)
import Comp.ItemList
import Comp.ItemCardList
import Comp.SearchMenu
import Html exposing (..)
import Html.Attributes exposing (..)
@ -45,7 +45,7 @@ view model =
resultPlaceholder
else
Html.map ItemListMsg (Comp.ItemList.view model.itemListModel)
Html.map ItemCardListMsg (Comp.ItemCardList.view model.itemListModel)
Detail ->
div [] []