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
51b85971
Commit
51b85971
authored
Nov 14, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FOREST][SEARCH][WIP] iframe for database in a box.
parent
7aa76f18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
4 deletions
+42
-4
Login.sass
dist/styles/Login.sass
+13
-0
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+1
-1
Corpus.purs
src/Gargantext/Components/Nodes/Corpus.purs
+3
-1
SearchField.purs
src/Gargantext/Components/Search/SearchField.purs
+25
-2
No files found.
dist/styles/Login.sass
View file @
51b85971
...
...
@@ -54,6 +54,19 @@ li#rename
border
:
none
text-decoration
:
none
#search-popup-tooltip
position
:
absolute
left
:
300px
top
:
-300px
background-color
:
white
z-index
:
1000
&
:hover
border
:
none
text-decoration
:
none
#create-node-tooltip
position
:
absolute
left
:
96px
...
...
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
51b85971
...
...
@@ -64,7 +64,7 @@ nodeMainSpan d p folderOpen session frontends = R.createElement el p []
[ nodeText { isSelected: (mCorpusId mCurrentRoute) == (Just id)
, name: name'} ]
, if showBox then popOverIcon popupOpen else H.div {} []
, if showBox
, if showBox
then nodePopupView d { id
, name:name'
, nodeType
...
...
src/Gargantext/Components/Nodes/Corpus.purs
View file @
51b85971
...
...
@@ -25,7 +25,9 @@ corpusLayoutCpt = R.staticComponent "G.P.Corpus.corpusLayout" cpt
cpt {nodeId} _ =
H.div {}
[ H.h1 {} [H.text "Corpus Description"]
, H.p {} [H.text "Soon: corpus synthesis here (when all others charts/features will be stabilized)."] ]
, H.p {} [H.text "Soon: corpus synthesis here (when all others charts/features will be stabilized)."]
, H.iframe { src: "http://cillex.gargantext.org", width: "100%", height: "100%"} []
]
newtype CorpusInfo =
CorpusInfo
...
...
src/Gargantext/Components/Search/SearchField.purs
View file @
51b85971
...
...
@@ -8,6 +8,7 @@ import Data.Set as Set
import Data.Tuple (fst)
import Data.Tuple.Nested ((/\))
import Gargantext.Utils.Reactix as R2
import Reactix.DOM.HTML as H
import FFI.Simple ((..))
import Reactix as R
import Reactix.DOM.HTML (text, button, div, input, span, ul, li, a, option, text, i)
...
...
@@ -101,8 +102,25 @@ searchFieldComponent = R.memo (R.hooksComponent "SearchField" cpt) hasChanged
else
div {} []
]
]
, if isIsTex curDf
then H.div { className: ""
, id: "search-popup-tooltip"
, title: "Node settings"
, data: { toggle: "tooltip"
, placement: "right"
}
}
[ H.div {id: "arrow"} []
, H.div { className: "panel panel-default"
, style: { border : "1px solid rgba(0,0,0,0.2)"
, boxShadow : "0 2px 5px rgba(0,0,0,0.2)"
}
} []
]
else H.div {} []
]
]
, submitButton node_id df term lang props.search
]
hasChanged p p' = (fst p.search /= fst p'.search)
...
...
@@ -119,6 +137,11 @@ isHAL :: Maybe DataField -> Boolean
isHAL (Just (External (Just (HAL _)))) = true
isHAL _ = false
isIsTex :: Maybe DataField -> Boolean
isIsTex (Just (External (Just (IsTex)))) = true
isIsTex _ = false
isIMT :: Maybe DataField -> Boolean
isIMT (Just ( External ( Just ( HAL ( Just ( IMT _)))))) = true
isIMT _ = false
...
...
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