Commit 7ab7773a authored by delanoe's avatar delanoe

[CSS] Clearer, easier, better ?

parent a9c09396
...@@ -71,12 +71,13 @@ ...@@ -71,12 +71,13 @@
<div class="container"> <div class="container">
{% if list_corpora %} {% if list_corpora %}
<h2>Corpora</h2>
<ul> <ul>
{% for key, corpora in list_corpora.items %} {% for key, corpora in list_corpora.items %}
<li> <li>
<h2>
<span class="glyphicon glyphicon-cd" aria-hidden="true"></span> <span class="glyphicon glyphicon-cd" aria-hidden="true"></span>
{{ key }} {{ key }}
</h2>
<ul> <ul>
{% for corpus in corpora %} {% for corpus in corpora %}
<li id="corpus_{{corpus.id}}"> <li id="corpus_{{corpus.id}}">
...@@ -85,6 +86,7 @@ ...@@ -85,6 +86,7 @@
<img width="20px" src="{% static "js/libs/img2/loading-bar.gif" %}"> <img width="20px" src="{% static "js/libs/img2/loading-bar.gif" %}">
Processing, drink a cup of tea, and refresh the page :) Processing, drink a cup of tea, and refresh the page :)
{% else %} {% else %}
<h4>
<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 }}
...@@ -115,6 +117,7 @@ ...@@ -115,6 +117,7 @@
"> ">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span> <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button> </button>
</h4>
<p> <p>
<div class="progress"> <div class="progress">
......
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