Commit fe139c50 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] commenting filter of document in corpus.

parent c2b428d7
...@@ -140,9 +140,9 @@ instance decodeResponse :: DecodeJson Response where ...@@ -140,9 +140,9 @@ instance decodeResponse :: DecodeJson Response where
filterSpec :: forall state props action. Spec state props action filterSpec :: forall state props action. Spec state props action
filterSpec = simpleSpec defaultPerformAction render filterSpec = simpleSpec defaultPerformAction render
where where
render d p s c = [div [ className "col-md-2", style {textAlign : "center", marginLeft : "0px", paddingLeft : "0px"}] [ text " Filter " render d p s c = [] {-[div [ className "col-md-2", style {textAlign : "center", marginLeft : "0px", paddingLeft : "0px"}] [ text " Filter "
, input [className "form-control", placeholder "Filter here"] , input [className "form-control", placeholder "Filter here"]
]] ]] -}
docViewSpec :: Spec {} Props Void docViewSpec :: Spec {} Props Void
docViewSpec = hideState (const initialState) layoutDocview docViewSpec = hideState (const initialState) layoutDocview
...@@ -166,13 +166,14 @@ layoutDocview = simpleSpec performAction render ...@@ -166,13 +166,14 @@ layoutDocview = simpleSpec performAction render
render :: Render State Props Action render :: Render State Props Action
render dispatch {nodeId, tabType, totalRecords, chart} deletionState _ = render dispatch {nodeId, tabType, totalRecords, chart} deletionState _ =
[ br' [ {- br'
, div [ style {textAlign : "center"}] [ text " Filter " , div [ style {textAlign : "center"}] [ text " Filter "
, input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"] , input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"]
] ]
, p [] [text ""] , p [] [text ""]
, br' , br'
, div [className "container1"] -}
div [className "container1"]
[ div [className "row"] [ div [className "row"]
[ chart [ chart
, div [className "col-md-12"] , div [className "col-md-12"]
......
...@@ -173,9 +173,10 @@ instance decodeResponse :: DecodeJson Response where ...@@ -173,9 +173,10 @@ instance decodeResponse :: DecodeJson Response where
filterSpec :: forall state props action. Spec state props action filterSpec :: forall state props action. Spec state props action
filterSpec = simpleSpec defaultPerformAction render filterSpec = simpleSpec defaultPerformAction render
where where
render d p s c = [div [ className "col-md-2", style {textAlign : "center", marginLeft : "0px", paddingLeft : "0px"}] [ text " Filter " render d p s c = [] {-[div [ className "col-md-2", style {textAlign : "center", marginLeft : "0px", paddingLeft : "0px"}] [ text " Filter "
, input [className "form-control", placeholder "Filter here"] , input [className "form-control", placeholder "Filter here"]
]] ]]
-}
docViewSpec :: Spec {} Props Void docViewSpec :: Spec {} Props Void
docViewSpec = hideState (const initialState) layoutDocviewGraph docViewSpec = hideState (const initialState) layoutDocviewGraph
...@@ -199,13 +200,14 @@ layoutDocview = simpleSpec performAction render ...@@ -199,13 +200,14 @@ layoutDocview = simpleSpec performAction render
render :: Render State Props Action render :: Render State Props Action
render dispatch {nodeId, query, totalRecords, chart, container} deletionState _ = render dispatch {nodeId, query, totalRecords, chart, container} deletionState _ =
[ br' [ {- br'
, div [ style {textAlign : "center"}] [ text " Filter " , div [ style {textAlign : "center"}] [ text " Filter "
, input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"] , input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"]
] ]
, p [] [text ""] , p [] [text ""]
, br' , br'
, div [className "container1"] -}
div [className "container1"]
[ div [className "row"] [ div [className "row"]
[ chart [ chart
, div [className "col-md-12"] , div [className "col-md-12"]
......
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