Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
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
david Chavalarias
clinicaltrials
Commits
e3b6574a
Commit
e3b6574a
authored
Jul 06, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix existing html
(cleanup sidebar code before adding new tabs for reldocs)
parent
921b3dd7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
48 deletions
+44
-48
explorerjs.html
explorerjs.html
+35
-29
twjs.css
twlibs/css/twjs.css
+4
-4
Tinaweb.js
twmain/Tinaweb.js
+3
-6
extras_explorerjs.js
twmain/extras_explorerjs.js
+0
-5
methods.js
twmain/methods.js
+2
-4
No files found.
explorerjs.html
View file @
e3b6574a
...
...
@@ -441,7 +441,7 @@
</div>
</div>
<div
id=
"sidebar"
>
<div
id=
"
tab-container"
class=
'tab-containe
r'
>
<div
id=
"
selection-tabs-contnr"
class=
'selection-tabs-contn
r'
>
<ul
class=
'etabs'
>
<!-- for related elements from the combined graph (eg soc => sem) -->
...
...
@@ -483,13 +483,14 @@
open/close panel from: jsfiddle.net/KyleMit/kcpma
-->
<div
class=
"panel-group"
id=
"accordion"
>
<div
class=
"panel-group"
id=
"
varinfos-
accordion"
>
<div
class=
"panel panel-default"
id=
"video_explanation"
>
<div
class=
"panel-heading"
>
<h4
class=
"panel-title"
>
<a
data-toggle=
"collapse"
data-target=
"#le_tutorial"
href=
"#le_tutorial"
>
<a
data-toggle=
"collapse"
data-target=
"#le_tutorial"
href=
"#le_tutorial"
data-parent=
"#varinfos-accordion"
>
<span
class=
"glyphicon glyphicon-eye-open"
aria-hidden=
"true"
></span>
Tutorial video
</a>
...
...
@@ -497,29 +498,35 @@
</div>
<!-- TODO: outcloud the video for better stream+player -->
<!-- <div class="panel-collapse collapse" id="le_tutorial">
<div
class=
"panel-collapse collapse"
id=
"le_tutorial"
>
<p>
here video
</p>
<video
width=
"100%"
src="
video/AXA2015.mp4
" controls="" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></video>
</div>
-->
src=
""
controls=
""
frameborder=
"0"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen
></video>
</div>
</div>
<div
class=
"panel panel-default"
id=
"tips_panel"
>
<div
class=
"panel-heading"
>
<h4
class=
"panel-title"
>
<a
data-toggle=
"collapse"
data-target=
"#tips"
href=
"#tips"
>
<a
data-toggle=
"collapse"
data-target=
"#tips"
href=
"#tips"
data-parent=
"#varinfos-accordion"
>
<span
class=
"glyphicon glyphicon-info-sign"
aria-hidden=
"true"
></span>
Tips
</a>
</h4>
</div>
<div
class=
"panel-collapse collapse in"
id=
"tips"
></div>
<div
class=
"panel-collapse collapse in"
id=
"tips"
>
<p>
here tips inserted by twmain/Tinaweb.js
</p>
</div>
</div>
<div
class=
"panel panel-default"
id=
"credits_panel"
>
<div
class=
"panel panel-default"
id=
"video_explanationw"
>
<div
class=
"panel-heading"
>
<h4
class=
"panel-title"
>
<a
data-toggle=
"collapse"
data-target=
"#credits"
href=
"#credits"
>
<a
data-toggle=
"collapse"
data-target=
"#credits"
href=
"#credits"
data-parent=
"#varinfos-accordion"
>
<span
class=
"glyphicon glyphicon-flag"
aria-hidden=
"true"
></span>
Credits
</a>
...
...
@@ -527,19 +534,21 @@
</div>
<div
class=
"panel-collapse collapse"
id=
"credits"
>
<a
href=
"https://bigdata.iscpif.fr/"
target=
"_blank"
>
<img
src=
"https://bigdata.iscpif.fr/images/logos/BIGDATA-Logo-PoweredBy-light.jpg"
alt=
"Powered by Big Data at ISCPIF"
style=
"width:85%; "
>
</a>
<a
href=
"https://github.com/moma"
target=
"_blank"
>
<img
src=
"twlibs/img/moma.png"
alt=
"Sciencemapping"
style=
"width:85%; "
>
</a>
<p>
<a
href=
"https://bigdata.iscpif.fr/"
target=
"_blank"
>
<img
src=
"https://bigdata.iscpif.fr/images/logos/BIGDATA-Logo-PoweredBy-light.jpg"
alt=
"Powered by Big Data at ISCPIF"
style=
"width:85%; "
>
</a>
<a
href=
"https://github.com/moma"
target=
"_blank"
>
<img
src=
"twlibs/img/moma.png"
alt=
"Sciencemapping"
style=
"width:85%; "
>
</a>
</p>
</div>
</div>
</div>
<br><br>
...
...
@@ -610,12 +619,12 @@
</div>
<div
id=
"modalloader"
class=
"modal fade"
>
<
!-- <
div id="modalloader" class="modal fade">
<div id="loader" class="loader">
<img src="twlibs/img/loader.gif"></img>
</div>
<div id="closeloader" data-dismiss="modal"></div>
</div>
</div>
-->
<div
id=
"facet-options"
class=
"modal fade"
>
...
...
@@ -725,10 +734,9 @@
</div>
</div>
<!--
<div id="geomapmodal" class="modal fade">
<!-- <div class="modal-content"> -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Geomap</h4>
...
...
@@ -736,12 +744,10 @@
<div class="modal-body">
<div class="geomapCont"></div>
</div>
<!-- </div> -->
<!-- <div class="geomapCont"></div> -->
<div id="closegeomap" data-dismiss="modal"></div>
</div>
</div>
-->
<
div
id=
"heatgraph"
></div
>
<
!-- <div id="heatgraph"></div> --
>
</div>
...
...
twlibs/css/twjs.css
View file @
e3b6574a
...
...
@@ -143,8 +143,8 @@ html.waiting {
/* right info panel */
#accordion
{
display
:
none
#
varinfos-
accordion
{
display
:
block
;
}
/* VARIAE */
...
...
@@ -189,7 +189,7 @@ html.waiting {
padding
:
5px
;
}
#
tab-containe
r
{
#
selection-tabs-contn
r
{
margin
:
7px
;
}
...
...
@@ -223,7 +223,7 @@ p.micromessage{
.tab
a
:hover
{
text-decoration
:
underline
;
}
.tab.active
{
background
:
#fff
;
padding-top
:
6px
;
position
:
relative
;
top
:
1px
;
border-color
:
#666
;
}
.tab
a
.active
{
font-weight
:
bold
;
}
.
tab-containe
r
.panel-container
{
background
:
#fff
;
border
:
solid
#666
1px
;
padding
:
10px
;
-moz-border-radius
:
0
4px
4px
4px
;
-webkit-border-radius
:
0
4px
4px
4px
;
}
.
selection-tabs-contn
r
.panel-container
{
background
:
#fff
;
border
:
solid
#666
1px
;
padding
:
10px
;
-moz-border-radius
:
0
4px
4px
4px
;
-webkit-border-radius
:
0
4px
4px
4px
;
}
.panel-container
{
margin-bottom
:
10px
;
}
...
...
twmain/Tinaweb.js
View file @
e3b6574a
...
...
@@ -381,7 +381,7 @@ var TinaWebJS = function ( sigmacanvas ) {
}
}
$
(
'#
tab-containe
r'
).
easytabs
({
$
(
'#
selection-tabs-contn
r'
).
easytabs
({
updateHash
:
false
,
defaultTab
:
'li#tabneigh'
});
...
...
@@ -721,11 +721,8 @@ var TinaWebJS = function ( sigmacanvas ) {
$
(
"#tips"
).
html
(
getTips
());
// a bit costly, TODO make conditional or deprecated
// showMeSomeLabels(6);
// updateDownNodeEvent(false);
// we start with no selection
$
(
"#selection-tabs-contnr"
).
hide
();
// #saveAs => toggle #savemodal initialized in html + bootstrap-native
...
...
twmain/extras_explorerjs.js
View file @
e3b6574a
...
...
@@ -662,8 +662,6 @@ function renderTweet( tweet) {
}
function
getTips
(){
param
=
''
;
text
=
"<br>"
+
"Basic Interactions:"
+
...
...
@@ -685,9 +683,6 @@ function getTips(){
"<li>The 'change level' button allows to change between global view and node centered view,</li>"
+
"<li>To explore the neighborhood of a selection click on the 'change level' button.</li>"
+
"</ul>"
;
$
(
"#tab-container"
).
hide
();
$
(
"#tab-container-top"
).
hide
();
return
text
;
}
...
...
twmain/methods.js
View file @
e3b6574a
...
...
@@ -124,12 +124,11 @@ function cancelSelection (fromTagCloud, settings) {
if
(
fromTagCloud
==
false
){
$
(
"#names"
).
html
(
""
);
$
(
"#topPapers"
).
html
(
""
);
$
(
"#topPapers"
).
hide
();
$
(
"#op
ossiteNodes"
).
html
(
""
);
$
(
"#tab-containe
r"
).
hide
();
$
(
"#op
positeNodes"
).
html
(
""
);
$
(
"#selection-tabs-contn
r"
).
hide
();
$
(
"#information"
).
html
(
""
);
$
(
"#searchinput"
).
val
(
""
);
$
(
"#unselectbutton"
).
hide
();
$
(
"#lefttopbox"
).
hide
();
$
(
"#tips"
).
html
(
getTips
());
}
// send "eraseNodeSet" event
...
...
@@ -430,14 +429,13 @@ function updateRelatedNodesPanel( sels , same, oppos ) {
//using the readmore.js (NB readmore and easytabs are not easy to harmonize)
$
(
"#lefttopbox"
).
show
();
$
(
"#
tab-containe
r"
).
show
();
$
(
"#
selection-tabs-contn
r"
).
show
();
$
(
"#names"
).
html
(
namesDIV
).
readmore
({
maxHeight
:
100
});
if
(
oppos
.
length
>
0
)
{
$
(
"#oppositeNodes"
).
html
(
alterNodesDIV
).
readmore
({
maxHeight
:
200
});
}
$
(
"#sameNodes"
).
html
(
sameNodesDIV
).
readmore
({
maxHeight
:
200
});
$
(
"#information"
).
html
(
informationDIV
);
$
(
"#tips"
).
html
(
""
);
if
(
TW
.
conf
.
getRelatedDocs
)
{
$
(
"#topPapers"
).
show
();
...
...
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