source: CenterRegistry/trunk/templates/center/sc.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.4 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 
21 <table border=1 class="bgcolor1" cellspacing=0 cellpadding=6  width="100%" >
22  <tr>
23                                <th class="col1">Center</th>
24                        <th class="col2">Name</th>
25                        <th class="col3">Telephone</th>
26                        <th class="col2">Mail</th>
27                        <th class="col4">Webpage</th>   
28   </tr>
29  {% for center in centers %}
30        <tr>
31        <td> <a href="/centers/{{ center.id }}" >{{center.name}}</a></td>
32 <td> <a href="{{ center.security_contact.website }}" > {{center.security_contact}} </a> </td> 
33 <td> {{center.security_contact.telephone}}</td> 
34<td> {{center.security_contact.email}}</td>
35 <td><a href="{{ center.security_contact.website }}" > {{center.security_contact.website}}</a></td> 
36 
37 </tr>
38        {% endfor %}
39 </table>
40{% endblock %}
Note: See TracBrowser for help on using the repository browser.