Changeset e499677
- Timestamp:
- Dec 26, 2011, 4:40:54 AM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 72a3d90
- Parents:
- d9137a7
- git-author:
- Alex Dehnert <adehnert@…> (12/26/11 04:40:54)
- git-committer:
- Alex Dehnert <adehnert@…> (12/26/11 04:40:54)
- Location:
- asadb
- Files:
-
- 3 edited
-
media/style/style.css (modified) (1 diff)
-
template/groups/group_list.html (modified) (2 diffs)
-
template/groups/groups_signatories.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/media/style/style.css
r754d5a4 re499677 220 220 } 221 221 222 tr.group-status-active.group-active-True td.group-status 223 { 224 background-color: green; 225 color: black; 226 } 227 tr.group-active-True td.group-status 228 { 229 background-color: yellow; 230 color: black; 231 } 232 tr.group-active-False td.group-status 233 { 234 background-color: red; 235 color: black; 236 } 237 222 238 223 239 /* Reset some stuff */ -
asadb/template/groups/group_list.html
rfbb362a re499677 17 17 <h2>The Groups</h2> 18 18 19 <table class='pretty-table '>19 <table class='pretty-table group-list'> 20 20 <thead> 21 21 <tr> 22 22 <th>Name</th> 23 <th>Status</th> 23 24 <th>Website</th> 24 25 <th>ASA DB</th> … … 29 30 <tbody> 30 31 {% for group in group_list %} 31 <tr >32 <tr class='group-status-{{group.group_status.slug}} group-active-{{group.group_status.is_active}}'> 32 33 <th>{{group.name}}</th> 34 <td class='group-status'>{{group.group_status}}</td> 33 35 <td>{% if group.website_url %}<a href='{{group.website_url}}'>Website</a>{%endif%}</td> 34 36 <td><a href='{% url groups:group-detail group.pk %}'>DB Entry</a></td> -
asadb/template/groups/groups_signatories.html
rce7fd92 re499677 29 29 {%for group, role_list in officers %} 30 30 <tr> 31 <th><a href='{% url groups:group-detail group.pk %}'>{{group}}</a> </th>31 <th><a href='{% url groups:group-detail group.pk %}'>{{group}}</a> ({{group.group_status}})</th> 32 32 {%for holders in role_list%} 33 33 <td>{% if holders %}<ul>{% for person in holders %}<li>{{person}}</li>{%endfor%}</ul>{% endif %}</td>
Note: See TracChangeset
for help on using the changeset viewer.