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
834f301c
Commit
834f301c
authored
Dec 30, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[bootstrap v4] one more handed fix, also fix table header
parent
8b2d6608
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
26 deletions
+24
-26
Table.purs
src/Gargantext/Components/Table.purs
+22
-24
TopBar.purs
src/Gargantext/Components/TopBar.purs
+2
-2
No files found.
src/Gargantext/Components/Table.purs
View file @
834f301c
...
@@ -72,7 +72,6 @@ tableHeaderLayoutCpt = R.hooksComponentWithModule thisModule "tableHeaderLayout"
...
@@ -72,7 +72,6 @@ tableHeaderLayoutCpt = R.hooksComponentWithModule thisModule "tableHeaderLayout"
[ H.hr {style: {height: "2px", backgroundColor: "black"}} ]
[ H.hr {style: {height: "2px", backgroundColor: "black"}} ]
]
]
, R2.row
, R2.row
[ H.div {className: "jumbotron1", style: {padding: "12px 0px 20px 12px"}}
[ H.div {className: "col-md-8 content"}
[ H.div {className: "col-md-8 content"}
[ H.p {}
[ H.p {}
[ H.span {className: "fa fa-globe"} []
[ H.span {className: "fa fa-globe"} []
...
@@ -100,7 +99,6 @@ tableHeaderLayoutCpt = R.hooksComponentWithModule thisModule "tableHeaderLayout"
...
@@ -100,7 +99,6 @@ tableHeaderLayoutCpt = R.hooksComponentWithModule thisModule "tableHeaderLayout"
]
]
]
]
]
]
]
cacheToggle (NT.CacheOn /\ _) = "fa-toggle-on"
cacheToggle (NT.CacheOn /\ _) = "fa-toggle-on"
cacheToggle (NT.CacheOff /\ _) = "fa-toggle-off"
cacheToggle (NT.CacheOff /\ _) = "fa-toggle-off"
...
...
src/Gargantext/Components/TopBar.purs
View file @
834f301c
...
@@ -30,7 +30,7 @@ topBarCpt = R.hooksComponentWithModule thisModule "topBar" cpt
...
@@ -30,7 +30,7 @@ topBarCpt = R.hooksComponentWithModule thisModule "topBar" cpt
-- https://stackoverflow.com/questions/19733447/bootstrap-navbar-with-left-center-or-right-aligned-items
-- https://stackoverflow.com/questions/19733447/bootstrap-navbar-with-left-center-or-right-aligned-items
-- In practice: only apply "ml-auto" to the last element of this list, if handed == LeftHanded
-- In practice: only apply "ml-auto" to the last element of this list, if handed == LeftHanded
logo
logo
, H.ul { className: "navbar-nav " <> if fst handed == LeftHanded then "ml-auto" else "" } [
, H.ul { className: "navbar-nav " <> if fst handed == LeftHanded then "ml-auto" else "" }
$ sortHanded
[
divDropdownLeft {} []
divDropdownLeft {} []
, handButton handed
, handButton handed
, smiley
, smiley
...
@@ -58,7 +58,7 @@ topBarCpt = R.hooksComponentWithModule thisModule "topBar" cpt
...
@@ -58,7 +58,7 @@ topBarCpt = R.hooksComponentWithModule thisModule "topBar" cpt
]
]
-}
-}
sortHanded = if fst handed == LeftHanded then reverse else
reverse --
identity
sortHanded = if fst handed == LeftHanded then reverse else identity
-- SB.searchBar {session, databases: allDatabases}
-- SB.searchBar {session, databases: allDatabases}
...
...
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