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
3a9c755c
Commit
3a9c755c
authored
Oct 19, 2016
by
c24b
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First step : ok next step?
parent
a069af27
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
58 deletions
+11
-58
authors.html
templates/pages/corpora/authors.html
+1
-1
myGraphs.html
templates/pages/corpora/myGraphs.html
+1
-1
sources.html
templates/pages/corpora/sources.html
+1
-1
terms.html
templates/pages/corpora/terms.html
+1
-1
titles.html
templates/pages/corpora/titles.html
+1
-1
home.html
templates/pages/main/home.html
+1
-0
overview.html
templates/pages/projects/overview.html
+2
-51
project.html
templates/pages/projects/project.html
+3
-2
No files found.
templates/pages/corpora/authors.html
View file @
3a9c755c
...
...
@@ -87,5 +87,5 @@
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
Authors_dyna_chart_and_table
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
{% endblock %}
templates/pages/corpora/myGraphs.html
View file @
3a9c755c
...
...
@@ -193,7 +193,7 @@
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
<script
type=
"text/javascript"
>
// initial vars
...
...
templates/pages/corpora/sources.html
View file @
3a9c755c
...
...
@@ -87,5 +87,5 @@
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
Sources_dyna_chart_and_table
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
{% endblock %}
templates/pages/corpora/terms.html
View file @
3a9c755c
...
...
@@ -457,7 +457,7 @@ function listmergeCsvPost(theFile){
}
};
</script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
{% endblock %}
templates/pages/corpora/titles.html
View file @
3a9c755c
...
...
@@ -102,5 +102,5 @@
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
Docs_dyna_chart_and_table
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
{% endblock %}
templates/pages/main/home.html
View file @
3a9c755c
...
...
@@ -90,3 +90,4 @@
{% endblock %}
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
templates/pages/projects/overview.html
View file @
3a9c755c
...
...
@@ -182,58 +182,9 @@
</style>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
garganrest_projects
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
<script
type=
"text/javascript"
>
help
=
{
"#add"
:{
"title"
:
"Ajouter un projet"
,
"content"
:
"Clickez sur le bouton pour créer un nouveau projet"
,
"placement"
:
"bottom"
,
},
"#test"
:{
"title"
:
"This is a title"
,
"content"
:
"This is a content"
,
"placement"
:
"top"
,
},
}
$
(
".help"
).
each
(
function
(
i
,
el
)
{
id
=
el
.
id
div_id
=
"#"
+
id
console
.
log
(
div_id
)
btn
=
id
+
"-help"
info
=
help
[
div_id
]
console
.
log
(
info
)
help_icon
=
'<span type="button" id="'
+
btn
+
'"role="button" onclick="get_help();" class="glyphicon glyphicon-question-sign"></span>'
// help_button = '
<
button
'+
// '
data
-
toogle
=
"popover"
'+
// '
data
-
placement
=
"'+ info["
placement
"]+'"
'+
// '
title
=
"'+ info["
title
"]+'"
'+
// '
data
-
content
=
"'+ info["
content
"]+'"
'+
// '
data
-
container
=
"body"
'+
// '
data
-
trigger
=
"click"
'+
// '
id
=
"'+btn+'"
><
span
class
=
"glyphicon glyphicon-question-sign"
><
/span></
button
>
'
$(this).after(help_icon);
})
function get_help(){
console.log($(this.attr('
id
'));
};
// console.log($("#"+btn))
// pop = $("#"+btn)
// $(pop).popover({
// html:true,
// title : info["title"],
// content: '
<
p
class
=
"text-center"
>
'+info["content"]+'
<
/p>'
,
// container: 'body',
// trigger:"focus",
// placement: info["title"]["placement"],
// });
// $('#'+btn).popover("toogle");
// $(next_el).on("click", function(e){
// next_el
// })
// });
getProjects
();
// $(document).on("input#inoutName").bind('keypress', function(e) {
// if(e.keyCode==13){
...
...
templates/pages/projects/project.html
View file @
3a9c755c
...
...
@@ -56,9 +56,9 @@
<center>
<a
data-toggle=
"modal"
href=
"#addcorpus"
>
<button
<button
id=
"#corpus"
type=
"button"
class=
"btn btn-primary btn-lg"
class=
"btn btn-primary btn-lg
help
"
data-container=
"body"
data-toggle=
"popover"
data-placement=
"bottom"
...
...
@@ -331,6 +331,7 @@
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<script
type=
"text/javascript"
src=
"{% static "
lib
/
jquery
/
1
.
11
.
2
/
jquery-ui
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
lib
/
gargantext
/
help
.
js
"
%}"
></script>
<script
type=
"text/javascript"
>
var
corporaDivs
=
document
.
getElementsByClassName
(
'corpusElt'
)
...
...
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