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
2082de68
Commit
2082de68
authored
Nov 05, 2014
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UPDATE] TinawebJS 1st attempt
parent
7e37a03e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
374 additions
and
4 deletions
+374
-4
clean
clean
+0
-3
explorer.html
templates/explorer.html
+374
-1
No files found.
clean
deleted
100755 → 0
View file @
7e37a03e
#!/bin/bash
find
.
-name
'*.pyc'
-delete
templates/explorer.html
View file @
2082de68
...
...
@@ -5,6 +5,13 @@
{% load staticfiles %}
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootstrap
.
css
"
%}"
>
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootstrap-theme
.
min
.
css
"
%}"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
jquery
/
jquery-ui
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
bootstrap
/
css
/
bootstrap
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
freshslider
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
custom
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
sidebar
.
css
"
%}"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
bootswatch
/
css
/
bootswatch
.
css
"
%}"
>
<link
rel=
"stylesheet"
href=
"{% static "
js
/
libs
/
css2
/
font
.
css
"
%}"
type=
"text/css"
>
{% endblock %}
...
...
@@ -14,12 +21,378 @@
<div
class=
"container theme-showcase"
role=
"main"
>
<div
class=
"jumbotron"
>
<h1>
Gargantext
</h1>
<p>
Samuel put your js configuration here :)
</p>
</div>
<!-- this is the topbar -->
<div
id=
"fixedtop"
class=
"navbar navbar-default navbar-fixed-top"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<a
href=
"index.html"
class=
"navbar-brand"
>
<img
width=
"20px"
src=
"libs/img2/home.png"
></img>
ComexJS
</a>
<button
class=
"navbar-toggle"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbar-main"
>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
</div>
<div
class=
"navbar-collapse collapse"
id=
"navbar-main"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"disabled"
>
<a>
<span
class=
"label label-default"
>
NETWORK:
</span>
</a>
</li>
<li>
<a>
<span
id=
"network"
class=
"label label-success"
></span>
</a>
</li>
<li>
.
<div
id=
"log"
></div>
</li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a
href=
"http://www.cnrs.fr"
target=
"_blank"
>
CNRS
</a></li>
<li><a
href=
"http://iscpif.fr"
target=
"_blank"
>
ISC-PIF
</a></li>
</ul>
</div>
<!--navbar-main-->
</div>
<!--container-->
</div>
<!--navbar-fixed-top-->
<!-- this is the tweakbar -->
<div
id=
"defaultop"
class=
"navbar navbar-default"
>
<div
class=
"navbar-collapse collapse navbar-responsive-collapse"
>
<div
id=
"left"
style=
"margin:0em 2em;"
>
<ul
class=
"nav navbar-nav"
>
<!--
<li>
<a>
<select id="aselector" onchange="console.log('salut monde')" class="selectpicker" data-style="btn btn-success btn-sm" data-width="auto">
<option value="Document" selected>Scholars</option>
<option value="NGram">Keywords</option>
</select>
</a>
</li> -->
<li>
<a>
<button
type=
"button"
id=
"changetype"
class=
"btn btn-success btn-sm"
>
Change Type
</button>
</a>
</li>
<li>
<a>
<button
type=
"button"
id=
"changelevel"
class=
"btn btn-info btn-sm"
disabled
>
Change Level
</button>
</a>
</li>
<li>
<a>
<div
style=
"margin:0em 2em;"
id=
"unranged-value"
></div>
<label
style=
"margin:0em 2em;"
for=
"unranged-value"
>
selector size
</label>
</a>
</li>
<!--
<li>
<a>
<button type="button" onclick="partialGraph.stopForceAtlas2();" class="btn btn-sm">wu</button>
</a>
</li>
-->
</ul>
<ul
id=
"category-A"
class=
"nav navbar-nav navbar-right"
>
<li>
<ul
style=
"list-style-type: none; margin:0em 1em;"
>
<li><div
id=
"sliderANodeWeight"
></div></li>
<li><div
id=
"sliderAEdgeWeight"
></div></li>
<li><div
id=
"sliderANodeSize"
></div></li>
</ul>
</li>
</ul>
<ul
id=
"filterslegend"
class=
"nav navbar-nav navbar-right"
>
<li>
<ul
style=
"list-style-type: none;"
>
<li>
Nodes
</li>
<li>
Edges
</li>
<li>
Size
</li>
</ul>
</li>
</ul>
<ul
id=
"category-B"
class=
"nav navbar-nav navbar-right"
>
<li>
<ul
style=
"list-style-type: none; margin:0em 1em;"
>
<li><div
id=
"sliderBNodeWeight"
></div></li>
<li><div
id=
"sliderBEdgeWeight"
></div></li>
<li><div
id=
"sliderBNodeSize"
></div></li>
</ul>
</li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a>
<input
type=
"checkbox"
id=
"checkboxdiv"
onclick=
"alertCheckBox(this);"
>
Add
</input>
</a></li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<li><a>
<input
id=
"searchinput"
autocomplete=
"off"
class=
"form-control input-sm col-lg-8"
placeholder=
"Search"
type=
"text"
>
</a></li>
</ul>
<ul
id=
"colorGraph"
class=
"nav navbar-nav navbar-right"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<img
title=
"Set Colors"
src=
"libs/img2/colors.png"
width=
"20px"
><b
class=
"caret"
></b></img>
</a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
onclick=
'clustersBy("country")'
>
By Country
</a></li>
<li><a
href=
"#"
onclick=
'clustersBy("acronym")'
>
By Acronym
</a></li>
<li><a
href=
"#"
onclick=
'clustersBy("default")'
>
By Default
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
<span
class=
"glyphicon glyphicon-repeat"
></span>
<strike>
Properties
</strike></a></li>
</ul>
</li>
</ul>
</div>
<!--
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
-->
</div>
<!-- /.nav-collapse -->
</div>
<!-- /.navbar -->
<div
id=
"wrapper"
>
<div
id=
"zonecentre"
>
<!-- Page content -->
<div
id=
"sigma-example"
></div>
<div
style=
"visibility: hidden;"
id=
"sigma-othergraph"
></div>
<img
id=
"semLoader"
style=
"position:absolute; top:50%; left:40%; width:80px;"
src=
"libs/img2/loading-bar.gif"
></img>
<ul
id=
"ctlzoom"
>
<!-- <div class="content-header">
<button id="menu-toggle">X</button>
</div> -->
<li>
<div
id=
"unfold"
>
<a
href=
"#"
id=
"aUnfold"
class=
"rightarrow"
></a>
</div>
</li>
<li>
<a
href=
"#"
id=
"geomapicon"
onclick=
"$('#geomapmodal').modal('show'); callGeomap();"
>
<img
title=
"World Map Distribution"
width=
"34px"
src=
"libs/img2/world.png"
></img>
</a>
</li>
<li>
<a
href=
"#"
id=
"snapicon"
onclick=
"saveGraphIMG();"
>
<img
title=
"Take a photo!"
width=
"34px"
src=
"libs/img2/camera.png"
></img>
</a>
</li>
<li>
<a
href=
"#"
id=
"saveAs"
>
<img
width=
"30px"
title=
"Save As..."
src=
"libs/img2/save.png"
></img>
</a>
</li>
<li>
<a
href=
"#"
id=
"zoomPlusButton"
title=
"S'approcher"
>
</a>
</li>
<li
id=
"zoomSliderzone"
>
<div
id=
"zoomSlider"
></div>
</li>
<li>
<a
href=
"#"
id=
"zoomMinusButton"
title=
"S'éloigner"
>
</a>
</li>
<li>
<a
href=
"#"
id=
"lensButton"
>
</a>
</li>
<li>
<a
href=
"#"
id=
"edgesButton"
>
</a>
</li>
</ul>
</div>
<!-- Sidebar -->
<div
id=
"leftcolumn"
>
<div
id=
"tips"
></div>
<div
id=
"names"
></div>
<div
id=
"opossiteNodes"
></div>
<!-- <div id="topPapers"></div> -->
<div
id=
"information"
></div>
</div>
</div>
<div
id=
"savemodal"
class=
"modal fade"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
Exporting GEXF file
</h4>
</div>
<div
class=
"modal-body form-horizontal"
>
What do you want to save?:
<div
class=
"form-group"
>
<label
class=
"col-lg-2 control-label"
>
</label>
<div
class=
"col-lg-10"
>
<div
class=
"radio"
>
<label>
<input
type=
"radio"
name=
"optionsRadios"
id=
"fullgraph"
value=
"option1"
checked=
"true"
>
Full Graph
</label>
</div>
<div
class=
"radio"
>
<label>
<input
type=
"radio"
name=
"optionsRadios"
id=
"visgraph"
value=
"option2"
>
Visible Graph
</label>
</div>
</div>
</div>
</div>
<div
class=
"modal-body form-horizontal"
>
Which atributes do you want to keep?:
<div
class=
"form-group"
>
<label
class=
"col-lg-2 control-label"
>
</label>
<div
class=
"col-lg-10"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
name=
"optionsRadios"
id=
"check_size"
value=
"option1"
>
Size
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
name=
"optionsRadios"
id=
"check_color"
value=
"option2"
>
Color
</label>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
id=
"closesavemodal"
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Close
</button>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"saveGraph();"
>
Save File
</button>
</div>
</div>
</div>
</div>
<div
id=
"modalloader"
class=
"modal fade"
>
<div
id=
"loader"
class=
"loader"
>
<img
src=
"libs/img2/loader.gif"
></img>
</div>
<div
id=
"closeloader"
data-dismiss=
"modal"
></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>
</div>
<div
class=
"modal-body"
>
<div
class=
"geomapCont"
></div>
</div>
<!-- </div> -->
<!-- <div class="geomapCont"></div> -->
<div
id=
"closegeomap"
data-dismiss=
"modal"
></div>
</div>
</div>
</div>
</div>
<script
src=
"{% static "
js
/
libs
/
jquery
/
jquery-1
.
10
.
2
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
libs
/
jquery
/
jquery-ui
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
libs
/
jquery
/
jquery
.
ba-dotimeout
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
libs
/
jquery
/
jquery
.
mousewheel
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
libs
/
freshslider
.
1
.
0
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootswatch
/
js
/
bootswatch
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap-modal
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
libs
/
bootstrap
/
js
/
bootstrap-hover-dropdown
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
globalUtils
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
sigma
.
min
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
sigma
.
forceatlas2
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
settings_explorerjs
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
sigma
.
parseCustom
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
extras_explorerjs
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
sigmaUtils
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
methods
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
minimap
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
enviroment
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
asyncFA2
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
DataScanner
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
<script
src=
"{% static "
js
/
tinawebJS
/
main
.
js
"
%}"
type=
"text/javascript"
language=
"javascript"
></script>
{% endblock %}
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