Make dev dashboard columns a bit prettier

We don't need to force widths on the upper tables, and ensure the todo list
description can wrap if it is a long one.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2010-11-30 11:42:44 -06:00
parent 14c8833cf0
commit f2147cdeec

View File

@ -11,7 +11,7 @@ <h3>My Flagged Packages</h3>
<table id="dash-myflagged" class="results dash-stats">
<thead>
<tr>
<th class="key">Name</th>
<th>Name</th>
<th>Repo</th>
<th>Version</th>
<th>Arch</th>
@ -42,7 +42,7 @@ <h3>My Incomplete Todo List Packages</h3>
<thead>
<tr>
<th>Todo List</th>
<th class="key">Name</th>
<th>Name</th>
<th>Repo</th>
<th>Arch</th>
<th>Maintainer(s)</th>
@ -78,10 +78,10 @@ <h3>Package Todo Lists</h3>
<tbody>
{% for todo in todos %}
<tr class="{% cycle 'odd' 'even' %}">
<td class="key"><a href="{{ todo.get_absolute_url }}"
<td><a href="{{ todo.get_absolute_url }}"
title="View todo list: {{ todo.name }}">{{ todo.name }}</a></td>
<td>{{ todo.date_added }}</td>
<td>{{ todo.description|safe }}</td>
<td class="wrap">{{ todo.description|safe }}</td>
</tr>
{% empty %}
<tr class="empty"><td colspan="3"><em>No package todo lists to display</em></td></tr>