Changeset bd72d5c for asadb/template
- Timestamp:
- Sep 15, 2011, 3:34:54 PM (15 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- 5c68184
- Parents:
- ceaf3bd (diff), fbb362a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Alex Dehnert <adehnert@…> (09/15/11 15:34:54)
- git-committer:
- Alex Dehnert <adehnert@…> (09/15/11 15:34:54)
- Location:
- asadb/template
- Files:
-
- 15 added
- 4 edited
-
base.html (modified) (1 diff)
-
form_utils/better_form.html (added)
-
form_utils/fields_as_trs.html (added)
-
groups/group_change_main.html (added)
-
groups/group_change_officers.html (added)
-
groups/group_detail.html (added)
-
groups/group_list.html (modified) (2 diffs)
-
groups/group_search.html (added)
-
groups/group_version.html (added)
-
groups/groups_signatories.html (added)
-
groups/note/detail.head.html (added)
-
groups/note/detail.row.html (added)
-
index.html (modified) (1 diff)
-
registration/login.html (modified) (1 diff)
-
membership/anti-hazing.txt (added)
-
membership/confirm.html (added)
-
membership/submit-confirm-email.txt (added)
-
membership/thanks.html (added)
-
membership/update.html (added)
Legend:
- Unmodified
- Added
- Removed
-
asadb/template/base.html
r37b65d6 rfbb362a 12 12 <ul class='tab-navigation'> 13 13 <li{% ifequal pagename "homepage" %} class='selected'{% endifequal %}><a href="{% url homepage %}">Home</a></li> 14 <li{% ifequal pagename "groups" %} class='selected'{% endifequal %}><a href="{% url group -list %}">Groups</a></li>14 <li{% ifequal pagename "groups" %} class='selected'{% endifequal %}><a href="{% url groups:list %}">Groups</a></li> 15 15 <li{% ifequal pagename "fysm" %} class='selected'{% endifequal %}><a href="{% url fysm %}">FYSM</a></li> 16 {% if user.is_staff %}<li><a href='{% url admin:index %}'>Admin</a></li>{% endif %} 16 17 </ul> 17 18 <div id='content'> -
asadb/template/groups/group_list.html
r140fc9e rfbb362a 6 6 <h1>MIT Student Groups</h1> 7 7 8 <h2>Search</h2> 9 10 <form action="" method="get"> 11 <table class='pretty-table'> 12 {{ filter.form.as_table }} 13 </table> 14 <input type="submit" value="Search" /> 15 </form> 16 17 <h2>The Groups</h2> 18 8 19 <table class='pretty-table'> 9 20 <thead> 10 21 <tr> 11 22 <th>Name</th> 23 <th>Website</th> 24 <th>ASA DB</th> 25 <th>Description</th> 12 26 <th>Meeting Time</th> 13 27 </tr> … … 16 30 {% for group in group_list %} 17 31 <tr> 18 <td>{% if group.website_url %}<a href='{{group.website_url}}'>{% endif %}{{group.name}}{%if group.website_url%}</a>{%endif%}</td> 32 <th>{{group.name}}</th> 33 <td>{% if group.website_url %}<a href='{{group.website_url}}'>Website</a>{%endif%}</td> 34 <td><a href='{% url groups:group-detail group.pk %}'>DB Entry</a></td> 35 <td>{{group.description}}</td> 19 36 <td>{{group.meeting_times}}</td> 20 37 </tr> -
asadb/template/index.html
r653a0e8 rfbb362a 7 7 8 8 <ul> 9 <li><a href='{%url group-list%}'>List of groups</a></li> 9 <li><a href='{%url groups:search%}'>Search groups</a></li> 10 <li><a href='{%url groups:list%}'>List of groups</a></li> 10 11 <li>First Year Summer Mailing<ul> 11 12 <li><a href='{%url fysm%}'>View the entries</a></li> 12 13 <li><a href='{%url fysm-select%}'>Submit an entry</a></li> 13 14 </ul></li> 15 {%if perms.groups.view_signatories %}<li><a href='{% url groups:signatories %}'>View Signatories</a></li>{%endif%} 14 16 </ul> 15 17 18 <h2>My Groups</h2> 19 20 {% if user.is_anonymous %} 21 <p><a href='{% url login %}'>Login</a> to see your groups.</p> 22 {% else %} 23 {%if not groups %} 24 <p>You do not currently appear to be listed with any groups.</p> 25 {% endif %} 26 {% endif %} 27 28 {% if groups %} 29 <ul> 30 {% for group in groups %} 31 <li><a href='{% url groups:group-detail group.pk %}'>{{group}}</a></li> 32 {%endfor%} 33 </ul> 34 {% endif %} 35 36 {% if has_perms %} 37 <h2>Permissions</h2> 38 39 <p>You have the following permissions:</p> 40 41 <table class='pretty-table'> 42 <tr> 43 <th>Name</th> 44 <th>Description</th> 45 </tr> 46 {% for perm_name, perm_desc in has_perms %} 47 <tr> 48 <td>{{perm_name}}</td> 49 <td>{{perm_desc}}</td> 50 </tr> 51 {% endfor %} 52 </table> 53 {% endif %} 54 16 55 {% endblock %} -
asadb/template/registration/login.html
rad48c42 r9879d18 15 15 <p>In the unlikely event that you have a username and password, you can log in below.</p> 16 16 17 <form method="post" action="{% url login %}">17 <form method="post" action="{% url login-password %}"> 18 18 {% csrf_token %} 19 19 <table>
Note: See TracChangeset
for help on using the changeset viewer.