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
134
Issues
134
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
39fab014
Commit
39fab014
authored
Feb 01, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CSS FIX] secondary -> primary
parent
fbe7be8e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
15 deletions
+15
-15
Utils.purs
src/Gargantext/Components/Annotation/Utils.purs
+1
-1
CodeEditor.purs
src/Gargantext/Components/CodeEditor.purs
+1
-1
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+1
-1
Forest.purs
src/Gargantext/Components/Forest.purs
+1
-1
NgramsTable.purs
src/Gargantext/Components/NgramsTable.purs
+1
-1
Corpus.purs
src/Gargantext/Components/Nodes/Corpus.purs
+4
-4
Dashboard.purs
src/Gargantext/Components/Nodes/Corpus/Dashboard.purs
+3
-3
File.purs
src/Gargantext/Components/Nodes/File.purs
+1
-1
Public.purs
src/Gargantext/Components/Nodes/Home/Public.purs
+2
-2
No files found.
src/Gargantext/Components/Annotation/Utils.purs
View file @
39fab014
...
@@ -10,4 +10,4 @@ termClass CandidateTerm = "candidate-term"
...
@@ -10,4 +10,4 @@ termClass CandidateTerm = "candidate-term"
termBootstrapClass :: TermList -> String
termBootstrapClass :: TermList -> String
termBootstrapClass MapTerm = "success"
termBootstrapClass MapTerm = "success"
termBootstrapClass StopTerm = "danger"
termBootstrapClass StopTerm = "danger"
termBootstrapClass CandidateTerm = "
second
ary"
termBootstrapClass CandidateTerm = "
prim
ary"
src/Gargantext/Components/CodeEditor.purs
View file @
39fab014
...
@@ -300,7 +300,7 @@ viewTypeSelectorCpt = R.hooksComponentWithModule thisModule "viewTypeSelector" c
...
@@ -300,7 +300,7 @@ viewTypeSelectorCpt = R.hooksComponentWithModule thisModule "viewTypeSelector" c
]
]
viewTypeButton viewType (state /\ setState) =
viewTypeButton viewType (state /\ setState) =
H.button { className: "btn btn-
second
ary" <> active
H.button { className: "btn btn-
prim
ary" <> active
, on: { click: onClick }
, on: { click: onClick }
, type: "button"
, type: "button"
} [
} [
...
...
src/Gargantext/Components/DocsTable.purs
View file @
39fab014
...
@@ -181,7 +181,7 @@ searchBar (query /\ setQuery) = R.createElement el {} []
...
@@ -181,7 +181,7 @@ searchBar (query /\ setQuery) = R.createElement el {} []
searchButton (queryText /\ _) =
searchButton (queryText /\ _) =
H.button { type: "submit"
H.button { type: "submit"
, className: "btn btn-
second
ary"
, className: "btn btn-
prim
ary"
, on: {click: \e -> setQuery $ const queryText}}
, on: {click: \e -> setQuery $ const queryText}}
[ H.span {className: "fa fa-search"} [] ]
[ H.span {className: "fa fa-search"} [] ]
...
...
src/Gargantext/Components/Forest.purs
View file @
39fab014
...
@@ -90,7 +90,7 @@ forestCpt = R.hooksComponentWithModule thisModule "forest" cpt
...
@@ -90,7 +90,7 @@ forestCpt = R.hooksComponentWithModule thisModule "forest" cpt
plus :: Handed -> R.Setter Boolean -> R.State (Maybe Backend) -> R.Element
plus :: Handed -> R.Setter Boolean -> R.State (Maybe Backend) -> R.Element
plus handed showLogin backend = H.div { className: "row" } [
plus handed showLogin backend = H.div { className: "row" } [
H.button { className: "btn btn-
second
ary col-5 " <> if handed == RightHanded then "ml-1 mr-auto" else "ml-auto mr-1"
H.button { className: "btn btn-
prim
ary col-5 " <> if handed == RightHanded then "ml-1 mr-auto" else "ml-auto mr-1"
, on: {click}
, on: {click}
, title: "Add or remove connections to the server(s)."
, title: "Add or remove connections to the server(s)."
}
}
...
...
src/Gargantext/Components/NgramsTable.purs
View file @
39fab014
...
@@ -220,7 +220,7 @@ tableContainerCpt { dispatch
...
@@ -220,7 +220,7 @@ tableContainerCpt { dispatch
, H.button { className: "btn btn-primary"
, H.button { className: "btn btn-primary"
, on: {click: (const $ dispatch AddTermChildren)}
, on: {click: (const $ dispatch AddTermChildren)}
} [H.text "Save"]
} [H.text "Save"]
, H.button { className: "btn btn-
second
ary"
, H.button { className: "btn btn-
prim
ary"
, on: {click: (const $ dispatch $ SetParentResetChildren Nothing)}
, on: {click: (const $ dispatch $ SetParentResetChildren Nothing)}
} [H.text "Cancel"]
} [H.text "Cancel"]
]
]
...
...
src/Gargantext/Components/Nodes/Corpus.purs
View file @
39fab014
...
@@ -95,7 +95,7 @@ corpusLayoutViewCpt = R.hooksComponentWithModule thisModule "corpusLayoutView" c
...
@@ -95,7 +95,7 @@ corpusLayoutViewCpt = R.hooksComponentWithModule thisModule "corpusLayoutView" c
pure $ H.div {}
pure $ H.div {}
[ H.div { className: "row" }
[ H.div { className: "row" }
[ H.div { className: "btn btn-
second
ary " <> (saveEnabled fieldsWithIndex fieldsS)
[ H.div { className: "btn btn-
prim
ary " <> (saveEnabled fieldsWithIndex fieldsS)
, on: { click: onClickSave {fields: fieldsS, nodeId, reload, session} }
, on: { click: onClickSave {fields: fieldsS, nodeId, reload, session} }
}
}
[ H.span { className: "fa fa-floppy-o" } [ ]
[ H.span { className: "fa fa-floppy-o" } [ ]
...
@@ -106,7 +106,7 @@ corpusLayoutViewCpt = R.hooksComponentWithModule thisModule "corpusLayoutView" c
...
@@ -106,7 +106,7 @@ corpusLayoutViewCpt = R.hooksComponentWithModule thisModule "corpusLayoutView" c
, nodeId
, nodeId
, session } [] ]
, session } [] ]
, H.div { className: "row" }
, H.div { className: "row" }
[ H.div { className: "btn btn-
second
ary"
[ H.div { className: "btn btn-
prim
ary"
, on: { click: onClickAdd fieldsS }
, on: { click: onClickAdd fieldsS }
}
}
[ H.span { className: "fa fa-plus" } [ ]
[ H.span { className: "fa fa-plus" } [ ]
...
@@ -238,13 +238,13 @@ fieldCodeEditorWrapperCpt = R.hooksComponentWithModule thisModule "fieldCodeEdit
...
@@ -238,13 +238,13 @@ fieldCodeEditorWrapperCpt = R.hooksComponentWithModule thisModule "fieldCodeEdit
moveButtons = [] <> (if canMoveDown then [moveDownButton] else [])
moveButtons = [] <> (if canMoveDown then [moveDownButton] else [])
<> (if canMoveUp then [moveUpButton] else [])
<> (if canMoveUp then [moveUpButton] else [])
moveDownButton =
moveDownButton =
H.div { className: "btn btn-
second
ary"
H.div { className: "btn btn-
prim
ary"
, on: { click: \_ -> onMoveDown unit }
, on: { click: \_ -> onMoveDown unit }
} [
} [
H.span { className: "fa fa-arrow-down" } [ ]
H.span { className: "fa fa-arrow-down" } [ ]
]
]
moveUpButton =
moveUpButton =
H.div { className: "btn btn-
second
ary"
H.div { className: "btn btn-
prim
ary"
, on: { click: \_ -> onMoveUp unit }
, on: { click: \_ -> onMoveUp unit }
} [
} [
H.span { className: "fa fa-arrow-up" } [ ]
H.span { className: "fa fa-arrow-up" } [ ]
...
...
src/Gargantext/Components/Nodes/Corpus/Dashboard.purs
View file @
39fab014
...
@@ -108,7 +108,7 @@ dashboardLayoutLoadedCpt = R.hooksComponentWithModule thisModule "dashboardLayou
...
@@ -108,7 +108,7 @@ dashboardLayoutLoadedCpt = R.hooksComponentWithModule thisModule "dashboardLayou
where
where
addNew = H.div { className: "row" } [
addNew = H.div { className: "row" } [
H.span { className: "btn btn-
second
ary"
H.span { className: "btn btn-
prim
ary"
, on: { click: onClickAddChart }} [ H.span { className: "fa fa-plus" } [] ]
, on: { click: onClickAddChart }} [ H.span { className: "fa fa-plus" } [] ]
]
]
where
where
...
@@ -151,7 +151,7 @@ dashboardCodeEditorCpt = R.hooksComponentWithModule thisModule "dashboardCodeEdi
...
@@ -151,7 +151,7 @@ dashboardCodeEditorCpt = R.hooksComponentWithModule thisModule "dashboardCodeEdi
pure $ R.fragment
pure $ R.fragment
[ H.div { className: "row" }
[ H.div { className: "row" }
[ H.div { className: "btn btn-
second
ary " <> (saveEnabled fieldsWithIndex fieldsS)
[ H.div { className: "btn btn-
prim
ary " <> (saveEnabled fieldsWithIndex fieldsS)
, on: { click: onClickSave fieldsS }
, on: { click: onClickSave fieldsS }
}
}
[ H.span { className: "fa fa-floppy-o" } [ ]
[ H.span { className: "fa fa-floppy-o" } [ ]
...
@@ -165,7 +165,7 @@ dashboardCodeEditorCpt = R.hooksComponentWithModule thisModule "dashboardCodeEdi
...
@@ -165,7 +165,7 @@ dashboardCodeEditorCpt = R.hooksComponentWithModule thisModule "dashboardCodeEdi
]
]
]
]
, H.div { className: "row" }
, H.div { className: "row" }
[ H.div { className: "btn btn-
second
ary"
[ H.div { className: "btn btn-
prim
ary"
, on: { click: onClickAddField fieldsS }
, on: { click: onClickAddField fieldsS }
}
}
[ H.span { className: "fa fa-plus" } [ ]
[ H.span { className: "fa fa-plus" } [ ]
...
...
src/Gargantext/Components/Nodes/File.purs
View file @
39fab014
...
@@ -103,7 +103,7 @@ fileLayoutLoadedCpt = R.hooksComponentWithModule thisModule "fileLayoutLoaded" c
...
@@ -103,7 +103,7 @@ fileLayoutLoadedCpt = R.hooksComponentWithModule thisModule "fileLayoutLoaded" c
H.h2 {} [ H.text hyperdata.name ]
H.h2 {} [ H.text hyperdata.name ]
]
]
, H.div { className: "row" } [
, H.div { className: "row" } [
H.div { className: "btn btn-
second
ary" } [
H.div { className: "btn btn-
prim
ary" } [
H.a { href: toUrl session ("node/" <> show nodeId <> "/file/download")
H.a { href: toUrl session ("node/" <> show nodeId <> "/file/download")
, target: "_blank"
, target: "_blank"
} [ H.text "Download" ]
} [ H.text "Download" ]
...
...
src/Gargantext/Components/Nodes/Home/Public.purs
View file @
39fab014
...
@@ -158,11 +158,11 @@ tableau (PublicData {title, abstract, img, url, date, database, author}) =
...
@@ -158,11 +158,11 @@ tableau (PublicData {title, abstract, img, url, date, database, author}) =
[ H.div { className: "btn-group" }
[ H.div { className: "btn-group" }
[
[
{- TODO
{- TODO
H.button { className : "btn btn-
second
ary flex-between"
H.button { className : "btn btn-
prim
ary flex-between"
, href : url
, href : url
, role : "button"
, role : "button"
} [ H.text "View the map" ]
} [ H.text "View the map" ]
, H.button { className : "btn btn-
second
ary flex-start"
, H.button { className : "btn btn-
prim
ary flex-start"
, href : url
, href : url
, role : "button"
, role : "button"
} [ H.text "More like this" ]
} [ H.text "More like this" ]
...
...
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