Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
140
Issues
140
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
fe139c50
Commit
fe139c50
authored
Mar 15, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] commenting filter of document in corpus.
parent
c2b428d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+5
-4
FacetsTable.purs
src/Gargantext/Components/FacetsTable.purs
+6
-4
No files found.
src/Gargantext/Components/DocsTable.purs
View file @
fe139c50
...
...
@@ -140,9 +140,9 @@ instance decodeResponse :: DecodeJson Response where
filterSpec :: forall state props action. Spec state props action
filterSpec = simpleSpec defaultPerformAction render
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"]
]]
]]
-}
docViewSpec :: Spec {} Props Void
docViewSpec = hideState (const initialState) layoutDocview
...
...
@@ -166,13 +166,14 @@ layoutDocview = simpleSpec performAction render
render :: Render State Props Action
render dispatch {nodeId, tabType, totalRecords, chart} deletionState _ =
[ br'
[
{-
br'
, div [ style {textAlign : "center"}] [ text " Filter "
, input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"]
]
, p [] [text ""]
, br'
, div [className "container1"]
-}
div [className "container1"]
[ div [className "row"]
[ chart
, div [className "col-md-12"]
...
...
src/Gargantext/Components/FacetsTable.purs
View file @
fe139c50
...
...
@@ -173,9 +173,10 @@ instance decodeResponse :: DecodeJson Response where
filterSpec :: forall state props action. Spec state props action
filterSpec = simpleSpec defaultPerformAction render
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"]
]]
-}
docViewSpec :: Spec {} Props Void
docViewSpec = hideState (const initialState) layoutDocviewGraph
...
...
@@ -199,13 +200,14 @@ layoutDocview = simpleSpec performAction render
render :: Render State Props Action
render dispatch {nodeId, query, totalRecords, chart, container} deletionState _ =
[ br'
[
{-
br'
, div [ style {textAlign : "center"}] [ text " Filter "
, input [className "form-control", style {width : "120px", display : "inline-block"}, placeholder "Filter here"]
]
, p [] [text ""]
, br'
, div [className "container1"]
, br'
-}
div [className "container1"]
[ div [className "row"]
[ chart
, div [className "col-md-12"]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment