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
7d4da0dd
Commit
7d4da0dd
authored
Sep 15, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] GraphExplorer tab badges + footer
parent
6074c87e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
31 deletions
+32
-31
App.purs
src/Gargantext/Components/App.purs
+1
-1
Sidebar.purs
src/Gargantext/Components/GraphExplorer/Sidebar.purs
+31
-30
No files found.
src/Gargantext/Components/App.purs
View file @
7d4da0dd
...
@@ -345,6 +345,6 @@ footerCpt = R2.hooksComponent thisModule "footer" cpt
...
@@ -345,6 +345,6 @@ footerCpt = R2.hooksComponent thisModule "footer" cpt
pure $ H.div
pure $ H.div
{ className: "container" }
{ className: "container" }
[ H.hr {}
[ H.hr {}
, H.footer {} [
license
]
, H.footer {} []
]
]
src/Gargantext/Components/GraphExplorer/Sidebar.purs
View file @
7d4da0dd
...
@@ -90,37 +90,38 @@ sideTab (Opened SideTabLegend) props@{metaData} =
...
@@ -90,37 +90,38 @@ sideTab (Opened SideTabLegend) props@{metaData} =
sideTab (Opened SideTabData) props =
sideTab (Opened SideTabData) props =
RH.div {} [ R2.row [ R2.col 12
RH.div {} [ R2.row [ R2.col 12
[ RH.ul { id: "myTab", className: "nav nav-tabs", role: "tablist"}
[ RH.ul { id: "myTab", className: "nav nav-tabs", role: "tablist"}
[ RH.div { className: "tab-content" }
[ RH.div { className: "tab-content" }
[ RH.div { className: "", role: "tabpanel" }
[ RH.div { className: "", role: "tabpanel" }
( Seq.toUnfoldable
( Seq.toUnfoldable
$ ( Seq.map (badge props.selectedNodeIds)
$ ( Seq.map (badge props.selectedNodeIds)
(badges props.graph props.selectedNodeIds)
(badges props.graph props.selectedNodeIds)
)
)
)
)
]
]
, RH.div { className: "tab-content flex-space-between" }
, RH.div { className: "tab-content flex-space-between" }
[ removeButton "Move as candidate" CandidateTerm props nodesMap
[ removeButton "Move as candidate" CandidateTerm props nodesMap
, removeButton "Move as stop" StopTerm props nodesMap
, removeButton "Move as stop" StopTerm props nodesMap
]
]
]
]
]
]
, RH.div { className: "tab-content", id: "myTabContent" }
[ RH.div { className: "", id: "home", role: "tabpanel" }
, RH.div { className: "col-md-12", id: "query" }
(Seq.toUnfoldable $ Seq.map (badge props.selectedNodeIds)
[ query SearchDoc
$ neighbourBadges props.graph props.selectedNodeIds
props.frontends
)
props.metaData
]
props.session
nodesMap
, RH.div { className: "col-md-12", id: "query" }
props.selectedNodeIds
[ query SearchDoc
]
props.frontends
]
props.metaData
]
props.session
, RH.div { className: "tab-content", id: "myTabContent" }
nodesMap
[ RH.div { className: "", id: "home", role: "tabpanel" }
props.selectedNodeIds
(Seq.toUnfoldable $ (Seq.map (badge props.selectedNodeIds) (neighbourBadges props.graph props.selectedNodeIds)))
]
]
]
]
where
where
nodesMap = SigmaxT.nodesGraphMap props.graph
nodesMap = SigmaxT.nodesGraphMap props.graph
...
...
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