refactor: moving to my own template, using fomantic instead of uikit. removing uikit, and some other removed stuff

This commit is contained in:
2024-01-15 21:55:28 +01:00
parent b5f9be7e5a
commit 8b42c94aa6
29 changed files with 564 additions and 37519 deletions

View File

@@ -1,13 +0,0 @@
{% extends "admin/base.html" %}
{% block content %}
{% if item_list %}
<ul>
{% for item in item_list %}
<li>{{ item.name }}</li>
{% endfor %}
</ul>
{% else %}
No Items found.
{% endif %}
{% endblock content %}

View File

@@ -0,0 +1,47 @@
{% extends "admin/base.jinja" %}
{% block content %}
{% block search_bar %}
<div class="ui icon input">
<input type="text" placeholder="Search...">
<i class="circular search link icon"></i>
</div>
{% endblock %}
{% if item_list %}
<div class="ui short scrolling container">
<table class="ui very compact celled table head stuck unstackable">
<caption>Table Caption</caption>
<thead>
<tr>
<th>Header1</th>
<th>Header2</th>
<th>Header3</th>
</tr>
</thead>
<tbody>
{% for item in item_list %}
<tr>
<td>{{ item.name}}</td>
<td>{{ item.age }}</td>
<td>{{ item }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
</tfoot>
</table>
</div>
{% set x="name" %}
<li>{{ item[x] }}</li>
</ul>
{% else %}
No Items found.
{% endif %}
{% endblock content %}