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
140
Issues
140
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
33365574
Commit
33365574
authored
May 06, 2021
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Home: Fix folder layout
parent
72f16c5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Home.purs
src/Gargantext/Components/Nodes/Home.purs
+6
-2
No files found.
src/Gargantext/Components/Nodes/Home.purs
View file @
33365574
...
@@ -11,6 +11,7 @@ import Gargantext.Components.Lang (LandingLang(..))
...
@@ -11,6 +11,7 @@ import Gargantext.Components.Lang (LandingLang(..))
import Gargantext.Components.Lang.Landing.EnUS as En
import Gargantext.Components.Lang.Landing.EnUS as En
import Gargantext.Components.Lang.Landing.FrFR as Fr
import Gargantext.Components.Lang.Landing.FrFR as Fr
import Gargantext.Components.Nodes.Home.Public (renderPublic)
import Gargantext.Components.Nodes.Home.Public (renderPublic)
import Gargantext.Ends (Backend(..))
import Gargantext.License (license)
import Gargantext.License (license)
import Gargantext.Sessions (Sessions)
import Gargantext.Sessions (Sessions)
import Gargantext.Sessions as Sessions
import Gargantext.Sessions as Sessions
...
@@ -142,7 +143,7 @@ tutorialCpt = here.component "tutorial" cpt where
...
@@ -142,7 +143,7 @@ tutorialCpt = here.component "tutorial" cpt where
let folders = makeFolders sessions
let folders = makeFolders sessions
pure $ H.div { className: "mx-auto container" }
pure $ H.div { className: "mx-auto container" }
[ H.div {className: "d-flex justify-content-center"}
folders
[ H.div {className: "d-flex justify-content-center"}
[ H.table {} folders ]
, H.h1 {} [H.text "Welcome!"]
, H.h1 {} [H.text "Welcome!"]
, H.h2 {} [H.text "For easy start, just watch the tutorials"]
, H.h2 {} [H.text "For easy start, just watch the tutorials"]
, summary
, summary
...
@@ -160,7 +161,10 @@ tutorialCpt = here.component "tutorial" cpt where
...
@@ -160,7 +161,10 @@ tutorialCpt = here.component "tutorial" cpt where
makeFolders :: Array Session -> Array R.Element
makeFolders :: Array Session -> Array R.Element
makeFolders s = sessionToFolder <$> s where
makeFolders s = sessionToFolder <$> s where
sessionToFolder session@(Session {treeId}) = FV.folderView {session, nodeId: treeId, backFolder: false}
sessionToFolder session@(Session {treeId, username, backend: (Backend {name})}) =
H.tr {} [
H.div { className: "d-flex justify-content-center" } [ H.text (username <> "@" <> name) ]
, H.div {} [ FV.folderView {session, nodeId: treeId, backFolder: false} ] ]
startTutos :: Array Tuto
startTutos :: Array Tuto
startTutos =
startTutos =
...
...
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