Changeset 8f46374


Ignore:
Timestamp:
Aug 2, 2012, 2:15:45 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
d90059c
Parents:
0229bd5
git-author:
Alex Dehnert <adehnert@…> (08/02/12 02:15:45)
git-committer:
Alex Dehnert <adehnert@…> (08/02/12 02:15:45)
Message:

Visualize distinguish inactive groups

Location:
asadb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • asadb/media/style/style.css

    r078e53a r8f46374  
    226226}
    227227
    228 tr.group-status-active.group-active-True td.group-status
     228.group-detail-page h1 + p.group-status { margin-top: -1em; margin-bottom: 2em; }
     229.group-detail-page.group-status-active h1          { color: black; }
     230.group-detail-page.group-status-applying h1        { color: red; }
     231.group-detail-page.group-status-nge h1             { color: yellow; }
     232.group-detail-page.group-status-provisional h1     { color: yellow; }
     233.group-detail-page.group-status-derecognized h1    { color: red; }
     234.group-detail-page.group-status-suspended h1       { color: yellow; }
     235
     236.group-list-page tr.group-status-active.group-active-True td.group-status
    229237{
    230238    background-color: green;
    231239    color: black;
    232240}
    233 tr.group-active-True td.group-status
     241.group-list-page tr.group-active-True td.group-status
    234242{
    235243    background-color: yellow;
    236244    color: black;
    237245}
    238 tr.group-active-False td.group-status
     246.group-list-page tr.group-active-False td.group-status
    239247{
    240248    background-color: red;
  • asadb/template/groups/group_detail.html

    r68c93e8 r8f46374  
    44{% block content %}
    55
     6<div class='group-detail-page group-status-{{group.group_status.slug}}'>
    67<h1>{{group.name}}{% if group.abbreviation %} ({{group.abbreviation}}){%endif%}</h1>
     8{% if group.group_status.slug != "active" %}<p class='group-status'><em>{{group.group_status.name}}</em></p>{%endif%}
    79
    810{% if adminpriv %}{% include "groups/group_tools.part.html" %}
     
    150152{% endif %}
    151153
     154</div>
    152155{% endblock %}
    153156
  • asadb/template/groups/group_list.html

    r8c7a670 r8f46374  
    44{% block content %}
    55
     6<div class='group-list-page'>
    67<h1>MIT Student Groups</h1>
    78
     
    4445</table>
    4546
     47</div>
    4648{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.