<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="CSS/bootstrap.css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN">
    <title>All Articles</title>
</head>
<body>
{% for article in dVue.data %}
<p>
    {{article.dateStr()}}
    <img src="{{ article.getMediaContent }}"/>
    <a href="{{ article.getLink() }}" target="_blank">{{ article.getTitle() }}</a>
    {{ article.getDescription() }}
</p>
{% endfor %}
<script>
    // Actualiser la page toutes les 5 secondes
    setTimeout(function(){
        location.reload();
    }, 50000);
</script>
{% if not isAdmin %}
<a href="/~mapoint2/SAE/Php_RSS/fluxRSS/admin/connection">Connect</a>
{% else %}
<a href="/~mapoint2/SAE/Php_RSS/fluxRSS/user/deconnection">Déconnection</a>
{% endif %}
</body>
</html>