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
b7f77f0d
Commit
b7f77f0d
authored
May 04, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'romain-refactoring-navbar' into refactoring
parents
59d657fe
49122fcb
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
10677 additions
and
6915 deletions
+10677
-6915
terms.py
gargantext/views/pages/terms.py
+1
-0
dc.css
static/css/d3/dc.css
+67
-46
menu.css
static/css/gargantext/menu.css
+12
-0
jquery.dynatable.css
static/css/jquery/jquery.dynatable.css
+3
-2
d3.js
static/js/d3/d3.js
+7786
-6033
dc.js
static/js/d3/dc.js
+2696
-724
Docs_dyna_chart_and_table.js
static/js/gargantext/Docs_dyna_chart_and_table.js
+25
-26
Journals_dyna_chart_and_table.js
static/js/gargantext/Journals_dyna_chart_and_table.js
+1
-1
NGrams_dyna_chart_and_table.js
static/js/gargantext/NGrams_dyna_chart_and_table.js
+1
-1
journals.html
templates/pages/corpora/journals.html
+4
-6
terms.html
templates/pages/corpora/terms.html
+5
-10
titles.html
templates/pages/corpora/titles.html
+1
-5
about.html
templates/pages/main/about.html
+1
-3
home.html
templates/pages/main/home.html
+1
-2
menu.html
templates/pages/menu.html
+73
-56
No files found.
gargantext/views/pages/terms.py
View file @
b7f77f0d
...
@@ -27,6 +27,7 @@ def ngramtable(request, project_id, corpus_id):
...
@@ -27,6 +27,7 @@ def ngramtable(request, project_id, corpus_id):
request
=
request
,
request
=
request
,
context
=
{
context
=
{
'debug'
:
settings
.
DEBUG
,
'debug'
:
settings
.
DEBUG
,
'user'
:
request
.
user
,
'date'
:
datetime
.
now
(),
'date'
:
datetime
.
now
(),
'project'
:
project
,
'project'
:
project
,
'corpus'
:
corpus
,
'corpus'
:
corpus
,
...
...
static/css/d3/dc.css
View file @
b7f77f0d
.dc-chart
{
div
.dc-chart
{
float
:
left
;
float
:
left
;
}
}
.dc-chart
rect
.bar
{
.dc-chart
rect
.bar
{
stroke
:
none
;
stroke
:
none
;
fill
:
steelblue
;
cursor
:
pointer
;
}
}
.dc-chart
rect
.bar
:hover
{
.dc-chart
rect
.bar
:hover
{
...
@@ -26,29 +26,24 @@
...
@@ -26,29 +26,24 @@
fill
:
#ccc
;
fill
:
#ccc
;
}
}
.dc-chart
.sub
.bar
{
stroke
:
none
;
fill
:
#ccc
;
}
.dc-chart
.pie-slice
{
.dc-chart
.pie-slice
{
fill
:
white
;
fill
:
white
;
font-size
:
12px
;
font-size
:
12px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.dc-chart
.pie-slice
:hover
{
.dc-chart
.pie-slice
:hover
{
fill-opacity
:
.8
;
fill-opacity
:
.8
;
}
}
.dc-chart
.selected
path
{
.dc-chart
.selected
path
{
stroke-width
:
3
;
stroke-width
:
3
;
stroke
:
#ccc
;
stroke
:
#ccc
;
fill-opacity
:
1
;
fill-opacity
:
1
;
}
}
.dc-chart
.deselected
path
{
.dc-chart
.deselected
path
{
strok
:
none
;
strok
e
:
none
;
fill-opacity
:
.5
;
fill-opacity
:
.5
;
fill
:
#ccc
;
fill
:
#ccc
;
}
}
...
@@ -63,6 +58,13 @@
...
@@ -63,6 +58,13 @@
font
:
10px
sans-serif
;
font
:
10px
sans-serif
;
}
}
.dc-chart
.grid-line
{
fill
:
none
;
stroke
:
#ccc
;
opacity
:
.5
;
shape-rendering
:
crispEdges
;
}
.dc-chart
.grid-line
line
{
.dc-chart
.grid-line
line
{
fill
:
none
;
fill
:
none
;
stroke
:
#ccc
;
stroke
:
#ccc
;
...
@@ -86,56 +88,30 @@
...
@@ -86,56 +88,30 @@
.dc-chart
path
.line
{
.dc-chart
path
.line
{
fill
:
none
;
fill
:
none
;
stroke
:
steelblue
;
stroke-width
:
1.5px
;
stroke-width
:
1.5px
;
}
}
.dc-chart
circle
.dot
{
.dc-chart
circle
.dot
{
fill
:
steelblue
;
stroke
:
none
;
}
.dc-chart
g
.stack1
path
.line
{
stroke
:
green
;
}
.dc-chart
g
.stack1
circle
.dot
{
fill
:
green
;
}
.dc-chart
g
.stack2
path
.line
{
stroke
:
red
;
}
.dc-chart
g
.stack2
circle
.dot
{
fill
:
red
;
}
}
.dc-chart
g
.dc-tooltip
path
{
.dc-chart
g
.dc-tooltip
path
{
fill
:
none
;
fill
:
none
;
stroke
:
grey
;
stroke
:
grey
;
stroke-opacity
:
.8
;
stroke-opacity
:
.8
;
}
}
.dc-chart
path
.area
{
.dc-chart
path
.area
{
fill
:
steelblue
;
fill-opacity
:
.3
;
fill-opacity
:
.3
;
stroke
:
none
;
stroke
:
none
;
}
}
.dc-chart
g
.stack1
path
.area
{
fill
:
green
;
}
.dc-chart
g
.stack2
path
.area
{
fill
:
red
;
}
.dc-chart
.node
{
.dc-chart
.node
{
font-size
:
0.7em
;
font-size
:
0.7em
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.dc-chart
.node
:hover
{
.dc-chart
.node
:hover
{
fill-opacity
:
.8
;
fill-opacity
:
.8
;
}
}
...
@@ -146,7 +122,7 @@
...
@@ -146,7 +122,7 @@
}
}
.dc-chart
.deselected
circle
{
.dc-chart
.deselected
circle
{
strok
:
none
;
strok
e
:
none
;
fill-opacity
:
.5
;
fill-opacity
:
.5
;
fill
:
#ccc
;
fill
:
#ccc
;
}
}
...
@@ -172,13 +148,14 @@
...
@@ -172,13 +148,14 @@
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.dc-data-table
{}
.dc-data-table
{
}
.dc-chart
g
.state
{
.dc-chart
g
.state
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.dc-chart
g
.state
:hover
{
.dc-chart
g
.state
:hover
{
fill-opacity
:
.8
;
fill-opacity
:
.8
;
}
}
...
@@ -205,7 +182,7 @@
...
@@ -205,7 +182,7 @@
fill
:
none
;
fill
:
none
;
}
}
.dc-chart
g
.debug
rect
{
.dc-chart
g
.debug
rect
{
fill
:
blue
;
fill
:
blue
;
fill-opacity
:
.2
;
fill-opacity
:
.2
;
}
}
...
@@ -222,4 +199,48 @@
...
@@ -222,4 +199,48 @@
.dc-chart
g
.row
text
{
.dc-chart
g
.row
text
{
fill
:
white
;
fill
:
white
;
font-size
:
12px
;
font-size
:
12px
;
cursor
:
pointer
;
}
.dc-legend
{
font-size
:
11px
;
}
.dc-legend-item
{
cursor
:
pointer
;
}
.dc-chart
g
.axis
text
{
/* Makes it so the user can't accidentally click and select text that is meant as a label only */
-webkit-user-select
:
none
;
/* Chrome/Safari */
-moz-user-select
:
none
;
/* Firefox */
-ms-user-select
:
none
;
/* IE10 */
-o-user-select
:
none
;
user-select
:
none
;
pointer-events
:
none
;
}
.dc-chart
path
.highlight
{
stroke-width
:
3
;
fill-opacity
:
1
;
stroke-opacity
:
1
;
}
.dc-chart
.highlight
{
fill-opacity
:
1
;
stroke-opacity
:
1
;
}
.dc-chart
.fadeout
{
fill-opacity
:
0.2
;
stroke-opacity
:
0.2
;
}
.dc-chart
path
.dc-symbol
{
fill-opacity
:
0.5
;
stroke-opacity
:
0.5
;
}
.dc-hard
.number-display
{
float
:
none
;
}
}
static/css/gargantext/menu.css
0 → 100755
View file @
b7f77f0d
/* styles for menu.html template (navbar etc) */
#dafixedtop
.navbar-text
{
margin
:
0
;
padding-top
:
15px
;
padding-bottom
:
15px
;
}
#corporatop
.nav-tabs
>
li
>
a
{
line-height
:
.85
;
}
static/css/jquery/jquery.dynatable.css
View file @
b7f77f0d
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
* Date: Tue Jan 02 2014
* Date: Tue Jan 02 2014
*/
*/
th
{
th
{
background
:
#bd2525
;
/*background: #bd2525;*/
background
:
#065E9C
;
}
}
th
a
{
th
a
{
color
:
#fff
;
color
:
#fff
;
...
@@ -58,7 +59,7 @@ th a:hover {
...
@@ -58,7 +59,7 @@ th a:hover {
}
}
.dynatable-active-page
{
.dynatable-active-page
{
background
:
#
bd2525
;
background
:
#
065E9C
;
border-radius
:
5px
;
border-radius
:
5px
;
color
:
#fff
;
color
:
#fff
;
}
}
...
...
static/js/d3/d3.js
View file @
b7f77f0d
This diff is collapsed.
Click to expand it.
static/js/d3/dc.js
View file @
b7f77f0d
This diff is collapsed.
Click to expand it.
static/js/gargantext/Docs_dyna_chart_and_table.js
View file @
b7f77f0d
...
@@ -86,8 +86,6 @@ function Final_UpdateTable( action ) {
...
@@ -86,8 +86,6 @@ function Final_UpdateTable( action ) {
if
(
!
UpdateTable
)
return
false
;
//stop whatever you wanted to do.
if
(
!
UpdateTable
)
return
false
;
//stop whatever you wanted to do.
var
TimeRange
=
AjaxRecords
;
var
TimeRange
=
AjaxRecords
;
var
dataini
=
TheBuffer
[
0
];
var
dataini
=
TheBuffer
[
0
];
...
@@ -128,10 +126,7 @@ function Final_UpdateTable( action ) {
...
@@ -128,10 +126,7 @@ function Final_UpdateTable( action ) {
}
}
// STEP 01:
// STEP 01:
// Get all the duplicates using the Django-Garg API
// remember url elements
var
current_docs
=
{}
var
BIS_dict
=
{}
var
id_from_url
=
function
(
name
)
{
var
id_from_url
=
function
(
name
)
{
var
regex
=
new
RegExp
(
name
+
'/(
\\
d+)'
);
var
regex
=
new
RegExp
(
name
+
'/(
\\
d+)'
);
...
@@ -143,8 +138,6 @@ var corpus_id = id_from_url('corpora');
...
@@ -143,8 +138,6 @@ var corpus_id = id_from_url('corpora');
// STEP 02:
// STEP 02:
// D3.js: Interactive timerange.
// D3.js: Interactive timerange.
var
moveChart
=
dc
.
compositeChart
(
"#monthly-move-chart"
);
var
moveChart
=
dc
.
compositeChart
(
"#monthly-move-chart"
);
...
@@ -285,7 +278,6 @@ function Main_test(Data) {
...
@@ -285,7 +278,6 @@ function Main_test(Data) {
div_table
+=
"
\
t"
+
"
\
t"
+
'<th data-dynatable-column="del" data-dynatable-no-sort="true">'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'<th data-dynatable-column="del" data-dynatable-no-sort="true">'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'</th>'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'</th>'
+
"
\n
"
div_table
+=
"
\
t"
+
"
\
t"
+
'</th>'
+
"
\n
"
div_table
+=
"
\
t"
+
'</thead>'
+
"
\n
"
div_table
+=
"
\
t"
+
'</thead>'
+
"
\n
"
div_table
+=
"
\
t"
+
'<tbody>'
+
"
\n
"
div_table
+=
"
\
t"
+
'<tbody>'
+
"
\n
"
div_table
+=
"
\
t"
+
'</tbody>'
+
"
\n
"
div_table
+=
"
\
t"
+
'</tbody>'
+
"
\n
"
...
@@ -316,10 +308,10 @@ function Main_test(Data) {
...
@@ -316,10 +308,10 @@ function Main_test(Data) {
$
.
each
(
Data
,
function
(
i
,
node
)
{
$
.
each
(
Data
,
function
(
i
,
node
)
{
if
(
node
.
date
)
{
if
(
node
.
date
)
{
arrayd3
.
push
({
arrayd3
.
push
({
date
:
get_node_date
(
node
),
//
date: get_node_date(node),
dd
:
node
.
date
,
//
dd: node.date,
month
:
d3
.
time
.
month
(
node
.
date
),
month
:
d3
.
time
.
month
(
node
.
date
),
volume
:
justdates
[
date
],
daily
volume
:
justdates
[
date
],
});
});
}
}
});
});
...
@@ -338,33 +330,36 @@ function Main_test(Data) {
...
@@ -338,33 +330,36 @@ function Main_test(Data) {
return
d
.
month
;
return
d
.
month
;
});
});
console
.
warn
(
moveMonths
)
//moveChart:(3)
//moveChart:(3)
var
monthlyMoveGroup
=
moveMonths
.
group
().
reduceSum
(
function
(
d
)
{
var
monthlyMoveGroup
=
moveMonths
.
group
().
reduceSum
(
function
(
d
)
{
return
d
.
volume
;
return
d
.
daily
volume
;
//return Math.abs(+d.close - +d.open);
//return Math.abs(+d.close - +d.open);
});
});
//volumeChart:(2)
//volumeChart:(2)
var
volumeByMonthGroup
=
moveMonths
.
group
().
reduceSum
(
function
(
d
)
{
var
volumeByMonthGroup
=
moveMonths
.
group
().
reduceSum
(
function
(
d
)
{
return
d
.
volume
/
500000
;
return
d
.
daily
volume
/
500000
;
});
});
//moveChart:(2)
//moveChart:(2)
(cf. https://dc-js.github.io/dc.js/docs/stock.html#section-14)
var
indexAvgByMonthGroup
=
moveMonths
.
group
().
reduce
(
var
indexAvgByMonthGroup
=
moveMonths
.
group
().
reduce
(
function
(
p
,
v
)
{
function
(
p
,
v
)
{
++
p
.
days
;
// console.log("dc:dimension:reduce:filter_add")
p
.
total
+=
(
+
v
.
open
+
+
v
.
close
)
/
2
;
++
p
.
nb
;
p
.
avg
=
Math
.
round
(
p
.
total
/
p
.
days
);
p
.
total
+=
v
.
dailyvolume
return
p
;
return
p
;
},
},
function
(
p
,
v
)
{
function
(
p
,
v
)
{
--
p
.
days
;
// console.log("dc:dimension:reduce:filter_remove")
p
.
total
-=
(
+
v
.
open
+
+
v
.
close
)
/
2
;
--
p
.
nb
;
p
.
avg
=
p
.
days
==
0
?
0
:
Math
.
round
(
p
.
total
/
p
.
days
);
p
.
total
-=
v
.
dailyvolume
return
p
;
return
p
;
},
},
function
()
{
function
()
{
return
{
days
:
0
,
total
:
0
,
avg
:
0
};
// console.log("dc:dimension:reduce:init")
return
{
total
:
0
,
nb
:
0
};
}
}
);
);
...
@@ -376,7 +371,7 @@ function Main_test(Data) {
...
@@ -376,7 +371,7 @@ function Main_test(Data) {
.
dimension
(
moveMonths
)
.
dimension
(
moveMonths
)
.
group
(
indexAvgByMonthGroup
)
.
group
(
indexAvgByMonthGroup
)
.
valueAccessor
(
function
(
d
)
{
.
valueAccessor
(
function
(
d
)
{
return
d
.
value
.
avg
;
return
d
.
value
.
total
;
})
})
.
x
(
d3
.
time
.
scale
().
domain
([
t0
,
t1
]))
.
x
(
d3
.
time
.
scale
().
domain
([
t0
,
t1
]))
.
round
(
d3
.
time
.
month
.
round
)
.
round
(
d3
.
time
.
month
.
round
)
...
@@ -387,17 +382,21 @@ function Main_test(Data) {
...
@@ -387,17 +382,21 @@ function Main_test(Data) {
.
compose
([
.
compose
([
dc
.
lineChart
(
moveChart
)
dc
.
lineChart
(
moveChart
)
.
group
(
indexAvgByMonthGroup
)
.
group
(
indexAvgByMonthGroup
)
// here d are already data grouped by month
.
valueAccessor
(
function
(
d
)
{
.
valueAccessor
(
function
(
d
)
{
return
d
.
value
.
avg
;
// console.log(d)
return
d
.
value
.
total
;
})
})
.
renderArea
(
true
)
.
renderArea
(
true
)
// orange
.
stack
(
monthlyMoveGroup
,
function
(
d
)
{
.
stack
(
monthlyMoveGroup
,
function
(
d
)
{
// console.log(d)
return
d
.
value
;
return
d
.
value
;
})
})
.
title
(
function
(
d
)
{
.
title
(
function
(
d
)
{
var
value
=
d
.
value
.
avg
?
d
.
value
.
avg
:
d
.
value
;
var
value
=
d
.
data
.
value
.
total
?
d
.
data
.
value
.
total
:
d
.
data
.
value
;
if
(
isNaN
(
value
))
value
=
0
;
if
(
isNaN
(
value
))
value
=
0
;
return
dateFormat
(
d
.
key
)
+
"
\n
"
+
numberFormat
(
value
);
return
dateFormat
(
d
.
data
.
key
)
+
"
\n
"
+
numberFormat
(
value
);
})
})
])
])
.
xAxis
();
.
xAxis
();
...
...
static/js/gargantext/Journals_dyna_chart_and_table.js
View file @
b7f77f0d
...
@@ -407,7 +407,7 @@ function Main_test( data , initial) {
...
@@ -407,7 +407,7 @@ function Main_test( data , initial) {
// .renderDataPoints({radius: 2, fillOpacity: 0.8, strokeOpacity: 0.8})
// .renderDataPoints({radius: 2, fillOpacity: 0.8, strokeOpacity: 0.8})
.
brushOn
(
false
)
.
brushOn
(
false
)
.
title
(
function
(
d
)
{
.
title
(
function
(
d
)
{
var
value
=
d
.
value
.
avg
?
d
.
value
.
avg
:
d
.
value
;
var
value
=
d
.
data
.
value
.
avg
?
d
.
data
.
value
.
avg
:
d
.
data
.
value
;
if
(
isNaN
(
value
))
value
=
0
;
if
(
isNaN
(
value
))
value
=
0
;
return
value
+
" journals with "
+
Number
(
d
.
key
)
+
" publications"
;
return
value
+
" journals with "
+
Number
(
d
.
key
)
+
" publications"
;
})
})
...
...
static/js/gargantext/NGrams_dyna_chart_and_table.js
View file @
b7f77f0d
...
@@ -1645,7 +1645,7 @@ function MainTableAndCharts( data , initial , search_filter) {
...
@@ -1645,7 +1645,7 @@ function MainTableAndCharts( data , initial , search_filter) {
// .renderDataPoints({radius: 2, fillOpacity: 0.8, strokeOpacity: 0.8})
// .renderDataPoints({radius: 2, fillOpacity: 0.8, strokeOpacity: 0.8})
.
brushOn
(
false
)
.
brushOn
(
false
)
.
title
(
function
(
d
)
{
.
title
(
function
(
d
)
{
var
value
=
d
.
value
.
avg
?
d
.
value
.
avg
:
d
.
value
;
var
value
=
d
.
data
.
value
.
avg
?
d
.
data
.
value
.
avg
:
d
.
data
.
value
;
if
(
isNaN
(
value
))
value
=
0
;
if
(
isNaN
(
value
))
value
=
0
;
return
value
+
" ngrams with "
+
FirstScore
+
"="
+
Number
(
d
.
key
);
return
value
+
" ngrams with "
+
FirstScore
+
"="
+
Number
(
d
.
key
);
})
})
...
...
templates/pages/corpora/journals.html
View file @
b7f77f0d
...
@@ -32,11 +32,11 @@
...
@@ -32,11 +32,11 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
</center>
</center>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
id=
"monthly-volume-chart"
></div>
<div
id=
"monthly-volume-chart"
></div>
</div>
</div>
<div
id=
"content_loader"
>
<div
id=
"content_loader"
>
<br>
<br>
<center>
<center>
...
@@ -77,15 +77,13 @@
...
@@ -77,15 +77,13 @@
</div>
<!-- /row with the dynatable panels -->
</div>
<!-- /row with the dynatable panels -->
</div>
<!-- /jumbotron -->
</div>
<!-- /jumbotron -->
<!--
<!--
</div> Alignment
</div> Alignment
</div> (these divs are closed by the menu)
</div> (these divs are closed by the menu)
/container -->
/container -->
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<!-- custom-lib for dynatable.js and dc.js -->
<!-- custom-lib for dynatable.js and dc.js -->
...
...
templates/pages/corpora/terms.html
View file @
b7f77f0d
{% extends "pages/menu.html" %}
{% extends "pages/menu.html" %}
{% block css %}
{% load staticfiles %}
{% load staticfiles %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
bootstrap
.
css
"
%}"
>
{% block css %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
d3
/
dc
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
d3
/
dc
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
jquery
/
jquery
.
dynatable
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
jquery
/
jquery
.
dynatable
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
gargantext
/
tables
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
gargantext
/
tables
.
css
"%}"
/>
...
@@ -11,7 +9,6 @@
...
@@ -11,7 +9,6 @@
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
d3
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
d3
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
crossfilter
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
crossfilter
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
dc
.
js
"%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
d3
/
dc
.
js
"%}"
></script>
{% endblock %}
{% endblock %}
...
@@ -28,11 +25,11 @@
...
@@ -28,11 +25,11 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
</center>
</center>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
id=
"monthly-volume-chart"
></div>
<div
id=
"monthly-volume-chart"
></div>
</div>
</div>
<div
id=
"content_loader"
>
<div
id=
"content_loader"
>
<br>
<br>
<center>
<center>
...
@@ -104,7 +101,7 @@
...
@@ -104,7 +101,7 @@
<button id="ImportList" onclick="GetUserPortfolio();" class="btn btn-warning">
<button id="ImportList" onclick="GetUserPortfolio();" class="btn btn-warning">
Import a Corpus-List
Import a Corpus-List
</button>
</button>
</div> container
</div> container
--!>
--!>
...
@@ -115,11 +112,9 @@
...
@@ -115,11 +112,9 @@
-->
-->
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
bootstrap
/
bootstrap
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<!-- custom-lib for dynatable.js and dc.js -->
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
js
/
gargantext
/
NGrams_dyna_chart_and_table
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
gargantext
/
NGrams_dyna_chart_and_table
.
js
"
%}"
></script>
{% endblock %}
{% endblock %}
templates/pages/corpora/titles.html
View file @
b7f77f0d
{% extends "pages/menu.html" %}
{% extends "pages/menu.html" %}
{% block css %}
{% load staticfiles %}
{% load staticfiles %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
bootstrap
.
css
"
%}"
>
{% block css %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
d3
/
dc
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
d3
/
dc
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
jquery
/
jquery
.
dynatable
.
css
"%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
jquery
/
jquery
.
dynatable
.
css
"%}"
/>
...
@@ -98,8 +96,6 @@
...
@@ -98,8 +96,6 @@
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
bootstrap
/
bootstrap
.
min
.
js
"
%}"
></script>
<!-- here goes import script js/bootstrap/bootstrap-multiselect.js, mais ca marche pas-->
<!-- here goes import script js/bootstrap/bootstrap-multiselect.js, mais ca marche pas-->
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
...
...
templates/pages/main/about.html
View file @
b7f77f0d
{% extends "pages/menu.html" %}
{% extends "pages/menu.html" %}
{% load staticfiles %}
{% block css %}
{% block css %}
{% load staticfiles %}
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootstrap
.
css
"
%}"
/>
<script
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
...
...
templates/pages/main/home.html
View file @
b7f77f0d
{% extends "pages/menu.html" %}
{% extends "pages/menu.html" %}
{% load staticfiles %}
{% block css %}
{% block css %}
{% load staticfiles %}
<link
rel=
"stylesheet"
href=
"{% static "
css
/
bootstrap
.
css
"
%}"
>
<script
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
<script
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
type=
"text/javascript"
></script>
...
...
templates/pages/menu.html
View file @
b7f77f0d
This diff is collapsed.
Click to expand it.
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