|
|
|
@ -14,9 +14,10 @@
|
|
|
|
|
<h1 class="d-flex justify-content-center entete">Vue des articles</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<form class="margOp" method="POST" action="changeNbArticle">
|
|
|
|
|
<input name="nbArticle" type="number" min="0">
|
|
|
|
|
<input name="nbArticleAdmin" type="number" min="0">
|
|
|
|
|
<button type="submit">Change number of articles</button>
|
|
|
|
|
</form>
|
|
|
|
|
{% if dVue.data is defined %}
|
|
|
|
|
{% for article in dVue.data %}
|
|
|
|
|
<p class="caseInfo">
|
|
|
|
|
{{article.dateStr()}}<br>
|
|
|
|
@ -25,6 +26,9 @@
|
|
|
|
|
{{ article.getDescription() }}
|
|
|
|
|
</p>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% else %}
|
|
|
|
|
<p class="d-flex justify-content-center enTitre">Pas d'articles à afficher</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<script>
|
|
|
|
|
// Actualiser la page toutes les 5 secondes
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|