Site plus joli pas responsive
This commit is contained in:
parent
ce694f617b
commit
6bc6b8c315
5 changed files with 238 additions and 94 deletions
|
@ -6,10 +6,8 @@
|
|||
{% get_solo 'mainsite.SiteConfiguration' as site_config %}
|
||||
|
||||
<div class="last-publication">
|
||||
<p>
|
||||
Demandez la
|
||||
<a href={% url "latestPublication" %}>dernière édition</a> !
|
||||
</p>
|
||||
<a href="{% url "latestPublication" %}">
|
||||
Demandez la <br />dernière édition !</a>
|
||||
</div>
|
||||
|
||||
{{ site_config.homepageText | markdownify }}
|
||||
|
|
|
@ -13,22 +13,22 @@ Millésime {{ year_range }}
|
|||
|
||||
<div class="intro-text">{{ intro_text | markdownify }}</div>
|
||||
|
||||
<table class="publication-list">
|
||||
<ul class="publication-list">
|
||||
{% for bocal in publications %}
|
||||
<tr class="publication-entry">
|
||||
<li class="publication-entry">
|
||||
{% if bocal.unknown_date %}
|
||||
<td class="publication-date">Date inconnue</td>
|
||||
<span class="publication-date">Date inconnue</span>
|
||||
{% else %}
|
||||
<td class="publication-date">{{ bocal.date | date:"d/m/Y" }}</td>
|
||||
<span class="publication-date">{{ bocal.date | date:"d/m/Y" }}</span>
|
||||
{% endif %}
|
||||
<td class="publication-body">
|
||||
<span class="publication-body">
|
||||
<a href="{{ bocal.url }}" title="Lire le BOcal !">{{ bocal }}</a>
|
||||
|
||||
{% if bocal.descr %}
|
||||
: <span class="publication-descr">{{ bocal.descr }}</span>
|
||||
<span class="publication-descr">{{ bocal.descr }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
<a class="overlay" href="{{ bocal.url }}" title="Lire {{ bocal|escapejs }} !"></a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</ul>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue