Commit 7f7b5eea authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DESIGN] Backends manager.

parent 165c83d5
...@@ -49,11 +49,10 @@ modalCpt = R.hooksComponent "G.C.Login.modal" cpt where ...@@ -49,11 +49,10 @@ modalCpt = R.hooksComponent "G.C.Login.modal" cpt where
[ H.div { className: "modal-dialog", role: "document"} [ H.div { className: "modal-dialog", role: "document"}
[ H.div { className: "modal-content" } [ H.div { className: "modal-content" }
[ H.div { className: "modal-header" } [ H.div { className: "modal-header" }
[ logo [ closing
, logo
, H.h2 { className: "center modal-title" } [H.text "Backends manager"] , H.h2 { className: "center modal-title" } [H.text "Backends manager"]
, H.button { "type": "button", className: "close" ]
, "data": { dismiss: "modal" } }
[ H.span { on: {click} } [ H.text "X" ] ] ]
, H.div { className: "modal-body" } children ] ] ] ] , H.div { className: "modal-body" } children ] ] ] ]
modalClass s = "modal myModal" <> if s then "" else " fade" modalClass s = "modal myModal" <> if s then "" else " fade"
logo = logo =
...@@ -62,6 +61,10 @@ modalCpt = R.hooksComponent "G.C.Login.modal" cpt where ...@@ -62,6 +61,10 @@ modalCpt = R.hooksComponent "G.C.Login.modal" cpt where
[ H.i {className: "material-icons md-36"} [ H.text "control_point" ] [ H.i {className: "material-icons md-36"} [ H.text "control_point" ]
, H.span {className: "icon-text"} [ H.text "Gargantext" ] ] ] , H.span {className: "icon-text"} [ H.text "Gargantext" ] ] ]
closing = H.button { "type": "button", className: "close"
, "data": { dismiss: "modal" } }
[ H.span { on: {click} } [ H.text "X" ] ]
login :: Record Props -> R.Element login :: Record Props -> R.Element
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment