--- a/src/iconolab/templates/iconolab/collection_home.html Fri Aug 12 14:50:12 2016 +0200
+++ b/src/iconolab/templates/iconolab/collection_home.html Fri Aug 12 14:50:23 2016 +0200
@@ -9,13 +9,12 @@
{% block content %}
<h2>Fonds {{collection.verbose_name}}</h2>
-
+
+ <p><strong>Images du fonds</strong></p>
<ul class="image-list-wrapper list-inline">
- <p><strong>Images du fonds</strong></p>
{% for item in collection.items.all %}
- <li class="small-image-wrapper">
-
+ <li class="small-image-wrapper" style="margin-bottom: 5px;">
<div class="image-container text-center" style="position: relative">
{% with item.images.first as image %}
{% thumbnail image.media "300x300" crop=False as im %}
@@ -23,11 +22,11 @@
<img v-el:small-image src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" />
</a>
{% endthumbnail %}
- <div class="fragment-infos">
+ <div class="object-infos">
<a class="btn btn-default btn-xs collection-home-btn" href="{% url 'item_detail' collection_name item.item_guid %}"><i class="fa fa-eye"></i> Détail de l'objet</a>
</div>
{% endwith %}
- </li>
+ </li>
{% endfor %}
</ul>
--- a/src/iconolab/templates/iconolab/detail_annotation.html Fri Aug 12 14:50:12 2016 +0200
+++ b/src/iconolab/templates/iconolab/detail_annotation.html Fri Aug 12 14:50:23 2016 +0200
@@ -47,7 +47,8 @@
{% else %}
<span class="glyphicon glyphicon-share"></span> Proposer une révision
{% endif %}
- </a>
+ </a>
+ <br>
{% endif %}
<br>
{% include "partials/annotation_stats_panel.html" with annotation=annotation label="Statistiques sur cette annotation:" %}
--- a/src/iconolab/templates/partials/header_search_form.html Fri Aug 12 14:50:12 2016 +0200
+++ b/src/iconolab/templates/partials/header_search_form.html Fri Aug 12 14:50:23 2016 +0200
@@ -1,15 +1,15 @@
<form method="GET" action="{% url 'haystack_search' %}" class="navbar-form navbar-left" role="search">
<div class="form-group">
- <input name="q" type="text" class="form-control" placeholder="Trouver une image...">
+ <input name="q" type="text" class="form-control input-sm" placeholder="Trouver une image...">
</div>
<div class="form-group">
- <select name="realm" class="form-control">
+ <select name="realm" class="form-control input-sm">
<option value="image">Images</option>
<option value="annotation">Annotations</option>
</select>
</div>
- <button type="submit" class="btn btn-default">Rechercher</button>
+ <button type="submit" class="btn btn-default btn-sm"><i class="fa fa-search" aria-hidden="true"></i></button>
</form>