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
bd3b48f2
Commit
bd3b48f2
authored
Jun 12, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[READ] cosmetics
parent
5b770057
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
SearchField.purs
...omponents/Forest/Tree/Node/Action/Search/SearchField.purs
+9
-7
Upload.purs
...Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
+5
-3
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/Search/SearchField.purs
View file @
bd3b48f2
...
@@ -259,9 +259,11 @@ langNav ({lang} /\ setSearch) langs =
...
@@ -259,9 +259,11 @@ langNav ({lang} /\ setSearch) langs =
------------------------------------------------------------------------
------------------------------------------------------------------------
dataFieldNav :: R.State Search -> Array DataField -> R.Element
dataFieldNav :: R.State Search -> Array DataField -> R.Element
dataFieldNav ({datafield} /\ setSearch) datafields =
dataFieldNav ({datafield} /\ setSearch) datafields =
R.fragment [ H.div {className: "text-primary center"} [H.text "with DataField"]
R.fragment [ H.div {
className: "text-primary center"} [H.text "with DataField"]
, H.div {className: "nav nav-tabs"} (liItem <$> dataFields)
, H.div {className: "nav nav-tabs"} (liItem <$> dataFields)
, H.div {className: "center"} [ H.text $ maybe "" doc datafield ]
, H.div {className: "center"} [ H.text
$ maybe "TODO: add Doc Instance" doc datafield
]
]
]
where
where
liItem :: DataField -> R.Element
liItem :: DataField -> R.Element
...
...
src/Gargantext/Components/Forest/Tree/Node/Action/Upload.purs
View file @
bd3b48f2
...
@@ -237,6 +237,7 @@ fileTypeViewCpt = R.hooksComponent "G.C.F.T.N.A.U.fileTypeView" cpt
...
@@ -237,6 +237,7 @@ fileTypeViewCpt = R.hooksComponent "G.C.F.T.N.A.U.fileTypeView" cpt
]
]
]
]
]
]
panelBody =
panelBody =
H.div {className: "panel-body"}
H.div {className: "panel-body"}
[ R2.select {className: "col-md-12 form-control"
[ R2.select {className: "col-md-12 form-control"
...
@@ -251,6 +252,7 @@ fileTypeViewCpt = R.hooksComponent "G.C.F.T.N.A.U.fileTypeView" cpt
...
@@ -251,6 +252,7 @@ fileTypeViewCpt = R.hooksComponent "G.C.F.T.N.A.U.fileTypeView" cpt
, lang : read $ R2.unsafeEventValue l
, lang : read $ R2.unsafeEventValue l
}
}
renderOption opt = H.option {} [ H.text $ show opt ]
renderOption opt = H.option {} [ H.text $ show opt ]
panelFooter =
panelFooter =
H.div {className: "panel-footer"}
H.div {className: "panel-footer"}
[
[
...
...
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