added basic pages + task import

This commit is contained in:
2025-01-26 00:53:17 +01:00
parent 6810fc976a
commit cd604e39a0
23 changed files with 425 additions and 6 deletions

19
templates/list.html Normal file
View File

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% load static %}
{% block head %}
<link rel="stylesheet" href="{% static "list.css" %}">
{% endblock %}
{% block main %}
<ul class="list">
{% for element in elements %}
<li data-id="{{ element.id }}">
{% block element %}{% endblock %}
<div class="actions">
{% block actions %}{% endblock %}
</div>
</li>
{% empty %}
<li class="empty">No {% block element_name %}{% endblock %} defined yet</li>
{% endfor %}
</ul>
{% endblock %}