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
3675b078
Commit
3675b078
authored
Oct 16, 2015
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css stuff
parent
5c9eb60f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
extras_explorerjs.js
extras_explorerjs.js
+5
-4
Tinaweb.js
tinawebJS/Tinaweb.js
+1
-3
No files found.
extras_explorerjs.js
View file @
3675b078
...
...
@@ -373,7 +373,6 @@ function genericGetTopPapers(theids , corpus_id , thediv) {
success
:
function
(
data
){
pr
(
window
.
location
.
origin
+
'/api/tfidf/'
+
corpus_id
+
'/'
+
theids
.
join
(
"a"
)
)
var
arraydata
=
$
.
parseJSON
(
data
)
console
.
log
(
arraydata
)
var
output
=
"<ul style='padding: 0px; margin: 13px;'>"
for
(
var
i
in
arraydata
)
{
var
pub
=
arraydata
[
i
]
...
...
@@ -411,7 +410,8 @@ function genericGetTopPapers(theids , corpus_id , thediv) {
$
(
"#"
+
thediv
).
html
(
output
);
$
(
"#"
+
thediv
).
show
();
$
(
'#tab-container-top'
).
easytabs
({
updateHash
:
false
});
// $('#tab-container-top').easytabs({updateHash:false});
},
error
:
function
(){
...
...
@@ -462,7 +462,6 @@ function getTopPapers(type){
for
(
var
i
in
data
)
{
var
pub
=
data
[
i
]
if
(
pub
[
"title"
])
{
console
.
log
(
pub
)
var
gquery
=
"http://www.google.com/#q="
+
pub
[
"title"
].
replace
(
" "
+
"+"
)
var
url_elems
=
window
.
location
.
href
.
split
(
"/"
)
...
...
@@ -505,7 +504,8 @@ function getTopPapers(type){
}
output
+=
"</ul>"
$
(
"#topPapers"
).
html
(
output
);
$
(
"#topPapers"
).
show
();
$
(
"#tab-container-top"
).
show
();
// $('#tab-container-top').easytabs({updateHash:false});
},
error
:
function
(){
pr
(
'Page Not found: getTopPapers()'
);
...
...
@@ -524,6 +524,7 @@ function getTopPapers(type){
// Just for Garg
function
printCorpuses
()
{
console
.
clear
()
console
.
log
(
"!!!!!!!! in printCorpuses() !!!!!!!! "
)
var
corpuses
=
$
(
'input[name=optradio]:checked'
);
var
count
=
3
...
...
tinawebJS/Tinaweb.js
View file @
3675b078
...
...
@@ -36,7 +36,7 @@ $.fn.visibleHeight = function() {
function
sigmaLimits
(
sigmacanvas
)
{
pw
=
$
(
sigmacanvas
).
width
();
ph
=
$
(
sigmacanvas
).
height
();
$
(
"body"
).
css
(
"padding-top"
,
0
)
//
$("body").css("padding-top",0)
// var footer = ( $("footer").length>0) ? ($('#leftcolumn').position().top -$("footer").height()) : $('#leftcolumn').position().top*2;
var
ancho_total
=
$
(
window
).
width
()
-
$
(
'#leftcolumn'
).
width
()
;
var
alto_total
=
$
(
'#leftcolumn'
).
visibleHeight
()
;
...
...
@@ -518,8 +518,6 @@ TinaWebJS = function ( sigmacanvas ) {
$
(
"#closeloader"
).
click
();
var
body
=
document
.
getElementsByTagName
(
'body'
)[
0
];
body
.
style
.
paddingTop
=
"41px"
;
$
(
'.etabs'
).
click
(
function
(){
$
.
doTimeout
(
500
,
function
()
{
...
...
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