bkerr / Ann Arbor Government Documents
Matt Hampel's document upload / repository application. Brian Kerr has been helping clean it up.
Clone this repository (size: 2.2 MB): HTTPS / SSH
$ hg clone http://code.xca2.com/ann-arbor-government-documents
| commit 91: | 2d8f2ee26ba2 |
| parent 90: | 3a3b0cdcac29 |
| branch: | default |
Add zebra table styling, set column widths on search results page.
Changed (Δ56 bytes):
raw changeset »
templates/results.html (2 lines added, 2 lines removed)
Up to file-list templates/results.html:
23 |
23 |
<thead> |
24 |
24 |
<tr> |
25 |
25 |
<th>Recent documents</th> |
26 |
<th |
|
26 |
<th style="width: 10em;">Added</th> |
|
27 |
27 |
<th>From</th> |
28 |
28 |
<th>By</th> |
29 |
29 |
|
33 |
33 |
<tbody> |
34 |
34 |
|
35 |
35 |
{% for entry in results %} |
36 |
<tr |
|
36 |
<tr class="{% cycle 'odd' 'even' %}"> |
|
37 |
37 |
<td class="title"><a href="/doc/{{ entry.id }}">{{ entry.title }}</a></td> |
38 |
38 |
<td class="date">{{ entry.date_posted|date:"F j, Y" }}</td> |
39 |
39 |
<td class="entity"><a href="/origin/{{entry.entity.slug}}">{{ entry.entity.name }}</td> |
