This commit is contained in:
DieMyst 2020-12-03 15:45:37 +03:00
parent 117e3688f0
commit 518b0942d9
5 changed files with 6 additions and 6 deletions

View File

@ -33,7 +33,7 @@ view model id =
]
, div [ classes "fl w-100 bg-white mt2 mh2 ph4 pt3 mb4 pb2" ] [ viewInfo bi ]
, h3 [ classes "pt3" ] [ text ("Instances (" ++ String.fromInt instanceNum ++ ")") ]
, div [ classes "mt2 bg-white" ]
, div [ classes "mt2 mb4 bg-white" ]
[ instanceView ]
]

View File

@ -36,7 +36,7 @@ view model =
viewService : BlueprintInfo -> Html msg
viewService blueprint =
div [ classes "fl w-third-ns pr3 lucida" ]
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl w-100 bg-white black mw6 ma2 ph4 hide-child pa2 br3 element-box ba b--white bw1 no-underline" ]
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl w-100 bg-white black mw6 mr3 mb3 ph4 hide-child pa2 br3 element-box ba b--white bw1 no-underline" ]
[ div [ classes "w-100 mb3 pt1 b" ] [ text blueprint.name ]
, div [ classes "w-100 mb4" ] [ text "By ", span [classes "b"] [text blueprint.author] ]
, div [ classes "w-100 mt1" ] [ instancesText blueprint.instanceNumber ]

View File

@ -41,8 +41,8 @@ view model filter =
viewTable : List Instance -> Html msg
viewTable instances =
div [ classes "pa1 mt2" ]
[ div [ classes "mw8 bg-white pa2 br3" ]
div [ classes "pa1 mt2 bg-white br3" ]
[ div [ classes "mw8 pa2 " ]
[ table [ classes "f6 w-100 center", attribute "cellspacing" "0" ]
[ thead []
[ tr [ classes "" ]

View File

@ -34,7 +34,7 @@ view model id =
]
, div [ classes "fl w-100 bg-white mt2 mh2 ph4 pt3" ] [ viewInfo mi ]
, h3 [ classes "pt3" ] [ text ("Instances (" ++ String.fromInt instanceNum ++ ")") ]
, div [ classes "fl w-100 mt2 bg-white" ] [ instanceView ]
, div [ classes "fl w-100 mt2 mb4 bg-white" ] [ instanceView ]
]
Nothing ->

View File

@ -60,7 +60,7 @@ view modules =
viewService : ModuleShortInfo -> Html msg
viewService moduleInfo =
div [ classes "fl w-third-ns pr3" ]
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw6 ma2 ph4 hide-child pa2 br3 element-box ba b--white bw1" ]
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw6 mr2 mb3 ph4 hide-child pa2 br3 element-box ba b--white bw1" ]
[ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1" ] [ text moduleInfo.moduleInfo.name ], div [ classes "fl w-100 mt1 lucida gray" ] [ instancesText moduleInfo.instanceNumber ] ]
]
]