{% extends 'base_advance.html' %}
{% block title %}List{% endblock %}
{% block body_block %}
Welcome to Todolist site
Hello !{{ user.username }} 以下是你所有的Todo List
{% if item_list|length == 0 %}
当前没有未完成的事项
{% else %}
正在进行
Id |
itemname |
description |
Priority |
pub time |
{% for i in item_list %}
{{ i.id }} |
{{ i.item_name }} |
{{ i.item_descrip }} |
{{ i.item_prority }} |
{{ i.pub_time }} |
详情
|
{% endfor %}
{% endif %}
{% if item_donelist|length == 0 %}
当前没有已经完成的事项
{% else %}
已完成
Id |
itemname |
description |
Priority |
pub time |
{% for i in item_donelist %}
{{ i.id }} |
{{ i.item_name }} |
{{ i.item_descrip }} |
{{ i.item_prority }} |
{{ i.pub_time }} |
详情
|
{% endfor %}
{% endif %}
{% endblock %}