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
131
Issues
131
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
bbe8be7f
Commit
bbe8be7f
authored
Nov 29, 2018
by
Sudhir Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added controls and sidepanel logic
parent
aff3539a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Graph.purs
src/Gargantext/Pages/Corpus/Graph.purs
+7
-2
No files found.
src/Gargantext/Pages/Corpus/Graph.purs
View file @
bbe8be7f
...
@@ -286,7 +286,12 @@ specOld = simpleSpec performAction render'
...
@@ -286,7 +286,12 @@ specOld = simpleSpec performAction render'
[ button [className "btn btn-primary"
[ button [className "btn btn-primary"
, onClick \_ -> d ShowControls
, onClick \_ -> d ShowControls
,style {position:"relative",top:"-25px",left: "580px"}
,style {position:"relative",top:"-25px",left: "580px"}
] [text "Show Controls"]
]
[text "Show Controls"]
, button [className "btn btn-primary"
, style {position:"relative",top:"-25px",left: "1262px"}
,onClick \_ -> d ShowSidePanel
] [text "showSidePanel"]
]
]
, if (st.showControls) then
, if (st.showControls) then
div [className "col-md-12", style {marginBottom : "21px"}]
div [className "col-md-12", style {marginBottom : "21px"}]
...
@@ -384,7 +389,7 @@ specOld = simpleSpec performAction render'
...
@@ -384,7 +389,7 @@ specOld = simpleSpec performAction render'
<>
<>
if length st.legendData > 0 then [div [style {position : "absolute", bottom : "10px", border: "1px solid black", boxShadow : "rgb(0, 0, 0) 0px 2px 6px", marginLeft : "10px", padding: "16px"}] [dispLegend st.legendData]] else []
if length st.legendData > 0 then [div [style {position : "absolute", bottom : "10px", border: "1px solid black", boxShadow : "rgb(0, 0, 0) 0px 2px 6px", marginLeft : "10px", padding: "16px"}] [dispLegend st.legendData]] else []
]
]
, button [onClick \_ -> d ShowSidePanel, className "btn btn-primary", style {right:"39px",position : "relative",zIndex:"1000", top: "-59px"}] [text "Show SidePanel"]
--
, button [onClick \_ -> d ShowSidePanel, className "btn btn-primary", style {right:"39px",position : "relative",zIndex:"1000", top: "-59px"}] [text "Show SidePanel"]
, if (st.showSidePanel) then
, if (st.showSidePanel) then
div [_id "sp-container",className "col-md-2", style {border : "1px black solid", backgroundColor : "beige", position:"absolute",right: "0px",top:"265px"}]
div [_id "sp-container",className "col-md-2", style {border : "1px black solid", backgroundColor : "beige", position:"absolute",right: "0px",top:"265px"}]
[ div [className "row"]
[ div [className "row"]
...
...
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