<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
    <!-- CSS -->
    <link rel="stylesheet" href="/~rorossetto/Php_RSS/fluxRSS/templates/CSS/myStyle.css" >
    <title>All Flux</title>
</head>
<body class="myBody margOp">
<a class="btn" href="/~rorossetto/Php_RSS/fluxRSS/admin/">Vue article</a>
<div class="margOp">
    <h1 class="d-flex justify-content-center entete">Liste flux</h1>
</div>
{% if dVue.data is defined %}
    {% for value in dVue.data %}
    <div class="margOp enTitre caseInfo">
        {{ value.getFlux() }}
        <form method="post" action="deleteFlux">
            <input type="hidden" name="flux" value="{{ value.getId() }}">
            <button class="margOp" type="submit">Delete Flux</button>
        </form>
    </div>
    {% endfor %}
{% else %}
    <p class="justify-content-center d-flex enTitre">Pas de flux présent</p>
{% endif %}
    <form method="POST" action="ajoutFlux">
        <input name="fluxAdd" type="text">
        <button type="submit">Ajouter Flux</button>
    </form>
</body>
</html>