Changeset 2045 for WAeUP_SRP/trunk


Ignore:
Timestamp:
22 Jul 2007, 15:52:50 (17 years ago)
Author:
Henrik Bettermann
Message:

beautifying

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getIdCardInfo.py

    r2043 r2045  
    5353    personal_doc = personal.getContent()
    5454    info['personal'] = personal_doc
    55    
    56 cert_id = sbrain.course
    57 res = context.portal_catalog(portal_type = "Certificate", id = cert_id)   
    58 if res:
    59     brain = res[0]
    60     info['sc_title'] = brain.Title
     55
     56#cert_id = sbrain.course
     57#res = context.portal_catalog(portal_type = "Certificate", id = cert_id)
     58#if res:
     59#    brain = res[0]
     60#    info['sc_title'] = brain.Title
    6161
    6262return info
  • WAeUP_SRP/trunk/skins/waeup_student/id_card_demo.pt

    r2044 r2045  
    1313    <tr>
    1414      <td colspan=2>
    15         <div style="background-color:red; font-weight:bold; color:white; font-family:Courier New; font-size:100%">
     15        <div style="background-color:red; font-weight:bold; color:white; font-family:Courier New; font-size:120%">
    1616        STUDENT IDENTITY CARD
    1717        </div>
    18         <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:100%">
     18        <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:120%">
    1919        UNIVERSITY OF ILORIN, ILORIN, NIGERIA   
    2020        </div>
    2121      </td>
    22 
    2322    </tr>
    2423   
     
    2625    <td width="70%" valign="top">
    2726      <table border=0 style="font-family:Courier New; font-size:100%;
    28                              
    2927                             background-image:url(ilorin_gray_demo.gif); background-repeat:no-repeat; background-position:50px 30px;
    3028                             background-attachment:scroll;">
    31  
    3229          <tr>
    3330            <td valign="top" width="40%">NAMES:</td>
     
    4542          </tr>
    4643                   
    47 
    4844         
    4945          <span tal:define="f_id info/scatalog/faculty;
     
    105101    <tr>
    106102      <td>
    107         <div style="background-color:black; margin:0px; padding:4px">
     103        <div style="background-color:black; margin:0px; padding:4px; margin-top:10px">
    108104        &nbsp; </div>
    109105
    110106      </td>
    111107    </tr>       
    112     <tr height="60%" >
     108    <tr height="50%" >
    113109      <td>
    114110      <div style="padding:10px">This identity card is not transferable. It must be produced anytime it's requested by any
Note: See TracChangeset for help on using the changeset viewer.