From 1bac739c5cbf13163072d6929c43f686c4a828c9 Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 5 Apr 2008 13:26:48 -0700 Subject: Implemented todolist javascript sorting --- templates/todolists/list.html | 36 ++++++++++-------- templates/todolists/view.html | 86 ++++++++++++++++++++++++++++++------------- 2 files changed, 80 insertions(+), 42 deletions(-) (limited to 'templates/todolists') diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 980328a..6edf132 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -9,22 +9,26 @@ {% endif %}

Package ToDo lists

- - - - - - - - {% for list in lists %} - - - - - - - - {% endfor %} + + + + + + + + + + + {% for list in lists %} + + + + + + + + {% endfor %} +
NameCreation DateCreatorDescriptionStatus
{{ list.name }}{{ list.date_added }}{{ list.creator.get_full_name }}{{ list.description }}{% if list.complete %}Complete{% else %}Incomplete{% endif %}
NameCreation DateCreatorDescriptionStatus
{{ list.name }}{{ list.date_added }}{{ list.creator.get_full_name }}{{ list.description }}{% if list.complete %}Complete{% else %}Incomplete{% endif %}
{% endblock %} diff --git a/templates/todolists/view.html b/templates/todolists/view.html index b77e6e7..8fe6014 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -1,33 +1,67 @@ {% extends "base.html" %} - +{% block head %} + + + + +{% endblock %} {% block content %}

ToDo List: {{ list.name }}

- - - - - - - - - - {% for pkg in pkgs %} - - - - - - - - - {% endfor %} +
IDArchRepoNameMaintainerStatus
{{ pkg.pkg.id }}{{ pkg.pkg.arch.name }}{{ pkg.pkg.repo.name }}{{ pkg.pkg.pkgname }}{{ pkg.pkg.maintainer.get_full_name }} - {% if pkg.complete %} - Complete - {% else %} - Incomplete - {% endif %} -
+ + + + + + + + + + + + {% for pkg in pkgs %} + + + + + + + + + {% endfor %} +
IDArchRepoNameMaintainerStatus
{{ pkg.pkg.id }}{{ pkg.pkg.arch.name }}{{ pkg.pkg.repo.name }}{{ pkg.pkg.pkgname }}{{ pkg.pkg.maintainer.get_full_name }} + {% if pkg.complete %} + Complete + {% else %} + Incomplete + {% endif %} +
{% endblock %} -- cgit v1.2.3-24-g4f1b