mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 14:50:34 +01:00
29 lines
850 B
HTML
29 lines
850 B
HTML
{% extends "template.html" %}
|
|
|
|
{% block content %}
|
|
<h1>Humeurs de Mamie</h1>
|
|
<p>Définissez les statuts Discord qui changeront automatiquement toutes les 10 minutes pour donner de la personnalité à votre bot.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="table_td">Text</th>
|
|
<th class="table_td">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for humeur in humeurs %}
|
|
<tr>
|
|
<td class="table_td">{{humeur.text}}</td>
|
|
<td class="table_td"><a href="{{ url_for('delHumeur', id = humeur.id) }}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette humeur ?')">Supprimer</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<h2>Ajouter une humeur</h2>
|
|
<form action="{{ url_for('addHumeur') }}" method="POST">
|
|
<label for="text">Text</label>
|
|
<input name="text" type="text" />
|
|
<input type="Submit" value="Ajouter">
|
|
</form>
|
|
{% endblock %} |