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
9a5f2481
Commit
9a5f2481
authored
May 03, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working links in corpora exploration navbar
parent
728cf04c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
38 deletions
+34
-38
journals.html
templates/pages/corpora/journals.html
+4
-5
terms.html
templates/pages/corpora/terms.html
+6
-7
titles.html
templates/pages/corpora/titles.html
+0
-1
menu.html
templates/pages/menu.html
+24
-25
No files found.
templates/pages/corpora/journals.html
View file @
9a5f2481
...
...
@@ -32,11 +32,11 @@
<div
class=
"clearfix"
></div>
</center>
</div>
<div
class=
"row"
>
<div
id=
"monthly-volume-chart"
></div>
</div>
<div
id=
"content_loader"
>
<br>
<center>
...
...
@@ -77,14 +77,13 @@
</div>
<!-- /row with the dynatable panels -->
</div>
<!-- /jumbotron -->
<!--
</div> Alignment
<!--
</div> Alignment
</div> (these divs are closed by the menu)
/container -->
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<!-- custom-lib for dynatable.js and dc.js -->
...
...
templates/pages/corpora/terms.html
View file @
9a5f2481
{% extends "pages/menu.html" %}
{% block css %}
{% load staticfiles %}
{% block css %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
bootstrap
.
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
"%}"
/>
...
...
@@ -11,7 +12,6 @@
<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
/
dc
.
js
"%}"
></script>
{% endblock %}
...
...
@@ -28,11 +28,11 @@
<div
class=
"clearfix"
></div>
</center>
</div>
<div
class=
"row"
>
<div
id=
"monthly-volume-chart"
></div>
</div>
<div
id=
"content_loader"
>
<br>
<center>
...
...
@@ -104,7 +104,7 @@
<button id="ImportList" onclick="GetUserPortfolio();" class="btn btn-warning">
Import a Corpus-List
</button>
</div> container
</div> container
--!>
...
...
@@ -115,10 +115,9 @@
-->
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
dynatable
.
js
"
%}"
></script>
<!-- custom-lib for dynatable.js and dc.js -->
<script
type=
"text/javascript"
src=
"{% static "
js
/
gargantext
/
NGrams_dyna_chart_and_table
.
js
"
%}"
></script>
{% endblock %}
templates/pages/corpora/titles.html
View file @
9a5f2481
...
...
@@ -98,7 +98,6 @@
</div>
</div>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
<!-- 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>
...
...
templates/pages/menu.html
View file @
9a5f2481
...
...
@@ -2,6 +2,7 @@
{% load staticfiles %}
<head>
<link
rel=
"shortcut icon"
href=
"{% static "
/
favicon
.
ico
"
%}"
>
<script
type=
"text/javascript"
src=
"{% static "
js
/
jquery
/
jquery
.
min
.
js
"
%}"
></script>
{% block css %}
{% endblock %}
</head>
...
...
@@ -59,7 +60,7 @@
<li
class=
"divider"
></li>
{% if user.is_authenticated %}
<li>
<a
tabindex=
"-1"
href=
"/auth/logout"
<a
tabindex=
"-1"
href=
"/auth/logout"
title=
"Click here to logout especially on public devices"
>
<span
class=
"glyphicon glyphicon-log-out"
aria-hidden=
"true"
></span>
Logout
...
...
@@ -76,14 +77,16 @@
<div
class=
"container"
>
<ul
class=
"nav nav-tabs navbar-static-top nav-justified"
>
<li>
<a
type=
"button"
class=
"btn btn-default {% if view == "
titles
"
%}
active
{%
endif
%}"
href=
"/projects/{{project.id}}/corpora/{{ corpus.id }}/"
>
Titles
<a
type=
"button"
class=
"btn btn-default {% if view == 'titles' %} active {% endif %}"
onclick=
"javascript:location.href='/projects/{{project.id}}/corpora/{{ corpus.id }}/'"
data-target=
'#'
href=
'#'
>
Titles
</a>
</li>
<li>
<a
type=
"button"
class=
"btn btn-default {% if view == "
journals
"
%}
active
{%
endif
%}"
href=
"/projects/{{project.id}}/corpora/{{ corpus.id }}/journals"
>
Journals
<a
type=
"button"
class=
"btn btn-default {% if view == 'journals' %} active {% endif %}"
onclick=
"javascript:location.href='/projects/{{project.id}}/corpora/{{ corpus.id }}/journals'"
data-target=
'#'
href=
'#'
>
Journals
</a>
</li>
...
...
@@ -93,17 +96,18 @@
{% if state.complete %}
<li>
<a
type=
"button"
class=
"btn btn-default
{% if view == "
terms
"
%}
active
{%
endif
%}"
href=
"/projects/{{project.id}}/corpora/{{ corpus.id }}/terms"
>
Terms
</a>
<a
type=
"button"
class=
"btn btn-default {% if view == 'terms' %} active {% endif %}"
onclick=
"javascript:location.href='/projects/{{project.id}}/corpora/{{ corpus.id }}/terms'"
data-target=
'#'
href=
'#'
>
Terms
</a>
</li>
<li
class=
"dropdown"
>
<a
type=
"button"
class=
"btn btn-default
"
>
<a
href=
"#"
class=
"dropdown-toggle btn btn-default"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false
"
>
Graphs
</a>
<
/li
>
<
span
class=
"caret"
></span
>
<ul
class=
"dropdown-menu"
>
<li>
<a
tabindex=
"-1"
type=
"button"
class=
"btn btn-default "
...
...
@@ -132,11 +136,11 @@
<br>
<br>
<!--
<a type="button" class="btn btn-default
<a type="button" class="btn btn-default
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">Export corpus</a>
--!>
<!-- <li class="divider"></li> --!>
<div class="row">
<div class="col-md-4">
{% if project %}
...
...
@@ -144,10 +148,10 @@
<span class="glyphicon glyphicon-book" aria-hidden="true"></span>
{{ project.name }}
</a>
<br>
<br>
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
{{ corpus.name }}
<br>
<br>
<span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
{{ corpus.date }}
</h3>
...
...
@@ -161,7 +165,7 @@
<!--
<a class="btn btn-default" role="button" href="/project/{{project.id}}/corpus/{{ corpus.id }}/corpus.csv">Download</a>
<a type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
<a type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
data-content='
<ul>
<li> Rename </li>
...
...
@@ -178,7 +182,7 @@
</div>
{% endif %}
{% endblock %}
...
...
@@ -196,7 +200,7 @@
<span
class=
"glyphicon glyphicon-registration-mark"
aria-hidden=
"true"
></span>
, version 3.0.0,
<a
href=
"http://www.cnrs.fr"
target=
"blank"
title=
"Institution that enables this project."
>
Copyrights
Copyrights
<span
class=
"glyphicon glyphicon-copyright-mark"
aria-hidden=
"true"
></span>
CNRS {{ date.year }}
</a>
...
...
@@ -222,7 +226,6 @@
});
});
</script>
<script type="text/javascript" src="{% static "js/jquery/jquery.min.js" %}"></script>
-->
<script
type=
"text/javascript"
src=
"{% static "
js
/
bootstrap
/
bootstrap
.
min
.
js
"
%}"
></script>
...
...
@@ -294,7 +297,3 @@
</body>
</html>
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