Commit 9a1d6406 authored by delanoe's avatar delanoe

[ERGO] adding some glyphs (icons) in order to facilitate navigation.

parent 813415ad
...@@ -27,7 +27,11 @@ ...@@ -27,7 +27,11 @@
<h2 class="panel-title"> <h2 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseVersions"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseVersions">
<center> <center>
<h2>Versions</h2> <h2>
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
Versions
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
</h2>
</center> </center>
</a> </a>
</h2> </h2>
...@@ -86,7 +90,11 @@ ...@@ -86,7 +90,11 @@
<h2 class="panel-title"> <h2 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseCommunity"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseCommunity">
<center> <center>
<h2>Community</h2> <h2>
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
Community
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
</h2>
</center> </center>
</a> </a>
</h2> </h2>
...@@ -130,7 +138,11 @@ ...@@ -130,7 +138,11 @@
<h2 class="panel-title"> <h2 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTeam"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTeam">
<center> <center>
<h2>Core team</h2> <h2>
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
Core team
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
</h2>
</center> </center>
</a> </a>
</h2> </h2>
......
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
<div class="col-md-4 content"> <div class="col-md-4 content">
<h1>Gargantext</h1> <h1>Gargantext</h1>
<p>A web platform to explore text-mining</p> <p>A web platform to explore text-mining</p>
<a class="btn btn-primary btn-lg" href="/projects" title="Click and test by yourself">Test Gargantext <a class="btn btn-primary btn-lg" href="/projects" title="Click and test by yourself">
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
Enter in
</a> </a>
<p> <p>
<span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span> <span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
......
...@@ -21,16 +21,28 @@ ...@@ -21,16 +21,28 @@
<div class="navbar-collapse collapse"> <div class="navbar-collapse collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li><a href="/about/" title="More informations about the project, its sponsors and its authors.">About</a> <li><a href="/about/" title="More informations about the project, its sponsors and its authors.">
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
About
</a>
</li> </li>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li><a href="/projects/" title="All your projects are here.">Projects</a></li> <li><a href="/projects/" title="All your projects are here.">
<span class="glyphicon glyphicon-home" aria-hidden="true"></span>
Projects
</a></li>
{% endif %} {% endif %}
{% if project %} {% if project %}
<li><a href="/projects/{{project.id}}">{{project.name}}</a></li> <li><a href="/projects/{{project.id}}">
<span class="glyphicon glyphicon-book" aria-hidden="true"></span>
{{project.name}}
</a></li>
{% endif %} {% endif %}
{% if corpus %} {% if corpus %}
<li><a href="/projects/{{project.id}}/corpora/{{corpus.id}}">{{corpus.name}}</a></li> <li><a href="/projects/{{project.id}}/corpora/{{corpus.id}}">
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
{{corpus.name}}
</a></li>
{% endif %} {% endif %}
</ul> </ul>
...@@ -38,14 +50,22 @@ ...@@ -38,14 +50,22 @@
<li class="dropdown"> <li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="That is your username"> <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="That is your username">
<i class="icon-user"></i> <i class="icon-user"></i>
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
{{ user.username }} {{ user.username }}
<i class="caret"></i> <i class="caret"></i>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a tabindex="-1" href="http://www.iscpif.fr/tiki-index.php?page=gargantext_feedback" title="Send us a message (bug, thanks, congrats...)">Report Feedback</a></li> <li><a tabindex="-1" href="http://www.iscpif.fr/tiki-index.php?page=gargantext_feedback" title="Send us a message (bug, thanks, congrats...)">
<span class="glyphicon glyphicon-bullhorn" aria-hidden="true"></span>
Report Feedback</a></li>
<li class="divider"></li> <li class="divider"></li>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li><a tabindex="-1" href="/auth/logout" title="Click here to logout especially on public devices">Logout</a></li> <li>
<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
</a></li>
{% else %} {% else %}
<li><a tabindex="-1" href="/auth/login">Login</a></li> <li><a tabindex="-1" href="/auth/login">Login</a></li>
{% endif %} {% endif %}
......
...@@ -39,7 +39,10 @@ ...@@ -39,7 +39,10 @@
data-container="body" data-container="body"
data-toggle="popover" data-toggle="popover"
data-placement="bottom" data-placement="bottom"
>Add a project</button> >
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add a project
</button>
<div id="popover-content" class="hide"> <div id="popover-content" class="hide">
<form enctype='multipart/form-data' action='/projects/' method='post'> <form enctype='multipart/form-data' action='/projects/' method='post'>
{% csrf_token %} {% csrf_token %}
...@@ -63,15 +66,27 @@ ...@@ -63,15 +66,27 @@
<div id="project_{{project.id}}" class="col-md-3 content"> <div id="project_{{project.id}}" class="col-md-3 content">
<h3><a href="/projects/{{ project.id }}">{{ project.name }}</a> <h3><a href="/projects/{{ project.id }}">{{ project.name }}</a>
<button type="button" class="btn btn-xs btn-default" data-container="body" data-toggle="popover" data-placement="bottom" </a>
<a href="/projects/{{project.id}}">
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
</button>
</a>
<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
data-content=" <ul> data-content=" <ul>
<!--
<li>Rename</li> <li>Rename</li>
--!>
<li onclick=&quot; <li onclick=&quot;
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();
&quot;><a href=&quot;#&quot;>Delete</a></li> &quot;><a href=&quot;#&quot;>Delete</a></li>
</ul> </ul>
">Manage</button> ">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
</li> </li>
{% 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> --!>
......
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
data-toggle="popover" data-toggle="popover"
data-placement="bottom" data-placement="bottom"
> >
Add a corpus <span class="glyphicon glyphicon-plus" aria-hidden="true" ></span>
Add a corpus
</button> </button>
</a> </a>
</center> </center>
...@@ -85,18 +86,32 @@ ...@@ -85,18 +86,32 @@
<a href="/projects/{{project.id}}/corpora/{{corpus.id}}"> <a href="/projects/{{project.id}}/corpora/{{corpus.id}}">
{{corpus.name}}, {{ corpus.count }} documents {{ corpus.status_message }} {{corpus.name}}, {{ corpus.count }} documents {{ corpus.status_message }}
</a> </a>
<a href="/projects/{{project.id}}/corpora/{{corpus.id}}">
<button type="button" class="btn btn-default" aria-label="Left Align">
<span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
</button>
</a>
{% endifequal %} {% endifequal %}
<button type="button" class="btn btn-xs 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>Rename</li>
<li>Add new documents</li> <li>Add new documents</li>
<li onclick=&quot; --!>
garganrest.nodes.delete({{corpus.id}}, function(){$('#corpus_'+{{corpus.id}}).remove()}); <li
$(this).parent().parent().remove(); onclick=&quot;
&quot;><a href=&quot;#&quot;>Delete</a></li> garganrest.nodes.delete({{corpus.id}}, function(){$('#corpus_'+{{corpus.id}}).remove()});
$(this).parent().parent().remove();
&quot;>
<a href=&quot;#&quot;>I want to delete this</a>
</li>
</ul> </ul>
">Manage</button> ">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -211,8 +226,14 @@ ...@@ -211,8 +226,14 @@
</form> </form>
<div class="modal-footer"> <div class="modal-footer">
<!-- <div id="pubmedcrawl" align="right" style="visibility: hidden;"><a data-toggle="modal" href="#stack1">&#10142; Query directly in PubMed</a></div> --> <!-- <div id="pubmedcrawl" align="right" style="visibility: hidden;"><a data-toggle="modal" href="#stack1">&#10142; Query directly in PubMed</a></div> -->
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-default" data-dismiss="modal">
<button onclick='bringDaNoise();' id="submit_thing" disabled class="btn btn-primary" >Process this!</button><span id="simpleloader"></span> <span class="glyphicon glyphicon-remove" aria-hidden="true" ></span>
Close
</button>
<button onclick='bringDaNoise();' id="submit_thing" disabled class="btn btn-primary" >
<span class="glyphicon glyphicon-ok" aria-hidden="true" ></span>
Process this!
</button><span id="simpleloader"></span>
</div> </div>
</div> </div>
</div><!-- /.modal-content --> </div><!-- /.modal-content -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment