Commit c805ef8f authored by delanoe's avatar delanoe

[CSS] Some tests with the sub-menu. In fact, the separator seems to be not a good idea.

parent 9a8dfdae
......@@ -37,7 +37,8 @@ def docs_by_titles(request, project_id, corpus_id):
'date': datetime.now(),
'project': project,
'corpus': corpus,
'view': 'titles'
'view': 'titles',
'user': request.user
},
)
......
......@@ -34,9 +34,11 @@
</center>
</div>
</div>
<div class="row">
<div id="monthly-volume-chart"></div>
</div>
<div id="content_loader">
<br>
<center>
......
......@@ -32,6 +32,7 @@
</center>
</div>
</div>
<div class="row">
<div id="monthly-volume-chart"></div>
</div>
......
......@@ -36,7 +36,7 @@
<ul class="nav pull-right">
<li class="dropdown">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="That is your login">
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="That is your username">
<i class="icon-user"></i>
{{ user.username }}
<i class="caret"></i>
......@@ -66,16 +66,23 @@
<div class="col-md-12">
<div class="btn-group btn-group-justified">
<center>
<a type="button" class="btn btn-default
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">Export corpus</a>
<!-- <li class="divider"></li> --!>
<a type="button" class="btn btn-default
{% if view == "titles" %}active{%endif%}"
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">By titles</a>
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/">Titles</a>
<a type="button" class="btn btn-default
{% if view == "journals" %}active{%endif%}"
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/journals">By journals</a>
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/journals">Journals</a>
<a type="button" class="btn btn-default
{% if view == "terms" %}active{%endif%}"
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/terms">By terms</a>
href="/projects/{{project.id}}/corpora/{{ corpus.id }}/terms">Terms</a>
<!-- <li class="divider"></li> --!>
<!-- FIXME put a separator here --!>
<a type="button" class="btn btn-default
{% if view == "charts" %}active{%endif%}"
......
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