mirror of
https://github.com/fluencelabs/dashboard
synced 2025-03-28 02:41:04 +00:00
fix fonts
This commit is contained in:
parent
705d58e1b2
commit
43ef82f79b
@ -36,9 +36,9 @@ view model =
|
|||||||
viewService : BlueprintInfo -> Html msg
|
viewService : BlueprintInfo -> Html msg
|
||||||
viewService blueprint =
|
viewService blueprint =
|
||||||
div [ classes "fl w-third pr3 lucida" ]
|
div [ classes "fl w-third pr3 lucida" ]
|
||||||
[ 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" ]
|
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl w-100 bg-white black mw6 mr3 mb3 ph3 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 mb2 pt1 b" ] [ text blueprint.name ]
|
||||||
, div [ classes "w-100 mb4" ] [ text "By ", span [classes "b"] [text blueprint.author] ]
|
, div [ classes "w-100 mb4 f7" ] [ text "By ", span [classes "b lucida-in"] [text blueprint.author] ]
|
||||||
, div [ classes "w-100 mt1" ] [ instancesText blueprint.instanceNumber ]
|
, div [ classes "w-100 mt1" ] [ instancesText blueprint.instanceNumber ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
module HubPage.View exposing (..)
|
module HubPage.View exposing (..)
|
||||||
|
|
||||||
import Blueprints.View
|
import Blueprints.View
|
||||||
import Html exposing (Html, a, div, h1, h3, span, text)
|
import Html exposing (Html, a, div, h1, h2, span, text)
|
||||||
import Html.Attributes exposing (attribute, style)
|
import Html.Attributes exposing (attribute, )
|
||||||
import Instances.View
|
import Instances.View
|
||||||
import Model exposing (Model)
|
import Model exposing (Model)
|
||||||
import Modules.View
|
import Modules.View
|
||||||
@ -14,11 +14,11 @@ view model =
|
|||||||
div []
|
div []
|
||||||
[ h1 [ redFont, classes "f2 lh-copy" ] [ text "Developer Hub" ]
|
[ h1 [ redFont, classes "f2 lh-copy" ] [ text "Developer Hub" ]
|
||||||
, welcomeText
|
, welcomeText
|
||||||
, h3 [ classes "mt4 pt4 mb4 medium-roboto" ] [ text "Featured Blueprints" ]
|
, h2 [ classes "mt4 pt4 mb3 lucida-in f4" ] [ text "Featured Blueprints" ]
|
||||||
, Blueprints.View.view model
|
, Blueprints.View.view model
|
||||||
, h3 [ classes "mt3 pt3 mb4 medium-roboto" ] [ text "Featured Modules" ]
|
, h2 [ classes "mt3 pt3 mb3 lucida-in f4" ] [ text "Featured Modules" ]
|
||||||
, Modules.View.view model
|
, Modules.View.view model
|
||||||
, h3 [ classes "mt3 pt3 mb4 medium-roboto" ] [ text "Service Instances" ]
|
, h2 [ classes "mt3 pt3 mb3 lucida-in f4" ] [ text "Service Instances" ]
|
||||||
, Tuple.second (Instances.View.view model (\_ -> True))
|
, Tuple.second (Instances.View.view model (\_ -> True))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module Modules.View exposing (..)
|
module Modules.View exposing (..)
|
||||||
|
|
||||||
import Dict exposing (Dict)
|
import Dict exposing (Dict)
|
||||||
import Html exposing (Html, a, div, p, text)
|
import Html exposing (Html, a, b, div, p, text)
|
||||||
import Html.Attributes exposing (attribute)
|
import Html.Attributes exposing (attribute)
|
||||||
import Maybe.Extra
|
import Maybe.Extra
|
||||||
import Model exposing (Model, PeerData)
|
import Model exposing (Model, PeerData)
|
||||||
@ -60,7 +60,7 @@ view modules =
|
|||||||
viewService : ModuleShortInfo -> Html msg
|
viewService : ModuleShortInfo -> Html msg
|
||||||
viewService moduleInfo =
|
viewService moduleInfo =
|
||||||
div [ classes "fl w-third pr3" ]
|
div [ classes "fl w-third pr3" ]
|
||||||
[ 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" ]
|
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw6 mr2 mb3 ph3 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 ] ]
|
[ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1 lucida" ] [ b [] [text moduleInfo.moduleInfo.name ] ], div [ classes "fl w-100 mt1 lucida gray" ] [ instancesText moduleInfo.instanceNumber ] ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
-}
|
-}
|
||||||
|
|
||||||
import Browser exposing (Document, UrlRequest(..))
|
import Browser exposing (Document, UrlRequest(..))
|
||||||
import Html exposing (Html, a, div, header, img, p, text)
|
import Html exposing (Html, a, b, div, header, img, p, text)
|
||||||
import Html.Attributes exposing (attribute, style)
|
import Html.Attributes exposing (attribute, style)
|
||||||
import Model exposing (Model, Route(..))
|
import Model exposing (Model, Route(..))
|
||||||
import Msg exposing (..)
|
import Msg exposing (..)
|
||||||
@ -46,7 +46,7 @@ body model =
|
|||||||
[ img [ classes "v-mid dib mw-100 h-auto", attribute "src" "/images/logo_new.svg" ] []
|
[ img [ classes "v-mid dib mw-100 h-auto", attribute "src" "/images/logo_new.svg" ] []
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
, div [ classes "fl pl5 h-100" ] [ p [ classes "mv2" ] [ text "Developer Hub" ] ]
|
, div [ classes "fl pl5 h-100" ] [ p [ classes "mv2" ] [ b [] [text "Developer Hub" ]] ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -26,6 +26,10 @@ h1 {
|
|||||||
font-size: 14px
|
font-size: 14px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lucida-in {
|
||||||
|
font-family: 'Lucida Grande', Lucida, Tahoma, Verdana, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
.welcome-text {
|
.welcome-text {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user