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
dd5645c9
Commit
dd5645c9
authored
Mar 16, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[LAYOUT] layoutFooter, innerLayout function.
parent
56a2f699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Navigation.purs
src/Navigation.purs
+8
-8
No files found.
src/Navigation.purs
View file @
dd5645c9
...
...
@@ -161,17 +161,17 @@ routingSpec = simpleSpec performAction defaultRender
layout0 :: forall eff props. Spec (E eff) AppState props Action -> Spec (E eff) AppState props Action
layout0
spec
=
layout0
layout
=
fold
[ layoutSidebar
-- TODO Add
Tree to the templat
e
-- TODO Add
layoutTre
e
--, exampleTree'
, inner
Container $ spec
,
footerLegalInfo
, inner
Layout $ layout
,
layoutFooter
]
where
inner
Container
:: Spec (E eff) AppState props Action -> Spec (E eff) AppState props Action
inner
Container
= over _render \render d p s c ->
inner
Layout
:: Spec (E eff) AppState props Action -> Spec (E eff) AppState props Action
inner
Layout
= over _render \render d p s c ->
[ div [_id "page-wrapper"]
[
div [className "container-fluid"] (render d p s c)
...
...
@@ -335,8 +335,8 @@ divDropdownRight = ul [className "nav navbar-nav pull-right"]
footerLegalInfo
:: forall props eff. Spec (dom :: DOM |eff) AppState props Action
footerLegalInfo
= simpleSpec performAction render
layoutFooter
:: forall props eff. Spec (dom :: DOM |eff) AppState props Action
layoutFooter
= simpleSpec performAction render
where
render :: Render AppState props Action
render dispatch _ state _ = [div [ className "container" ] [ hr [] [], footerLegalInfo']]
...
...
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