mirror of
https://github.com/fluencelabs/dashboard
synced 2025-03-16 13:30:48 +00:00
spacing
This commit is contained in:
parent
6a7b6f17c5
commit
4d9aeae0d8
@ -36,7 +36,7 @@ view model =
|
||||
viewService : BlueprintInfo -> Html msg
|
||||
viewService blueprint =
|
||||
div [ classes "fl w-third-ns pa2" ]
|
||||
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl bg-white w-100 black mw5 pa3 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 mb4" ] [ text ("By " ++ blueprint.author) ]
|
||||
, div [ classes "w-100" ] [ instancesText blueprint.instanceNumber ]
|
||||
|
@ -14,7 +14,7 @@ view model =
|
||||
div []
|
||||
[ h1 [ redFont, classes "pt4" ] [ text "Developer Hub" ]
|
||||
, welcomeText
|
||||
, h3 [] [ text "Featured Blueprints" ]
|
||||
, h3 [ classes "mt4 pt4" ] [ text "Featured Blueprints" ]
|
||||
, Blueprints.View.view model
|
||||
, h3 [] [ text "Featured Modules" ]
|
||||
, Modules.View.view model
|
||||
|
@ -60,7 +60,7 @@ view modules =
|
||||
viewService : ModuleShortInfo -> Html msg
|
||||
viewService moduleInfo =
|
||||
div [ classes "fl w-third-ns pa2" ]
|
||||
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw5 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 ] ]
|
||||
]
|
||||
]
|
||||
|
@ -50,7 +50,7 @@ body model =
|
||||
]
|
||||
]
|
||||
]
|
||||
, [ div [ classes "w-100 pa4 pt2 mt2" ] [ routeView model model.page ] ]
|
||||
, [ div [ classes "w-100 pa4 pt4 mt4" ] [ routeView model model.page ] ]
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user