mirror of
https://github.com/fluencelabs/dashboard
synced 2024-12-04 23:30:20 +00:00
front fixes
This commit is contained in:
parent
31d8cf7db2
commit
f41fa23303
@ -28,7 +28,7 @@ view model id =
|
||||
in
|
||||
div [ classes "fl w-100" ]
|
||||
[ div [ classes "fl w-100 pb4 pt4" ]
|
||||
[ div [ redFont, classes "f1 fw4 pt5" ] [ text ("Blueprint: " ++ bi.name) ]
|
||||
[ div [ redFont, classes "f1 fw4 pt3 pb2" ] [ text ("Blueprint: " ++ bi.name) ]
|
||||
, span [ classes "fl w-100", darkRed ] [ text bi.id ]
|
||||
]
|
||||
, div [ classes "fl w-100 bg-white mt2 ph4 pt3 mb5 pb3 br3" ] [ viewInfo bi ]
|
||||
|
@ -37,7 +37,7 @@ viewService : BlueprintInfo -> Html msg
|
||||
viewService blueprint =
|
||||
div [ classes "fl w-100 w-third-ns pr3 lucida" ]
|
||||
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id)
|
||||
, classes "fl w-100 bg-white black mw6 mr3 mb3 hide-child pv3 pl4 br3 element-box ba b--white bw2 no-underline"
|
||||
, classes "fl w-100 bg-white black mw6 mr3 mb3 hide-child pv3 pl4 br3 element-box ba b--white no-underline"
|
||||
]
|
||||
[ div [ classes "w-100 mb3 pt1 b f3 overflow-hidden" ] [ text blueprint.name ]
|
||||
, div [ classes "w-100 mb4 fw4 gray-font" ] [ text "By ", span [classes "lucida-in normal"] [text blueprint.author] ]
|
||||
|
@ -12,7 +12,7 @@ import Palette exposing (classes, redFont)
|
||||
view : Model -> Html msg
|
||||
view model =
|
||||
div [ classes "pt4" ]
|
||||
[ div [ redFont, classes "f1 fw4 pt5 pb3" ] [ text "Developer Hub" ]
|
||||
[ div [ redFont, classes "f1 fw4 pt3 pb3" ] [ text "Developer Hub" ]
|
||||
, welcomeText
|
||||
, div [ classes "pt4 f3 fw5 pb4" ] [ text "Featured Blueprints" ]
|
||||
, Blueprints.View.view model
|
||||
|
@ -49,7 +49,7 @@ view model filter =
|
||||
|
||||
viewTable : List Instance -> Html msg
|
||||
viewTable instances =
|
||||
div [ classes "pa1 mt2 bg-white br3 overflow-auto" ]
|
||||
div [ classes "pa1 bg-white br3 overflow-auto" ]
|
||||
[ div [ classes "mw8-ns pa2 " ]
|
||||
[ table [ classes "f6 w-100 center ws-normal-ns", attribute "cellspacing" "0" ]
|
||||
[ thead []
|
||||
|
@ -37,7 +37,7 @@ signaturesView signatures =
|
||||
|
||||
signatureView : Signature -> Html msg
|
||||
signatureView signature =
|
||||
div [ classes "i fl w-100 mv2" ]
|
||||
div [ classes "i f6 fl w-100 mv2" ]
|
||||
[ text "fn "
|
||||
, span [classes "fw5"] [text signature.name]
|
||||
, text (interpolate "({0}) -> {1}" [ argumentsToString signature.arguments, outputToString signature.output_types ]) ]
|
||||
|
@ -33,7 +33,7 @@ view model id =
|
||||
in
|
||||
div [ classes "fl w-100 cf ph2-ns" ]
|
||||
[ div [ classes "fl w-100 mb2 pt4 pb4" ]
|
||||
[ div [ redFont, classes "f1 fw4 pt5" ] [ text ("Module: " ++ mi.name) ]
|
||||
[ div [ redFont, classes "f1 fw4 pt3" ] [ text ("Module: " ++ mi.name) ]
|
||||
]
|
||||
, div [ classes "fl w-100 bg-white mt2 ph4 pt3 mb4 pb2 br3" ] [ viewInfo mi ]
|
||||
, div [ classes "pt4 fw5 f3 pb4" ] [ text ("Instances (" ++ String.fromInt instanceNum ++ ")") ]
|
||||
|
@ -63,7 +63,7 @@ viewService : ModuleShortInfo -> Html msg
|
||||
viewService moduleInfo =
|
||||
div [ classes "fl w-100 w-third-ns pr3" ]
|
||||
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name),
|
||||
classes "fl w-100 bg-white black mw6 mr2 mb3 hide-child pa2 element-box ba b--white bw1 pl3" ]
|
||||
classes "fl w-100 bg-white black mw6 mr2 mb3 hide-child pa2 element-box ba b--white pl3" ]
|
||||
[ p [ classes "tl di" ]
|
||||
[ div [ classes "fl b w-100 mb1 fw5 overflow-hidden" ]
|
||||
[ text moduleInfo.moduleInfo.name ]
|
||||
|
@ -21,6 +21,10 @@ h1 {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
}
|
||||
|
||||
.element-box {
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.element-box:hover {
|
||||
border-color: #E11E5A;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user