table > list

parent a3d678b9
......@@ -38,14 +38,24 @@
<i class="ui database icon"></i>
Tes données
</h2>
<div class="ui relaxed divided list">
{% comment %} <div class="ui relaxed divided list">
{% for field, value in data %}
<div class="item content">
<p class="header">{{ field }}</p>
<p class="description">{% if value == True %}<i class="ui green check circle icon"></i>{% elif value == False %}<i class="ui red close icon"></i>{% else %}{{ value }}{% endif %}</p>
</div>
{% endfor %}
</div>
</div> {% endcomment %}
<table class="ui very basic collapsing celled table">
<tbody>
{% for field, value in data %}
<tr>
<td><p class="header">{{ field }}</p></td>
<td><p class="description">{% if value == True %}<i class="ui green check circle icon"></i>{% elif value == False %}<i class="ui red close icon"></i>{% else %}{{ value }}{% endif %}</p></td>
</tr>
{% endfor %}
</tbody>
</table>
<div class="ui center aligned container">
<button onclick="$('.ui.modal').modal('show')" class="ui red button">Supprimer mon compte</button>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment