Indent html (beautiful ^o^)
This commit is contained in:
parent
01817c0fcb
commit
1aa3a929c9
@ -1,28 +1,28 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Übersicht</h1>
|
<h1>Übersicht</h1>
|
||||||
<table style="width: 100%">
|
<table style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<th>id</th>
|
<th>id</th>
|
||||||
<th>computer</th>
|
<th>computer</th>
|
||||||
<th>status</th>
|
<th>status</th>
|
||||||
<th>vegetable</th>
|
<th>vegetable</th>
|
||||||
<th>spirit_animal</th>
|
<th>spirit_animal</th>
|
||||||
<th>operating_system</th>
|
<th>operating_system</th>
|
||||||
<th>check</th>
|
<th>check</th>
|
||||||
<th>house</th>
|
<th>house</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for row in file_data %}
|
{% for row in file_data %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ row[0] }}</th>
|
<th>{{ row[0] }}</th>
|
||||||
<th>{{ row[1] }}</th>
|
<th>{{ row[1] }}</th>
|
||||||
<th>{{ row[2] }}</th>
|
<th>{{ row[2] }}</th>
|
||||||
<th>{{ row[3] }}</th>
|
<th>{{ row[3] }}</th>
|
||||||
<th>{{ row[4] }}</th>
|
<th>{{ row[4] }}</th>
|
||||||
<th>{{ row[5] }}</th>
|
<th>{{ row[5] }}</th>
|
||||||
<th>{{ row[6] }}</th>
|
<th>{{ row[6] }}</th>
|
||||||
<th>{{ row[7] }}</th>
|
<th>{{ row[7] }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Übersicht</h1>
|
<h1>Übersicht</h1>
|
||||||
<table style="width: 100%">
|
<table style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<th>id</th>
|
<th>id</th>
|
||||||
<th>question</th>
|
<th>question</th>
|
||||||
<th>explanation</th>
|
<th>explanation</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for row in file_data %}
|
{% for row in file_data %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ row[0] }}</th>
|
<th>{{ row[0] }}</th>
|
||||||
<th>{{ row[1] }}</th>
|
<th>{{ row[1] }}</th>
|
||||||
<th>{{ row[2] }}</th>
|
<th>{{ row[2] }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user