Todo list styling and info cleanups

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-03-07 21:23:42 -06:00
parent 0c6ee81eb4
commit e82a4d5b9c
4 changed files with 13 additions and 13 deletions

View File

@ -248,18 +248,15 @@ table.dash-stats .key { width: 50%; }
span.dash-click { font-weight: normal; font-size: 0.8em; color: #888; }
div.dash-stats h3 { color: #07b; }
/* read only (public) todo lists */
#public_todo_lists .todo_list {
margin-left: 2em;
}
/* dev dashboard: admin actions (add news items, todo list, etc) */
ul.admin-actions { float: right; list-style: none; margin-top: -2.5em; }
ul.admin-actions li { display: inline; padding-left: 1.5em; }
/* dev: todo list */
/* todo lists (public and private) */
.todo-table .complete { color: green; }
.todo-table .incomplete { color: red; }
.todo-info { margin: 0; color: #999; }
.todo-list h4 { margin-top: 0; margin-bottom: 0.4em; }
/* dev: signoff page */
#dev-signoffs ul { list-style: none; margin: 0; padding: 0; }

View File

@ -32,7 +32,7 @@ <h2>Package Todo Lists</h2>
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|safe }}</td>
<td class="wrap">{{ list.description|urlize }}</td>
<td>{{ list.pkg_count }}</td>
<td>{{ list.incomplete_count }}</td>
<td>{% ifequal list.incomplete_count 0 %}<span class="complete">Complete</span>

View File

@ -22,13 +22,14 @@ <h3>Open Developer Todo Lists</h3>
</div>
</div>
{% if todo_lists %}
<div id="public_todo_lists">
<div id="public-todo-lists">
{% for list in todo_lists %}
<div class="box">
<div class="todo-list">
<a name="{{ list.id }}"></a>
<h4>{{ list.name }}</h4>
<div class="todo_list">
<div>{{ list.description|safe|linebreaks }}</div>
<p class="todo-info">{{ list.date_added|date }} - {{ list.creator.get_full_name }}</p>
<div>{{ list.description|urlize|linebreaks }}</div>
<table id="todo-pkglist-{{ list.id }}" class="results todo-table">
<thead>
<tr>

View File

@ -17,7 +17,9 @@ <h2>Todo List: {{ list.name }}</h2>
{% endif %}
</ul>
<p>{{list.description|safe|linebreaks}}</p>
<p class="todo-info">{{ list.date_added|date }} - {{ list.creator.get_full_name }}</p>
<div>{{list.description|urlize|linebreaks}}</div>
<table id="dev-todo-pkglist" class="results todo-table">
<thead>