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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
1a198895
Commit
1a198895
authored
Jun 29, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DESIGN] some bs classnames
parent
6b8d4962
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
Merge.purs
src/Gargantext/Components/Forest/Tree/Node/Action/Merge.purs
+10
-5
Tools.purs
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
+4
-0
SubTree.purs
...Gargantext/Components/Forest/Tree/Node/Tools/SubTree.purs
+5
-3
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Merge.purs
View file @
1a198895
...
@@ -5,7 +5,7 @@ import Data.Maybe (Maybe(..))
...
@@ -5,7 +5,7 @@ import Data.Maybe (Maybe(..))
import Data.Tuple.Nested ((/\))
import Data.Tuple.Nested ((/\))
import Effect.Aff (Aff)
import Effect.Aff (Aff)
import Gargantext.Components.Forest.Tree.Node.Action (Action(..))
import Gargantext.Components.Forest.Tree.Node.Action (Action(..))
import Gargantext.Components.Forest.Tree.Node.Tools (submitButton, panel, checkbox, checkboxes)
import Gargantext.Components.Forest.Tree.Node.Tools (submitButton, panel, checkbox, checkboxes
, divider
)
import Gargantext.Components.Forest.Tree.Node.Tools.SubTree (subTreeView, SubTreeParamsIn)
import Gargantext.Components.Forest.Tree.Node.Tools.SubTree (subTreeView, SubTreeParamsIn)
import Gargantext.Prelude
import Gargantext.Prelude
import Gargantext.Routes (SessionRoute(..))
import Gargantext.Routes (SessionRoute(..))
...
@@ -39,9 +39,14 @@ mergeNode p@{dispatch, subTreeParams, id, nodeType, session} = do
...
@@ -39,9 +39,14 @@ mergeNode p@{dispatch, subTreeParams, id, nodeType, session} = do
, session
, session
, subTreeParams
, subTreeParams
}
}
, H.div {} [ H.text "Merge which list?"
, H.div { className:"panel panel-primary"}
[ H.text "Merge which list?"
, checkboxes [GT.MapTerm, GT.CandidateTerm, GT.StopTerm] options
, checkboxes [GT.MapTerm, GT.CandidateTerm, GT.StopTerm] options
]
]
, H.div {className: "checkbox"} [checkbox merge, H.text "Merge data?"]
, H.div { className:"panel panel-primary"}
[ H.text "Title"
, H.div {className: "checkbox"}
[checkbox merge, H.text "Merge data?"]
]
] button
] button
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
View file @
1a198895
...
@@ -261,4 +261,8 @@ nodeTextCpt = R.hooksComponent "G.C.F.T.N.B.nodeText" cpt
...
@@ -261,4 +261,8 @@ nodeTextCpt = R.hooksComponent "G.C.F.T.N.B.nodeText" cpt
pure $ H.text (name <> " ")
pure $ H.text (name <> " ")
-- END node text
-- END node text
------------------------------------------------------------------------
divider :: R.Element
divider = H.div {className:"divider"} []
src/Gargantext/Components/Forest/Tree/Node/Tools/SubTree.purs
View file @
1a198895
...
@@ -81,10 +81,12 @@ subTreeViewLoadedCpt :: R.Component CorpusTreeProps
...
@@ -81,10 +81,12 @@ subTreeViewLoadedCpt :: R.Component CorpusTreeProps
subTreeViewLoadedCpt = R.hooksComponent "G.C.F.T.N.A.U.subTreeViewLoadedCpt" cpt
subTreeViewLoadedCpt = R.hooksComponent "G.C.F.T.N.A.U.subTreeViewLoadedCpt" cpt
where
where
cpt p@{dispatch, id, nodeType, session, tree} _ = do
cpt p@{dispatch, id, nodeType, session, tree} _ = do
pure $ H.div { className: "copy-from-corpus" }
pure $ H.div {className:"panel panel-primary"}
[H.div { className: "copy-from-corpus" }
[ H.div { className: "tree" }
[ H.div { className: "tree" }
[subTreeTreeView p]
[subTreeTreeView p]
]
]
]
subTreeTreeView :: Record CorpusTreeProps -> R.Element
subTreeTreeView :: Record CorpusTreeProps -> R.Element
subTreeTreeView props = R.createElement subTreeTreeViewCpt props []
subTreeTreeView props = R.createElement subTreeTreeViewCpt props []
...
...
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