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
87b6848d
Commit
87b6848d
authored
Jul 30, 2019
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Pages] more thermite -> reactix migrations
parent
0e5d4847
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
28 deletions
+29
-28
Specs.purs
src/Gargantext/Pages/Layout/Specs.purs
+29
-28
No files found.
src/Gargantext/Pages/Layout/Specs.purs
View file @
87b6848d
...
@@ -5,8 +5,8 @@ import Data.Lens (over)
...
@@ -5,8 +5,8 @@ import Data.Lens (over)
import Data.Maybe (Maybe(Nothing, Just))
import Data.Maybe (Maybe(Nothing, Just))
import Effect (Effect)
import Effect (Effect)
import React (ReactElement)
import React (ReactElement)
import React.DOM (
a, button, div, footer, hr', img, li, p, span, text, ul
)
import React.DOM (
button, div, text
)
import React.DOM.Props (_
data, _id, aria, className, href, onClick, role, src, style, tabIndex, target, title, height, width
)
import React.DOM.Props (_
id, className, onClick, role, style
)
import Reactix as R
import Reactix as R
import Reactix.DOM.HTML as H
import Reactix.DOM.HTML as H
import Thermite (Render, Spec, _render, defaultPerformAction, defaultRender, focus, simpleSpec, withState, noState, cmapProps)
import Thermite (Render, Spec, _render, defaultPerformAction, defaultRender, focus, simpleSpec, withState, noState, cmapProps)
...
@@ -85,7 +85,7 @@ layout0 layout =
...
@@ -85,7 +85,7 @@ layout0 layout =
fold
fold
[ searchBar
[ searchBar
, outerLayout
, outerLayout
, layoutFooter
,
noState
layoutFooter
]
]
where
where
outerLayout1 = simpleSpec defaultPerformAction defaultRender
outerLayout1 = simpleSpec defaultPerformAction defaultRender
...
@@ -132,7 +132,7 @@ layout1 layout =
...
@@ -132,7 +132,7 @@ layout1 layout =
[ searchBar
[ searchBar
, layout
, layout
-- , outerLayout
-- , outerLayout
, layoutFooter
,
noState
layoutFooter
]
]
where
where
outerLayout1 = simpleSpec defaultPerformAction defaultRender
outerLayout1 = simpleSpec defaultPerformAction defaultRender
...
@@ -342,28 +342,29 @@ divDropdownRight d s =
...
@@ -342,28 +342,29 @@ divDropdownRight d s =
[ logLinks d s ]
[ logLinks d s ]
]
]
layoutFooter :: Spec
AppState {} Action
layoutFooter :: Spec
{} {} Void
layoutFooter =
simpleSpec performAction render
layoutFooter =
R2.elSpec $ R.hooksComponent "LayoutFooter" cpt
where
where
render :: Render AppState {} Action
cpt {} _children = do
render dispatch _ state _ = [div [ className "container" ] [ hr', footerLegalInfo']]
pure $ H.div { className: "container" } [ H.hr {}, footerLegalInfo']
where
footerLegalInfo' = footer [] [ p [] [ text "Gargantext "
footerLegalInfo' = H.footer {}
, span [className "glyphicon glyphicon-registration-mark" ] []
[ H.p {} [ H.text "Gargantext "
, text ", version 4.0"
, H.span {className: "glyphicon glyphicon-registration-mark"} []
, a [ href "http://www.cnrs.fr"
, H.text ", version 4.0"
, target "blank"
, H.a { href: "http://www.cnrs.fr"
, title "Project hosted by CNRS."
, target: "blank"
]
, title: "Project hosted by CNRS."
[ text ", Copyrights "
}
, span [ className "glyphicon glyphicon-copyright-mark" ] []
[ H.text ", Copyrights "
, text " CNRS 2017-Present"
, H.span { className: "glyphicon glyphicon-copyright-mark" } []
]
, H.text " CNRS 2017-Present"
, a [ href "http://gitlab.iscpif.fr/humanities/gargantext/blob/stable/LICENSE"
]
, target "blank"
, H.a { href: "http://gitlab.iscpif.fr/humanities/gargantext/blob/stable/LICENSE"
, title "Legal instructions of the project."
, target: "blank"
]
, title: "Legal instructions of the project."
[ text ", Licences aGPLV3 and CECILL variant Affero compliant" ]
}
, text "."
[ H.text ", Licences aGPLV3 and CECILL variant Affero compliant" ]
]
, H.text "."
]
]
]
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