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
6104d122
Commit
6104d122
authored
Nov 04, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FOREST] box
parent
13fdc40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+8
-1
No files found.
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
6104d122
...
@@ -363,7 +363,8 @@ panelAction :: (Action -> Aff Unit)
...
@@ -363,7 +363,8 @@ panelAction :: (Action -> Aff Unit)
-> R.State (Maybe NodePopup)
-> R.State (Maybe NodePopup)
-> R.Element
-> R.Element
panelAction d {id,name,nodeType,action, session} p = case action of
panelAction d {id,name,nodeType,action, session} p = case action of
(Just (Documentation NodeUser)) -> R.fragment [H.div {} [ H.p {} [ H.text "This account is personal"]
(Just (Documentation NodeUser)) -> R.fragment [H.div {} [ infoTitle NodeUser
, H.p {} [ H.text "This account is personal"]
, H.p {} [ H.text "See the instances terms of uses."]
, H.p {} [ H.text "See the instances terms of uses."]
]
]
]
]
...
@@ -386,6 +387,12 @@ panelAction d {id,name,nodeType,action, session} p = case action of
...
@@ -386,6 +387,12 @@ panelAction d {id,name,nodeType,action, session} p = case action of
_ -> H.div {} []
_ -> H.div {} []
infoTitle :: NodeType -> R.Element
infoTitle nt = H.div {} [ H.h3 {} [H.text "Documentation about " ]
, H.h3 {className: fldr nt true} [ H.text $ show nt ]
]
reallyDelete d = H.div {className: "panel-footer"}
reallyDelete d = H.div {className: "panel-footer"}
[ H.a { type: "button"
[ H.a { type: "button"
, className: "btn glyphicon glyphicon-trash"
, className: "btn glyphicon glyphicon-trash"
...
...
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