mirror of
https://github.com/fluencelabs/dashboard
synced 2025-04-26 16:22:15 +00:00
spacing
This commit is contained in:
parent
4d9aeae0d8
commit
e4cd6c40d9
@ -30,12 +30,12 @@ view model =
|
|||||||
servicesView =
|
servicesView =
|
||||||
List.map viewService info
|
List.map viewService info
|
||||||
in
|
in
|
||||||
div [ classes "cf ph1-ns" ] servicesView
|
div [ classes "cf" ] servicesView
|
||||||
|
|
||||||
|
|
||||||
viewService : BlueprintInfo -> Html msg
|
viewService : BlueprintInfo -> Html msg
|
||||||
viewService blueprint =
|
viewService blueprint =
|
||||||
div [ classes "fl w-third-ns pa2" ]
|
div [ classes "fl w-third-ns pr2" ]
|
||||||
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl bg-white w-100 black mw6 mh2 pa3 ph4 br2 ba b--white bw1 element-box" ]
|
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl bg-white w-100 black mw6 mh2 pa3 ph4 br2 ba b--white bw1 element-box" ]
|
||||||
[ div [ classes "w-100 mb2 b" ] [ text blueprint.name ]
|
[ div [ classes "w-100 mb2 b" ] [ text blueprint.name ]
|
||||||
, div [ classes "w-100 mb4" ] [ text ("By " ++ blueprint.author) ]
|
, div [ classes "w-100 mb4" ] [ text ("By " ++ blueprint.author) ]
|
||||||
|
@ -54,12 +54,12 @@ view modules =
|
|||||||
modulesView =
|
modulesView =
|
||||||
List.map viewService info
|
List.map viewService info
|
||||||
in
|
in
|
||||||
div [ classes "cf ph2-ns" ] modulesView
|
div [ classes "cf" ] modulesView
|
||||||
|
|
||||||
|
|
||||||
viewService : ModuleShortInfo -> Html msg
|
viewService : ModuleShortInfo -> Html msg
|
||||||
viewService moduleInfo =
|
viewService moduleInfo =
|
||||||
div [ classes "fl w-third-ns pa2" ]
|
div [ classes "fl w-third-ns pr2" ]
|
||||||
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw6 mh2 ph4 hide-child pa2 br2 element-box ba b--white bw1" ]
|
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw6 mh2 ph4 hide-child pa2 br2 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 pl1" ] [ instancesText moduleInfo.instanceNumber ] ]
|
[ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1" ] [ text moduleInfo.moduleInfo.name ], div [ classes "fl w-100 pl1" ] [ instancesText moduleInfo.instanceNumber ] ]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user