Commit 5ea13175 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DESIGN/ERGO] filter corpus field.

parent 5fd450e0
...@@ -9,7 +9,7 @@ import Data.Maybe (maybe) ...@@ -9,7 +9,7 @@ import Data.Maybe (maybe)
import Data.Tuple (Tuple(..)) import Data.Tuple (Tuple(..))
import Effect.Aff (Aff) import Effect.Aff (Aff)
import React.DOM (a, br', div, input, p, text) import React.DOM (a, br', div, input, p, text)
import React.DOM.Props (_type, className, href) import React.DOM.Props (_type, className, href, style, placeholder, name)
import Thermite (Render, Spec, defaultPerformAction, simpleSpec) import Thermite (Render, Spec, defaultPerformAction, simpleSpec)
------------------------------------------------------------------------ ------------------------------------------------------------------------
import Gargantext.Prelude import Gargantext.Prelude
...@@ -116,14 +116,14 @@ layoutDocview = simpleSpec absurd render ...@@ -116,14 +116,14 @@ layoutDocview = simpleSpec absurd render
where where
render :: Render {} Props Void render :: Render {} Props Void
render dispatch {path: nodeId, loaded} _ _ = render dispatch {path: nodeId, loaded} _ _ =
[ div [className "container1"] [ p [] []
, div [ style {textAlign : "center"}] [input [placeholder "Filter here"]]
, br'
, div [className "container1"]
[ div [className "row"] [ div [className "row"]
[ chart globalPublis [ chart globalPublis
, div [className "col-md-12"] , div [className "col-md-12"]
[ p [] [] [ T.tableElt
, div [] [ text " Filter ", input []]
, br'
, T.tableElt
{ loadRows { loadRows
, title: "Documents" , title: "Documents"
, colNames: , colNames:
......
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