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
541a25f6
Commit
541a25f6
authored
Nov 28, 2018
by
Sudhir Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings icon fixed
parent
5049e10c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
Login.css
dist/css/Login.css
+1
-1
Tree.purs
src/Gargantext/Components/Tree.purs
+8
-4
No files found.
dist/css/Login.css
View file @
541a25f6
...
...
@@ -100,7 +100,7 @@ li a#rename {
display
:
none
;
position
:
absolute
;
text-decoration
:
none
;
left
:
77
px
;
left
:
142
px
;
}
li
:hover
a
#rename
{
...
...
src/Gargantext/Components/Tree.purs
View file @
541a25f6
...
...
@@ -349,10 +349,10 @@ toHtml :: (Action -> Effect Unit) -> FTree -> ReactElement
toHtml d s@(NTree (LNode {id, name, nodeType, open, popOver, renameNodeValue, createNode,nodeValue, showRenameBox }) []) =
ul []
[
li []
li []
$
[
a [ href (toUrl Front nodeType (Just id))]
a [onClick $ (\e-> d $ ToggleFolder id)] [i [fldr open] []]
,
a [ href (toUrl Front nodeType (Just id))]
( [ text (name <> " ")
]
)
...
...
@@ -371,7 +371,11 @@ toHtml d s@(NTree (LNode {id, name, nodeType, open, popOver, renameNodeValue,cre
( [ a [onClick $ (\e-> d $ ToggleFolder id)] [i [fldr open] []]
, a [ href (toUrl Front nodeType (Just id))]
[ text $ " " <> name <> " " ]
, a [className "glyphicon glyphicon-cog", _id "rename",onClick $ (\_-> d $ (ShowPopOver id))]
[
]
, if (popOver == true) then (renameTreeView d s id) else (renameTreeViewDummy d s)
, if (createNode == true) then (createNodeView d s id) else (renameTreeViewDummy d s)
] <>
if open then
...
...
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