32 lines
706 B
HTML
32 lines
706 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% load image_tags %}
|
|
|
|
{% block main_container %}
|
|
|
|
<h2>Nuage de tags</h2>
|
|
|
|
<div class="well">
|
|
<ul style="list-style-type: none;">
|
|
{% for tag in tags_list %}
|
|
<li style="display: inline;"><a href="{% url list-by-tag tag.id %}"><span style="font-size: {{ tag.occurence }} / {{ total }}">{{ tag.label }} ({{ tag.occurence }})</span></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
<h2>Derniers ajouts</h2>
|
|
|
|
<ul class="thumbnails">
|
|
{% for card in cards_list %}
|
|
<li class="span2">
|
|
<a href="{% url card-details card.id %}" class="thumbnail">
|
|
{% if card.image %}
|
|
<img src="{{card.image|crop}}" title="{{card.label}}" />
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endblock %}
|