Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
59b012e9
Commit
59b012e9
authored
May 05, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] CSS + TEXT + ERGO on explorer choice.
parent
b3f780ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
extras_explorerjs.js
static/js/graphExplorer/extras_explorerjs.js
+5
-1
explorer.html
templates/graphExplorer/explorer.html
+1
-1
No files found.
static/js/graphExplorer/extras_explorerjs.js
View file @
59b012e9
...
@@ -882,7 +882,11 @@ function GetUserPortfolio() {
...
@@ -882,7 +882,11 @@ function GetUserPortfolio() {
$
(
"#add_corpus_tab"
).
prop
(
"disabled"
,
false
)
$
(
"#add_corpus_tab"
).
prop
(
"disabled"
,
false
)
var
selected
=
$
(
'input[name=optradio]:checked'
)[
0
].
id
.
split
(
"_"
)
var
selected
=
$
(
'input[name=optradio]:checked'
)[
0
].
id
.
split
(
"_"
)
var
sel_p_id
=
selected
[
0
],
sel_c_id
=
selected
[
1
]
var
sel_p_id
=
selected
[
0
],
sel_c_id
=
selected
[
1
]
$
(
"#selected_corpus"
).
html
(
"<center>"
+
portfolio
[
sel_p_id
]
+
" , "
+
portfolio
[
sel_c_id
]
+
"</center><br>"
)
var
html_selection
=
""
html_selection
+=
'<center>You are comparing:</center>'
html_selection
+=
"<center> ("
+
portfolio
[
sel_p_id
]
+
") <=> ("
+
portfolio
[
sel_c_id
]
+
")</center><br>"
$
(
"#selected_corpus"
).
html
(
html_selection
)
});
});
...
...
templates/graphExplorer/explorer.html
View file @
59b012e9
...
@@ -439,7 +439,7 @@
...
@@ -439,7 +439,7 @@
<div
class=
"modal-body form-horizontal"
>
<div
class=
"modal-body form-horizontal"
>
<h4>
Choose one corpus:
</h4>
<h4>
Choose one corpus
among your projects
:
</h4>
<div
style=
"color:red;"
id=
"selected_corpus"
></div>
<div
style=
"color:red;"
id=
"selected_corpus"
></div>
<div
id=
"user_portfolio"
>
<div
id=
"user_portfolio"
>
...
...
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