From 3e8ac0e137d826df8da0946a4d6f0b8d0de4eeaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Delano=C3=AB?= <devel+git@delanoe.org> Date: Tue, 15 Oct 2019 17:34:40 +0200 Subject: [PATCH] [DESIGN] backend manager (closing). --- src/Gargantext/Components/Forest.purs | 1 + src/Gargantext/Components/Login.purs | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Gargantext/Components/Forest.purs b/src/Gargantext/Components/Forest.purs index 3aa752fd..bde513de 100644 --- a/src/Gargantext/Components/Forest.purs +++ b/src/Gargantext/Components/Forest.purs @@ -35,6 +35,7 @@ plus :: R2.Setter Boolean -> R.Element plus showLogin = H.button {on: {click}} [ H.i { className: "glyphicon glyphicon-plus"} [] ] + -- TODO [ H.i { className: "material-icons md-36"} [] ] where click _ = do showLogin (const true) diff --git a/src/Gargantext/Components/Login.purs b/src/Gargantext/Components/Login.purs index daaadf8e..05518cd6 100644 --- a/src/Gargantext/Components/Login.purs +++ b/src/Gargantext/Components/Login.purs @@ -63,7 +63,11 @@ modalCpt = R.hooksComponent "G.C.Login.modal" cpt where closing = H.button { "type": "button", className: "close" , "data": { dismiss: "modal" } } - [ H.span { on: {click} } [ H.text "X" ] ] + [ H.a { on: {click} + , className: "btn glyphicon glyphicon-remove-circle" + -- TODO , font-size : "50px" + } [] + ] -- 2.21.0