source: WAeUP_SRP/trunk/skins/waeup_futminna/id_card_demo.pt @ 5197

Last change on this file since 5197 was 4305, checked in by Henrik Bettermann, 16 years ago

replace deprecated align attribute (right and center)

File size: 5.1 KB
Line 
1<metal:body use-macro="here/idcard_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="global info context/getIdCardInfo;
4                          ">
5
6    <span tal:condition="not: info">
7      <span tal:content="here/illegal_view" />
8    </span>
9    <span tal:condition="info">
10    <span tal:define="pd python: info['personal'];
11                      passport_url info/passport_url|nothing;">
12    <table border=0 style="border-style:solid; border-width:1px; border-color:black" cellpadding="0px" cellspacing="10px" width="450px" height="300px">
13    <tr>
14      <td colspan=2>
15        <div style="background-color:red; font-weight:bold; color:white; font-family:Courier New; font-size:120%">
16        STUDENT IDENTITY CARD
17        </div>
18        <div style="background-color:white; font-weight:bold; color:black; font-family:Courier New; font-size:120%">
19        Federal University of Technology Minna<br />
20        </div>
21      </td>
22    </tr>
23   
24    <tr>
25    <td width="70%" valign="top">
26      <table border=0 style="font-family:Courier New; font-size:100%;
27                             background-image:url(logo_watermark.png); background-repeat:no-repeat; background-position:50px 30px;
28                             background-attachment:scroll;">
29          <tr>
30            <td valign="top" width="40%">NAMES:</td>
31            <td><span tal:content="info/scatalog/name" /></td>
32          </tr>           
33               
34          <tr>
35            <td>MATRIC NO:</td>
36            <td><span tal:content="info/scatalog/matric_no" /></td>
37          </tr>     
38         
39          <tr>
40            <td>LEVEL:</td>
41            <td><span tal:content="info/scatalog/level" /></td>
42          </tr>
43                   
44         
45          <span tal:define="f_id info/scatalog/faculty;
46                            d_id info/scatalog/department;
47                            f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus;
48                            d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus"
49                            >
50            <tr>
51              <td valign="top">FACULTY:</td>
52              <td tal:content="f_title" />
53            </tr>
54            <tr>
55              <td valign="top">DEPARTMENT:</td>
56              <td><span tal:content="d_title" /></td>
57            </tr>
58          </span>
59         
60          <tr>
61            <td>ISSUE DATE:</td>
62            <td />
63          </tr>   
64         
65          <tr>
66            <td>EXPIRY DATE:</td>
67            <td />
68          </tr>     
69               
70        </table>
71      </td>
72     
73      <td width="30%" style='text-align:center'>
74        <table style="font-family:Courier New; font-size:100%">
75          <tr>
76            <td style='text-align:center' tal:condition="passport_url">
77            <img height="150px" src="img" tal:attributes="src passport_url" />
78            </td>
79          </tr>
80          <tr >
81           <td style="padding:15px">&nbsp;</td>
82          </tr>   
83          <tr>
84           <td style='text-align:center' style="border-top-style:solid; border-top-width:1px;
85                                    border-top-color:black; margin:100px; font-size:80%">
86             Student's Signature
87           </td>
88          </tr>   
89        </table>
90      </td>
91     
92      </tr>
93      </table>
94     
95      <br /><br />
96     
97    <table border=0 style="border-style:solid; border-width:1px; border-color:black; font-family:Courier New; font-size:100% "
98                  width="450px" height="300px" cellpadding="0px" cellspacing="0px" >
99       
100     
101    <tr>
102      <td>
103        <div style="background-color:black; margin:0px; padding:4px; margin-top:10px">
104        &nbsp; </div>
105
106      </td>
107    </tr>       
108    <tr height="50%" >
109      <td>
110      <div style="padding:10px">This identity card is not transferable. It must be produced anytime it's requested by any
111      officer of the University or any authorized person(s).
112      <br /><br />
113      Loss of this card must be reported immediately to the registrar, Federal University of Technology, P.M.B. XXXX,
114      Minna, Nigeria. Telephone: (xxxx) xxxxx
115      </div>
116      </td>
117    </tr>
118   
119    <tr>
120    <td valign="top">
121      <table border=0  cellpadding="0px" cellspacing="0px" width="100%" style="margin-left:10px;">
122         
123      <tr>
124        <td width="50%" valign="top">Hall of Residence:</td>
125        <td width="10%"><span tal:content="pd/hall" /></td>
126        <td width="40%"></td>
127      </tr>       
128
129      <tr>
130        <td valign="top">Next of Kin:</td>
131        <td><span tal:content="pd/next_kin_lastname"/> <span tal:content="pd/next_kin_firstname"/> <span tal:content="pd/next_kin_middlename"/></td>
132        <td></td>
133      </tr>         
134
135      <tr>
136        <td valign="top">Address of Next of Kin:</td>
137        <td><span tal:content="pd/next_kin_address"/>
138        <td style='text-align:center' style="font-size:80%">
139             Registrar's Signature
140        </td>
141      </tr>       
142     
143   
144      </table>
145      </td>
146      </tr>
147      </table>     
148  </span>
149  </span>
150  </metal:main>
151</metal:body>
152
Note: See TracBrowser for help on using the repository browser.