Ignore:
Timestamp:
05/16/13 12:52:40 (11 years ago)
Author:
BSanchezRZG
Message:

Update with sorting choice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CenterRegistry/trunk/templates/center/EP_list.html

    r2807 r2895  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2 <html>
    3 <head>
    4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    5 <title>OAI-PMH endpoints</title>
    6 </head>
    7 <body>
    8 <h1> List of {{ title }}</h1>
    9 
     1{% extends "center/base.html" %}
     2{% block "extrahead" %}
     3        <style type="text/css">
     4                .col0 { width: 4em; }
     5                .col1 { width: 8em; }
     6                .col2 { width: 20em; }
     7                .col3 { width: 8em; }
     8                .col4 { width: 14em; }
     9        </style>
     10{% endblock %}
     11{% block "maincontent" %}
    1012<table border=1 class="bgcolor1" cellspacing=0 cellpadding=6  width="100%" >
    1113   <tr>
     
    1618            <td width="120" align="center" > <b> OaiAccessPoint </b></td>
    1719            </tr></table></td>
    18             <td width="120" align="links" > <b> Administrative Contact </b></td>
    1920   </tr>
    2021{% for center in center_list %}
    2122 <tr>
    22  <td> <a href="/centers/{{center.id }}" >{{center.code}}</a></td>
     23 <td> <a href="/centers/{{ center.id }}">{{center.code}}</a></td>
    2324 <td> <table border=0 class="bgcolor1" cellspacing=0 cellpadding=6  width="100%" >
    2425 {% for choice in center.metadata.all %}
     
    2829 , {{choice2.name}}
    2930 {% endfor %}   </td>
    30  <td align="links"><a href="{{choice.OAI_accespoint}}" > {{choice.OAI_accespoint}} </td>
     31 <td align="right"><a href="{{choice.OAI_accespoint}}" > {{choice.OAI_accespoint}} </td>
    3132 {% endfor %}
    3233  </tr>
    3334 </table> </td>
    34 <td> <a href="{{ center.admin_contact.website }}" > {{center.admin_contact.website}}</a></td>
    3535 </tr>
    36  {% endfor %}
     36 {% endfor %} 
    3737</table>
    38 </body>
    39 </html>
     38<
     39{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.