2007-11-03 00:45:10 -07:00
|
|
|
{% extends "base.html" %}
|
2010-03-01 19:43:52 -08:00
|
|
|
{% block title %}Arch Linux - Todo Lists{% endblock %}
|
2007-11-03 00:45:10 -07:00
|
|
|
|
|
|
|
{% block content %}
|
2010-03-16 11:22:54 -07:00
|
|
|
<div id="dev-todo" class="box">
|
|
|
|
|
|
|
|
<h2>Package Todo Lists</h2>
|
|
|
|
|
|
|
|
{% if perms.main.add_todolist %}
|
|
|
|
<ul class="admin-actions">
|
|
|
|
<li><a href="/todo/add/" title="Add new todo list">Add Todo List</a></li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<table id="dev-todo-lists" class="results">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Creation Date</th>
|
|
|
|
<th>Creator</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Status</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2008-04-05 13:26:48 -07:00
|
|
|
{% for list in lists %}
|
2010-03-16 11:22:54 -07:00
|
|
|
<tr class="{% cycle 'odd' 'even' %}">
|
2010-07-22 12:59:34 -07:00
|
|
|
<td><a href="{{ list.get_absolute_url }}"
|
2010-03-16 11:22:54 -07:00
|
|
|
title="View todo list: {{ list.name }}">{{ list.name }}</a></td>
|
|
|
|
<td>{{ list.date_added }}</td>
|
|
|
|
<td>{{ list.creator.get_full_name }}</td>
|
|
|
|
<td class="wrap">{{ list.description }}</td>
|
|
|
|
<td>{% if list.complete %}<span class="complete">Complete</span>
|
|
|
|
{% else %}<span class="incomplete">Incomplete</span>{% endif %}</td>
|
|
|
|
</tr>
|
2008-04-05 13:26:48 -07:00
|
|
|
{% endfor %}
|
2010-03-16 11:22:54 -07:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2010-08-27 07:20:14 -07:00
|
|
|
</div>
|
|
|
|
{% load cdn %}{% jquery %}
|
|
|
|
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
2010-08-27 07:33:16 -07:00
|
|
|
$(".results").tablesorter({widgets: ['zebra'], sortList: [[1,1]]});
|
2010-08-27 07:20:14 -07:00
|
|
|
});
|
|
|
|
</script>
|
2007-11-03 00:45:10 -07:00
|
|
|
{% endblock %}
|