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