From 1ce81014dd1fdfcae84bcb07f4ce43f5e681d07d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexandre=20Delano=C3=AB?= <devel+git@delanoe.org>
Date: Mon, 10 Dec 2018 14:42:10 +0100
Subject: [PATCH] [Fix] navbar.

---
 src/Gargantext/Pages/Layout/Specs.purs        | 11 +++++------
 src/Gargantext/Pages/Layout/Specs/Search.purs |  5 +++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/Gargantext/Pages/Layout/Specs.purs b/src/Gargantext/Pages/Layout/Specs.purs
index 8543d55b..89eb5f7c 100644
--- a/src/Gargantext/Pages/Layout/Specs.purs
+++ b/src/Gargantext/Pages/Layout/Specs.purs
@@ -306,21 +306,20 @@ divSearchBar = simpleSpec performAction render
         searchbar' = ul [ className "nav navbar-nav col-md-6 col-md-offset-3"
                         , style { "marginLeft" : "15%"}
                         ] [ div [className "navbar-form"]
-                            [ input [ className   "search-query"
+                            [ input [ {-className   "search-query"
                                     , placeholder "Query, URL or FILE (works with Firefox or Chromium browsers)"
                                     , _type "text"
                                     , style { height: "35px"
                                             , width: "400px"
                                             }
                                     , onChange \e -> dispatch $ Search (unsafeCoerce e).target.value
+                                    -}
                                     ]
                            -- ,  button [onClick \e -> dispatch Go, className "btn btn-primary"] [text "Enter"]
-                            , span [onClick \e -> dispatch Go, style {color : "#039BE5"}]
-                            [
-                              i [className "material-icons md-36"] [text "control_point"]
+                            , span []--onClick \e -> dispatch Go, style {color : "#039BE5"}]
+                            [ i [className "material-icons md-36"] [text "control_point"]]
                             ]
-                            ]
-                  ]
+                          ]
 
 divDropdownRight :: (Action -> Effect Unit) -> AppState -> ReactElement
 divDropdownRight d s =
diff --git a/src/Gargantext/Pages/Layout/Specs/Search.purs b/src/Gargantext/Pages/Layout/Specs/Search.purs
index 2cb76a54..6e67706a 100644
--- a/src/Gargantext/Pages/Layout/Specs/Search.purs
+++ b/src/Gargantext/Pages/Layout/Specs/Search.purs
@@ -49,8 +49,8 @@ searchSpec = simpleSpec performAction render
            [ div [className "col-md-10" ]
              [ br'
              , br'
-             , div [ className "form-group"]
-                   [ input [ className "form-control"
+             , div [ className "form-group"][]
+                   {-[ input [ className "form-control"
                            , _id "id_password"
                            , name "query"
                            , placeholder "Query, URL or FILE (works best with Firefox or Chromium browsers)"
@@ -60,6 +60,7 @@ searchSpec = simpleSpec performAction render
                            ]
                     , br'
                     ]
+                    -}
               ]
             , div [ className "col-md-2"]
                   [ br'
-- 
2.21.0