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
d9b4a482
Commit
d9b4a482
authored
Dec 08, 2015
by
delanoe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'samuel' into unstable
parents
fd6e272f
f05b31da
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
243 additions
and
116 deletions
+243
-116
Journals_dyna_chart_and_table.js
static/js/Journals_dyna_chart_and_table.js
+10
-0
NGrams_dyna_chart_and_table.js
static/js/NGrams_dyna_chart_and_table.js
+170
-115
terms.html
templates/corpus/terms.html
+63
-1
No files found.
static/js/Journals_dyna_chart_and_table.js
View file @
d9b4a482
...
@@ -275,6 +275,10 @@ function ulWriter(rowIndex, record, columns, cellWriter) {
...
@@ -275,6 +275,10 @@ function ulWriter(rowIndex, record, columns, cellWriter) {
return
'<tr data-stuff='
+
data_id
+
'>'
+
tr
+
'</tr>'
;
return
'<tr data-stuff='
+
data_id
+
'>'
+
tr
+
'</tr>'
;
}
}
function
Main_test
(
data
,
initial
)
{
function
Main_test
(
data
,
initial
)
{
...
@@ -480,15 +484,20 @@ function Main_test( data , initial) {
...
@@ -480,15 +484,20 @@ function Main_test( data , initial) {
// // // $("#score_column_id").children()[0].text = FirstScore
// // // $("#score_column_id").children()[0].text = FirstScore
// // // // MyTable.data('dynatable').process();
// // // // MyTable.data('dynatable').process();
if
(
$
(
".imadiv"
).
length
>
0
)
return
1
;
if
(
$
(
".imadiv"
).
length
>
0
)
return
1
;
$
(
'<br><br><div class="imadiv"></div>'
).
insertAfter
(
".dynatable-per-page"
)
$
(
'<br><br><div class="imadiv"></div>'
).
insertAfter
(
".dynatable-per-page"
)
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-record-count"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
$
(
".dynatable-pagination-links"
).
insertAfter
(
".imadiv"
)
return
"OK"
return
"OK"
}
}
$
(
"#corpusdisplayer"
).
hide
()
$
(
"#corpusdisplayer"
).
hide
()
console
.
log
(
window
.
location
.
href
+
"/journals.json"
)
console
.
log
(
window
.
location
.
href
+
"/journals.json"
)
...
@@ -502,6 +511,7 @@ $.ajax({
...
@@ -502,6 +511,7 @@ $.ajax({
// // Initializing the Charts and Table
// // Initializing the Charts and Table
var
result
=
Main_test
(
data
,
"FirstScore"
)
var
result
=
Main_test
(
data
,
"FirstScore"
)
console
.
log
(
result
)
console
.
log
(
result
)
$
(
"#corpusdisplayer"
).
show
()
$
(
"#corpusdisplayer"
).
show
()
$
(
"#content_loader"
).
remove
()
$
(
"#content_loader"
).
remove
()
$
(
"#corpusdisplayer"
).
click
()
$
(
"#corpusdisplayer"
).
click
()
...
...
static/js/NGrams_dyna_chart_and_table.js
View file @
d9b4a482
This diff is collapsed.
Click to expand it.
templates/corpus/terms.html
View file @
d9b4a482
...
@@ -238,12 +238,74 @@ input[type=radio]:checked + label {
...
@@ -238,12 +238,74 @@ input[type=radio]:checked + label {
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
id=
"pre_savechanges"
class=
"modal fade"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<h3
class=
"modal-title"
>
Do you want to apply these to the whole Project as well?:
</h3>
</div>
<div
class=
"modal-body"
>
<div
id=
"stoplist_content"
>
</div>
<!--
<ul class="nav nav-tabs">
<li class="active"><a id="stoplist" href="#stoplist_content">Stop List</a></li>
<li><a id="maplist" href="#maplist_content">Map List</a></li>
<li><a id="grouplist" href="#grouplist_content">Group List</a></li>
</ul>
<div class="tab-content">
<div id="stoplist_content" class="tab-pane fade in active">
<ul>
<li>jiji01</li>
<li>jiji02</li>
<li>jiji03</li>
</ul>
</div>
<div id="maplist_content" class="tab-pane fade">
qowieuoqiwueowq
</div>
<div id="grouplist_content" class="tab-pane fade">
asdhasjkdhasjdh
</div>
</div>
-->
<div
class=
"modal-footer"
>
<button
onclick=
"SaveGlobalChanges(this.id)"
id=
"nope"
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
No
</button>
<button
onclick=
"SaveGlobalChanges(this.id)"
id=
"yep"
type=
"button"
class=
"btn btn-primary"
>
Yes
</button>
</div>
</div>
</div>
</div>
</div>
<div
id=
"filter_search"
style=
"visibility:hidden"
>
<div
id=
"filter_search"
style=
"visibility:hidden"
>
...
@@ -264,7 +326,7 @@ input[type=radio]:checked + label {
...
@@ -264,7 +326,7 @@ input[type=radio]:checked + label {
<!-- </optgroup> -->
<!-- </optgroup> -->
</select>
</select>
<button
id=
"ImportList"
onclick=
"GetUserPortfolio();
$('#corpuses').modal('show');
"
class=
"btn btn-warning"
>
Import a Corpus-List
</button>
<button
id=
"ImportList"
onclick=
"GetUserPortfolio();"
class=
"btn btn-warning"
>
Import a Corpus-List
</button>
</div>
</div>
...
...
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