Ignore:
Timestamp:
17 Jun 2009, 17:38:28 (16 years ago)
Author:
Henrik Bettermann
Message:

replace deprecated align attribute (right and center)

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt

    r3980 r4305  
    6161                tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    6262              <td width="74%" tal:content="row/title"></td>
    63               <td align="center" width="10%" tal:content="row/code"></td>
    64               <td align="center" width="2%">S<span tal:content="row/semester" /></td>
    65               <td align="center" width="4%" tal:content="row/credits"></td>
    66               <td align="center" width="10%">CO</td>
     63              <td style='text-align:center' width="10%" tal:content="row/code"></td>
     64              <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
     65              <td style='text-align:center' width="4%" tal:content="row/credits"></td>
     66              <td style='text-align:center' width="10%">CO</td>
    6767            </tr>
    6868          </table>
     
    8181            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    8282          <td width="74%" tal:content="row/title"></td>
    83           <td align="center" width="10%" tal:content="row/code"></td>
    84           <td align="center" width="2%">S<span tal:content="row/semester" /></td>
    85           <td align="center" width="4%" tal:content="row/credits"></td>
    86           <td align="center" width="10%" tal:content="row/coe|nothing"></td>     
     83          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     84          <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
     85          <td style='text-align:center' width="4%" tal:content="row/credits"></td>
     86          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>     
    8787        </tr>
    8888        </span>         
     
    9393
    9494          <td width="74%" tal:content="row/title"></td>
    95           <td align="center" width="10%" tal:content="row/code"></td>
    96           <td align="center" width="2%">S<span tal:content="row/semester" /></td>
    97           <td align="center" width="4%" tal:content="row/credits"></td>
    98           <td align="center" width="10%" tal:content="row/coe|nothing"></td>
     95          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     96          <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
     97          <td style='text-align:center' width="4%" tal:content="row/credits"></td>
     98          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>
    9999         
    100100 
     
    103103       
    104104          <tr>
    105             <td width="84%" colspan="2" align="right">Total Credits:</td>
     105            <td width="84%" colspan="2" style='text-align:right'>Total Credits:</td>
    106106            <td width="2%">&nbsp;</td>
    107             <td align="center" width="4%" tal:content="info/total_credits"></td>
     107            <td style='text-align:center' width="4%" tal:content="info/total_credits"></td>
    108108            <td width="10%">&nbsp;</td>
    109109          </tr>
  • WAeUP_SRP/trunk/skins/waeup_student/new_session_results_slip.pt

    r3390 r4305  
    4747     
    4848          <td width="78%" tal:content="row/title"></td>
    49           <td align="center" width="10%" tal:content="row/code"></td>
    50           <td align="center" width="2%"><span tal:content="row/semester" /></td>
    51           <td align="center" width="2%" tal:content="row/credits"></td>
    52           <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    53           <td align="center" width="2%" tal:content="row/grade"></td>
    54           <td align="center" width="2%" tal:content="row/weight"></td>
     49          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     50          <td style='text-align:center' width="2%"><span tal:content="row/semester" /></td>
     51          <td style='text-align:center' width="2%" tal:content="row/credits"></td>
     52          <td tal:condition="with_score" style='text-align:center' width="4%" tal:content="row/score"></td>
     53          <td style='text-align:center' width="2%" tal:content="row/grade"></td>
     54          <td style='text-align:center' width="2%" tal:content="row/weight"></td>
    5555   
    5656        </tr>
     
    6969        <th tal:attributes="colspan python: 1"
    7070            tal:content="python: test(sem == '1','First Semester', 'Second Semester')" />
    71         <th align='center'></th>
    72         <th align='center'>sm</th>
    73         <th align='center'>cr</th>
    74         <th tal:condition="with_score" align='center'>sc</th>
    75         <th align='center'>gr</th>
    76         <th align='center'>wt</th>
     71        <th style='text-align:center'></th>
     72        <th style='text-align:center'>sm</th>
     73        <th style='text-align:center'>cr</th>
     74        <th tal:condition="with_score" style='text-align:center'>sc</th>
     75        <th style='text-align:center'>gr</th>
     76        <th style='text-align:center'>wt</th>
    7777           
    7878        </tr>               
     
    8181
    8282          <td width="78%" tal:content="row/title"></td>
    83           <td align="center" width="10%" tal:content="row/code"></td>
    84           <td align="center" width="2%"><span tal:content="row/semester" /></td>
    85           <td align="center" width="2%" tal:content="row/credits"></td>
    86           <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    87           <td align="center" width="2%" tal:content="row/grade"></td>
    88           <td align="center" width="2%" tal:content="row/weight"></td>
     83          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     84          <td style='text-align:center' width="2%"><span tal:content="row/semester" /></td>
     85          <td style='text-align:center' width="2%" tal:content="row/credits"></td>
     86          <td tal:condition="with_score" style='text-align:center' width="4%" tal:content="row/score"></td>
     87          <td style='text-align:center' width="2%" tal:content="row/grade"></td>
     88          <td style='text-align:center' width="2%" tal:content="row/weight"></td>
    8989        </tr>
    9090
     
    9696
    9797          <td width="78%" tal:content="row/title"></td>
    98           <td align="center" width="10%" tal:content="row/code"></td>
    99           <td align="center" width="2%"><span tal:content="row/semester" /></td>
    100           <td align="center" width="2%" tal:content="row/credits"></td>
    101           <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    102           <td align="center" width="2%" tal:content="row/grade"></td>
    103           <td align="center" width="2%" tal:content="row/weight"></td>
     98          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     99          <td style='text-align:center' width="2%"><span tal:content="row/semester" /></td>
     100          <td style='text-align:center' width="2%" tal:content="row/credits"></td>
     101          <td tal:condition="with_score" style='text-align:center' width="4%" tal:content="row/score"></td>
     102          <td style='text-align:center' width="2%" tal:content="row/grade"></td>
     103          <td style='text-align:center' width="2%" tal:content="row/weight"></td>
    104104         
    105105       
  • WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt

    r2466 r4305  
    4444            <td width="80px" tal:content="result/CosCode" />
    4545            <td tal:content="result/title" />
    46             <td width="50px" align="center" tal:content="result/GRADE" />
     46            <td width="50px" style='text-align:center' tal:content="result/GRADE" />
    4747          </tr>
    4848        </span>
  • WAeUP_SRP/trunk/skins/waeup_student/session_results_slip.pt

    r2492 r4305  
    5050            <td valign="top" width="80px" tal:content="result/CosCode" />
    5151            <td valign="top" tal:content="result/title" />
    52             <td valign="top" width="50px" align="center" tal:content="result/GRADE" />
    53             <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" />
    54             <td valign="top" width="50px" align="center" tal:content="result/credits" />
     52            <td valign="top" width="50px" style='text-align:center' tal:content="result/GRADE" />
     53            <td valign="top" width="50px" style='text-align:center' tal:content="result/WEIGHT" />
     54            <td valign="top" width="50px" style='text-align:center' tal:content="result/credits" />
    5555
    5656          </tr>
  • WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt

    r2492 r4305  
    5656            <td valign="top" width="80px" tal:content="result/CosCode" />
    5757            <td valign="top" tal:content="result/title" />
    58             <td valign="top" width="50px" align="center" tal:content="result/GRADE" />
    59             <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" />
    60             <td valign="top" width="50px" align="center" tal:content="result/credits" />
     58            <td valign="top" width="50px" style='text-align:center' tal:content="result/GRADE" />
     59            <td valign="top" width="50px" style='text-align:center' tal:content="result/WEIGHT" />
     60            <td valign="top" width="50px" style='text-align:center' tal:content="result/credits" />
    6161
    6262          </tr>
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r3972 r4305  
    155155                <span tal:content="row/review_state" />
    156156              </td>         
    157               <td width="40px" align="center">
     157              <td width="40px" style='text-align:center'>
    158158                <a tal:condition="python: row['s_edit_link'] and row['is_editable']"
    159159                   href="edit" tal:attributes="href string:${row/s_edit_link}">
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r3667 r4305  
    8484        <tr>
    8585        <th tal:attributes="colspan python: test(show_check_boxes,'2','1')">Both Semesters</th>
    86         <th align='center'></th>
    87         <th align='center'>sm</th>
    88         <th align='center'>cr</th>
    89         <th tal:condition="with_score" align='center'>sc</th>
    90         <th tal:condition="with_cascore" align='center'>ca</th>
    91         <th align='center'>gr</th>
    92         <th align='center'>wt</th>
    93         <th align='center'></th>
    94         <th tal:condition="submission_allowed" align='center'></th>   
     86        <th style='text-align:center'></th>
     87        <th style='text-align:center'>sm</th>
     88        <th style='text-align:center'>cr</th>
     89        <th tal:condition="with_score" style='text-align:center'>sc</th>
     90        <th tal:condition="with_cascore" style='text-align:center'>ca</th>
     91        <th style='text-align:center'>gr</th>
     92        <th style='text-align:center'>wt</th>
     93        <th style='text-align:center'></th>
     94        <th tal:condition="submission_allowed" style='text-align:center'></th>   
    9595           
    9696        </tr>         
     
    109109
    110110          <td width="58%" tal:content="row/title"></td>
    111           <td align="center" width="10%" tal:content="row/code"></td>
    112           <td align="center" width="2%"><span tal:content="row/semester" /></td>
    113           <td align="center" width="2%" tal:content="row/credits"></td>
    114           <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    115           <td tal:condition="with_cascore" align="center" width="4%" tal:content="row/ca1"></td>
    116           <td align="center" width="2%" tal:content="row/grade"></td>
    117           <td align="center" width="2%" tal:content="row/weight"></td>
    118           <td align="center" width="10%" tal:content="row/coe|nothing"></td>
     111          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     112          <td style='text-align:center' width="2%"><span tal:content="row/semester" /></td>
     113          <td style='text-align:center' width="2%" tal:content="row/credits"></td>
     114          <td tal:condition="with_score" style='text-align:center' width="4%" tal:content="row/score"></td>
     115          <td tal:condition="with_cascore" style='text-align:center' width="4%" tal:content="row/ca1"></td>
     116          <td style='text-align:center' width="2%" tal:content="row/grade"></td>
     117          <td style='text-align:center' width="2%" tal:content="row/weight"></td>
     118          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>
    119119         
    120           <td tal:condition="submission_allowed" align="center" width="5%">&nbsp;</td>
     120          <td tal:condition="submission_allowed" style='text-align:center' width="5%">&nbsp;</td>
    121121       
    122122        </tr>
     
    140140        <th tal:attributes="colspan python: test(show_check_boxes,'2','1')"
    141141            tal:content="python:sem[1]" />
    142         <th align='center'></th>
    143         <th align='center'>sm</th>
    144         <th align='center'>cr</th>
    145         <th tal:condition="with_score" align='center'>sc</th>
    146         <th tal:condition="with_cascore" align='center'>ca</th>
    147         <th align='center'>gr</th>
    148         <th align='center'>wt</th>
    149         <th align='center'></th>
    150         <th tal:condition="submission_allowed" align='center'></th>   
     142        <th style='text-align:center'></th>
     143        <th style='text-align:center'>sm</th>
     144        <th style='text-align:center'>cr</th>
     145        <th tal:condition="with_score" style='text-align:center'>sc</th>
     146        <th tal:condition="with_cascore" style='text-align:center'>ca</th>
     147        <th style='text-align:center'>gr</th>
     148        <th style='text-align:center'>wt</th>
     149        <th style='text-align:center'></th>
     150        <th tal:condition="submission_allowed" style='text-align:center'></th>   
    151151           
    152152        </tr>               
     
    164164          </td>
    165165          <td width="58%" tal:content="row/title"></td>
    166           <td align="center" width="10%" tal:content="row/code"></td>
    167           <td align="center" width="2%"><span tal:content="row/semester" /></td>
    168           <td align="center" width="2%" tal:content="row/credits"></td>
    169           <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td>
    170           <td tal:condition="with_cascore" align="center" width="4%" tal:content="row/ca1"></td>
    171           <td align="center" width="2%" tal:content="row/grade"></td>
    172           <td align="center" width="2%" tal:content="row/weight"></td>
    173           <td align="center" width="10%" tal:content="row/coe|nothing"></td>
     166          <td style='text-align:center' width="10%" tal:content="row/code"></td>
     167          <td style='text-align:center' width="2%"><span tal:content="row/semester" /></td>
     168          <td style='text-align:center' width="2%" tal:content="row/credits"></td>
     169          <td tal:condition="with_score" style='text-align:center' width="4%" tal:content="row/score"></td>
     170          <td tal:condition="with_cascore" style='text-align:center' width="4%" tal:content="row/ca1"></td>
     171          <td style='text-align:center' width="2%" tal:content="row/grade"></td>
     172          <td style='text-align:center' width="2%" tal:content="row/weight"></td>
     173          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>
    174174         
    175           <td tal:condition="submission_allowed" width="5%" align="center">
     175          <td tal:condition="submission_allowed" width="5%" style='text-align:center'>
    176176            <a href="edit" tal:attributes="href string:course_edit/${row/code}"
    177177            target="edit_course_result"
Note: See TracChangeset for help on using the changeset viewer.