mirror of
https://github.com/fluencelabs/dashboard
synced 2025-03-16 13:30:48 +00:00
styles
This commit is contained in:
parent
4378d2aa33
commit
4d05ad47b4
@ -3,7 +3,7 @@ module BlueprintPage.View exposing (..)
|
||||
import BlueprintPage.Model exposing (BlueprintViewInfo)
|
||||
import Blueprints.Model exposing (Blueprint)
|
||||
import Dict exposing (Dict)
|
||||
import Html exposing (Html, article, div, h3, span, text)
|
||||
import Html exposing (Html, article, div, h1, h3, span, text)
|
||||
import Html.Events exposing (onClick)
|
||||
import Instances.View
|
||||
import Interface.View exposing (interfaceView)
|
||||
@ -26,14 +26,14 @@ view model id =
|
||||
( instanceNum, instanceView ) =
|
||||
Instances.View.view model (\service -> service.blueprint_id == id)
|
||||
in
|
||||
div [ classes "fl w-100 cf ph2-ns" ]
|
||||
[ div [ classes "fl w-100 mb2 pt2" ]
|
||||
[ span [ classes "fl w-100 f1 lh-title", redFont ] [ text ("Blueprint: " ++ bi.name) ]
|
||||
div [ classes "fl w-100" ]
|
||||
[ div [ classes "fl w-100 mb2" ]
|
||||
[ h1 [ redFont, classes "f2 lh-copy ma0 mt4" ] [ text ("Blueprint: " ++ bi.name) ]
|
||||
, span [ classes "fl w-100", darkRed ] [ text bi.id ]
|
||||
]
|
||||
, div [ classes "fl w-100 bg-white mt2 mh2 ph4 pt3 mb4 pb2" ] [ viewInfo bi ]
|
||||
, div [ classes "fl w-100 bg-white mt2 ph4 pt3 mb4 pb2 br3" ] [ viewInfo bi ]
|
||||
, h3 [ classes "pt3" ] [ text ("Instances (" ++ String.fromInt instanceNum ++ ")") ]
|
||||
, div [ classes "mt2 mb4 bg-white" ]
|
||||
, div [ classes "mt2 mb4 bg-white br3" ]
|
||||
[ instanceView ]
|
||||
]
|
||||
|
||||
|
@ -34,9 +34,9 @@ view model id =
|
||||
[ div [ classes "fl w-100 mb2 pt2" ]
|
||||
[ span [ classes "fl w-100 f1 lh-title dark-red" ] [ text ("Module: " ++ mi.name) ]
|
||||
]
|
||||
, div [ classes "fl w-100 bg-white mt2 mh2 ph4 pt3" ] [ viewInfo mi ]
|
||||
, div [ classes "fl w-100 bg-white mt2 ph4 pt3 mb4 pb2 br3" ] [ viewInfo mi ]
|
||||
, h3 [ classes "pt3" ] [ text ("Instances (" ++ String.fromInt instanceNum ++ ")") ]
|
||||
, div [ classes "fl w-100 mt2 mb4 bg-white" ] [ instanceView ]
|
||||
, div [ classes "fl w-100 mt2 mb4 bg-white br3" ] [ instanceView ]
|
||||
]
|
||||
|
||||
Nothing ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user