source: CenterRegistry/trunk/templates/center/contacts.html @ 2895

Last change on this file since 2895 was 2895, checked in by BSanchezRZG, 11 years ago

Update with sorting choice

File size: 1.7 KB
Line 
1{% extends "center/base.html" %}
2
3{% block "extrahead" %}
4        <style type="text/css">
5                .col0 { width: 18em; }
6                table { empty-cells: show; font-size: 12px; }
7                .col1 { width: 18em; }
8                .col2 { width: 14em; }
9                .col3 { width: 11em; }
10                .col4 { width: 24em; }
11        </style>
12{% endblock %}
13
14{% block "maincontent" %}
15       <h2>List of all Centers Contacts</h2>       
16        Group by: <a href="?group_by=Admin">Admin</a> - <a href="?group_by=Technical">Technical</a> 
17        - <a href="?group_by=Security">Security</a> 
18        <br />
19  <h2>{{group_by}}</h2>
20              <table border=1 class="bgcolor1" cellspacing=0 cellpadding=6  width="100%" > 
21                <tr>
22                        <th class="col1">Center</th>
23                        <th class="col2">Name</th>
24                        <th class="col3">Telephone</th>
25                        <th class="col2">Mail</th>
26                        <th class="col4">Webpage</th>     
27                </tr>
28   {% for center in  centers %}
29              <tr>
30                <td class="col1" title="id={{center.id}}">
31                <a href="{% url centerregistry.views.center_detail center.id %}"> {{center.name}}</a></td>
32             <td> <a href="{{ center.admin_contact.website }}" > {{center.admin_contact}} </a> </td> 
33       <td> {{center.admin_contact.telephone}}</td> 
34 <td> {{center.admin_contact.email}}</td>
35 <td><a href="{{ center.tech_contact.website }}" > {{center.admin_contact.website}}</a></td> 
36                </tr>   
37   {% endfor %}
38                </table>
39                 
40             
41     
42{% endblock %} 
Note: See TracBrowser for help on using the repository browser.