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
e91c3ca8
Commit
e91c3ca8
authored
May 04, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CSS] Icones alignement + bar progression
parent
14ce4cff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
494 additions
and
524 deletions
+494
-524
overview.html
templates/pages/projects/overview.html
+31
-26
project.html
templates/pages/projects/project.html
+463
-498
No files found.
templates/pages/projects/overview.html
View file @
e91c3ca8
...
@@ -79,11 +79,15 @@
...
@@ -79,11 +79,15 @@
<div
id=
"project_{{project.id}}"
class=
"row"
>
<div
id=
"project_{{project.id}}"
class=
"row"
>
<h3>
<h3>
<div
class=
"col-md-5 content"
>
<a
<a
href=
"/projects/{{ project.id }}"
>
href=
"/projects/{{ project.id }}"
>
<span
class=
"glyphicon glyphicon-book"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-book"
aria-hidden=
"true"
></span>
{{ project.name }}
{{ project.name }}
</a>
</a>
</div>
<div
class=
"col-md-3 content"
>
<a
href=
"/projects/{{project.id}}"
>
<a
href=
"/projects/{{project.id}}"
>
<button
type=
"button"
class=
"btn btn-default"
aria-label=
"Left Align"
>
<button
type=
"button"
class=
"btn btn-default"
aria-label=
"Left Align"
>
<span
class=
"glyphicon glyphicon-eye-open"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-eye-open"
aria-hidden=
"true"
></span>
...
@@ -99,12 +103,13 @@
...
@@ -99,12 +103,13 @@
<li onclick="
<li onclick="
garganrest.nodes.delete({{project.id}}, function(){$('#project_'+{{project.id}}).remove()});
garganrest.nodes.delete({{project.id}}, function(){$('#project_'+{{project.id}}).remove()});
$(this).parent().parent().remove();
$(this).parent().parent().remove();
"><a href="#">Delete</a></li>
"><a href="#">Delete</a>
</li>
</ul>
</ul>
"
>
"
>
<span
class=
"glyphicon glyphicon-trash
"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-trash pull-right
"
aria-hidden=
"true"
></span>
</button>
</button>
</
li
>
</
div
>
{% if common_users %}
{% if common_users %}
<!-- <a style="cursor:pointer;"><img class="share_button" data-id="{{ project.id }}" title="Share it!" width="20px" src="{% static "img/share.png" %}"></img></a> --!>
<!-- <a style="cursor:pointer;"><img class="share_button" data-id="{{ project.id }}" title="Share it!" width="20px" src="{% static "img/share.png" %}"></img></a> --!>
{% endif %}
{% endif %}
...
...
templates/pages/projects/project.html
View file @
e91c3ca8
...
@@ -73,50 +73,53 @@
...
@@ -73,50 +73,53 @@
{% if list_corpora %}
{% if list_corpora %}
{% for key, corpora in list_corpora.items %}
{% for key, corpora in list_corpora.items %}
<h2>
<h2>
<div
class=
"row"
>
<span
class=
"glyphicon glyphicon-cd"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-cd"
aria-hidden=
"true"
></span>
{{ key }}
{{ key }}
</h2>
</h2>
{% for corpus in corpora %}
{% for corpus in corpora %}
<div
id=
"corpus_{{corpus.id}}"
>
<div
id=
"corpus_{{corpus.id}}"
>
{% ifequal corpus.processing 1 %}
<div
class=
"row"
>
{{corpus.name}}:
<img
width=
"20px"
src=
"{% static "
js
/
libs
/
img2
/
loading-bar
.
gif
"
%}"
>
Processing, drink a cup of tea, and refresh the page :)
{% else %}
<h4>
<h4>
<div
class=
"col-md-5 content"
>
<a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
<a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
<span
class=
"glyphicon glyphicon-file"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-file"
aria-hidden=
"true"
></span>
{{corpus.name}}, {{ corpus.count }} documents {{ corpus.status_message }}
{{corpus.name}}, {{ corpus.count }} documents {{ corpus.status_message }}
</a>
</a>
</div>
<div
class=
"col-md-2 content"
>
<a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
<a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
<button
type=
"button"
class=
"btn btn-default"
aria-label=
"Left Align"
>
<button
type=
"button"
class=
"btn btn-default"
aria-label=
"Left Align"
>
<span
class=
"glyphicon glyphicon-eye-open"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-eye-open"
aria-hidden=
"true"
></span>
</button>
</button>
</a>
</a>
{% endifequal %}
<button
type=
"button"
class=
"btn btn-default"
data-container=
"body"
data-toggle=
"popover"
data-placement=
"bottom"
<button
type=
"button"
class=
"btn btn-default"
data-container=
"body"
data-toggle=
"popover"
data-placement=
"bottom"
data-content=
"
data-content=
"
<ul>
<ul>
<!--
<li>Rename</li>
<li>Add new documents</li>
--!>
<li
<li
onclick="
onclick="
garganrest.nodes.delete({{corpus.id}}, function(){$('#corpus_'+{{corpus.id}}).remove()});
garganrest.nodes.delete({{corpus.id}}, function(){$('#corpus_'+{{corpus.id}}).remove()});
$(this).parent().parent().remove();
$(this).parent().parent().remove();
">
">
<a href="#">I want to d
elete this</a>
<a href="#">D
elete this</a>
</li>
</li>
</ul>
</ul>
"
>
"
>
<span
class=
"glyphicon glyphicon-trash"
aria-hidden=
"true"
></span>
<span
class=
"glyphicon glyphicon-trash"
aria-hidden=
"true"
></span>
</button>
</button>
</h4
>
</div
>
<p>
<div
class=
"col-md-5 content"
>
{% for state in corpus.hyperdata.statuses %}
{% ifequal state.action "ngrams_extraction" %}
{% if state.complete %}
<span
class=
"glyphicon glyphicon-ok"
aria-hidden=
"true"
></span>
{% else %}
{% if state.error %}
<span
class=
"glyphicon glyphicon-exclamation-sign"
aria-hidden=
"true"
></span>
{% else %}
<div
class=
"progress"
>
<div
class=
"progress"
>
{% for state in corpus.hyperdata.statuses %}
{% for state in corpus.hyperdata.statuses %}
{% ifequal state.action "parsing" %}
{% ifequal state.action "parsing" %}
...
@@ -162,56 +165,18 @@
...
@@ -162,56 +165,18 @@
{% endfor %}
{% endfor %}
</div>
</div>
</p>
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
{% if list_corporax %}
<div
class=
"col-md-4"
>
<h3>
<a
href=
"/projects/{{project.id}}/corpora/{{corpus.id}}"
>
{{corpus.name}}
</a>
</h3>
<h4>
{{ corpus.count }} documents
</h4>
<h5>
Activity:
</h5>
<div
class=
"chart"
data-percent=
"73"
>
73%
</div>
</div>
{% endif %}
{% endif %}
{% endifequal %}
{% if whitelists %}
<h2>
Lists of Ngrams
</h2>
<h3>
White Lists
</h3>
<ul>
{% for list in whitelists %}
<li>
{{list.name }}
</li>
{% endfor %}
{% endfor %}
</ul>
</div>
{% endif %}
</h4>
</div>
{% if blacklists %}
</div>
<h3>
Black Lists
</h3>
<ul>
{% for list in blacklists %}
<li>
{{list.name}}
</li>
{% endfor %}
{% endfor %}
</ul>
{% endif %}
{% if cooclists %}
<h2>
Results (graphs)
</h2>
<h3>
Cooccurrences Lists
</h2>
<ul>
{% for list in cooclists %}
<li>
{{list.name }}
</ul>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
</div>
<!-- Modal -->
<!-- Modal -->
<div
class=
"modal fade"
id=
"stack1"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"stack1"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
...
...
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