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
143
Issues
143
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
f01d7885
Commit
f01d7885
authored
Mar 24, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FACTO] Langing.
parent
84b97575
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
122 additions
and
72 deletions
+122
-72
AddCorpusview.purs
src/AddCorpusview.purs
+1
-1
DocView.purs
src/DocView.purs
+5
-4
Landing.purs
src/Landing.purs
+115
-66
SearchForm.purs
src/SearchForm.purs
+1
-1
No files found.
src/AddCorpusview.purs
View file @
f01d7885
...
...
@@ -142,7 +142,7 @@ layoutAddcorpus = simpleSpec performAction render
render :: Render State props Action
render dispatch _ state _ =
[
div [className "container"] [
L.jumboTitle false
]
div [className "container"] []
, div [className "container"]
[
div [className "jumbotron"]
...
...
src/DocView.purs
View file @
f01d7885
...
...
@@ -158,10 +158,10 @@ layoutDocview = simpleSpec performAction render
]
, table [ className "table"]
[thead [ className "thead-dark"]
[tr [] [ th [scope "col"] [ b' [text "Date"] ]
[tr [] [ th [scope "col"] [ b' [text ""] ]
, th [scope "col"] [ b' [text "Date"]]
, th [scope "col"] [ b' [text "Title"] ]
, th [scope "col"] [ b' [text "Source"] ]
, th [scope "col"] [ b' [text "Favorite"]]
, th [scope "col"] [ b' [text "Delete"] ]
]
]
...
...
@@ -464,10 +464,11 @@ tdata' d = TableData
showRow :: {row :: Corpus, delete :: Boolean} -> ReactElement
showRow {row : (Corpus c), delete} =
tr []
[ td [] [text c.date]
[ td [] [div [className $ fa <> "fa-star"][]]
-- TODO show date: Year-Month-Day only
, td [] [text c.date]
, td [] [ a [ href "#/documentView/1"] [ text c.title ] ]
, td [] [text c.source]
, td [] [div [className $ fa <> "fa-star"][]]
, td [] [input [ _type "checkbox"] []]
]
where
...
...
src/Landing.purs
View file @
f01d7885
This diff is collapsed.
Click to expand it.
src/SearchForm.purs
View file @
f01d7885
...
...
@@ -58,7 +58,7 @@ searchSpec = simpleSpec performAction render
where
render :: Render State props Action
render dispatch _ state _ =
[ div [className "container"] [
L.jumboTitle false
]
[ div [className "container"] []
, div [className "container"]
[ div [className "jumbotron" ]
[ 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