Changeset 1785


Ignore:
Timestamp:
15 May 2007, 09:47:19 (18 years ago)
Author:
Henrik Bettermann
Message:

cleanup

Location:
WAeUP_SRP/trunk
Files:
6 added
6 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r1783 r1785  
    6868  <action title="Home" action_id="home" category="navigation"
    6969     condition_expr="member" url_expr="string:${portal_url}/campus"
    70      visible="False">
     70     visible="True">
    7171   <permission>View</permission>
    7272  </action>
  • WAeUP_SRP/trunk/skins/waeup_default/campus_anonymous_view.pt

    r1161 r1785  
    55          <br />Student Registration Portal of the University of Benin, Nigeria</h2>
    66        <br />
    7         <p>This is the frontpage of Uniben's Student Registration Portal (SRP) which is part of the West African e-University Project.
    8           For further information see
    9           <a href="" tal:attributes="href string:http://waeup.org">waeup.org</a>.</p>
    10         <p><strong>Fresh Students</strong>, who register for the first time, proceed to the respective application
    11           entrance page (UME, DE or Local Programmes). Later they can login to check their admission status and to
    12         proceed with the admission and clearance process.</p>
    13         <p><strong>Returning Students</strong> can login to check the course results of the previous session,
    14         to register courses for the current session, to pay their school fees and to book accommodation.</p>
    15         <p>This site is best seen in Firefox browser.</p>
    167    </metal:main>
    178  </metal:body>
  • WAeUP_SRP/trunk/skins/waeup_default/campus_index.py

    r960 r1785  
    1010# $Id$
    1111"""
    12 return the correct campus_index_html
     12return the correct campus_index
    1313"""
    1414
  • WAeUP_SRP/trunk/skins/waeup_default/campus_view.pt

    r1161 r1785  
    55          <br />Student Registration Portal of the University of Benin, Nigeria</h2>
    66        <br />
    7         <p>This is the frontpage of Uniben's Student Registration Portal (SRP) which is part of the West African e-University Project.
    8           For further information see
    9           <a href="" tal:attributes="href string:http://waeup.org">waeup.org</a>.</p>
    10         <p><strong>Fresh Students</strong>, who register for the first time, proceed to the respective application
    11           entrance page (UME, DE or Local Programmes). Later they can login to check their admission status and to
    12         proceed with the admission and clearance process.</p>
    13         <p><strong>Returning Students</strong> can login to check the course results of the previous session,
    14         to register courses for the current session, to pay their school fees and to book accommodation.</p>
    15         <p>This site is best seen in Firefox browser.</p>
    167    </metal:main>
    178  </metal:body>
  • WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_lib.pt

    r1409 r1785  
    22<!-- $Id$ -->
    33
    4 <!-- div_view  -->
    5 
    6 <metal:block define-macro="div_view"
    7              tal:define="layout options/layout">
    8   <tal:block repeat="row layout/rows">
    9     <tal:block repeat="cell row">
    10       <tal:block define="widget cell/widget">
    11         <div tal:define="dm options/datastructure/getDataModel;"
    12              tal:attributes="class cell/widget_css_class|nothing;
    13              id python:widget.getHtmlWidgetId()+'_widget';"
    14              >
    15           <tal:block condition="widget/label">
    16             <span class="dlabel" i18n:translate="" tal:condition="widget/is_i18n"
    17                   tal:content="widget/label">label</span>
    18             <span class="dlabel" tal:condition="not:widget/is_i18n"
    19                   tal:content="widget/label">label</span>
    20           </tal:block>
    21           <tal:block replace="structure cell/widget_rendered" />
    22         </div>
    23       </tal:block>
    24     </tal:block>
    25   </tal:block>
    26 </metal:block>
    274
    285<!-- table view -->
     
    6542</metal:block>
    6643
    67 <!-- default edit  -->
    6844
    69 <metal:block define-macro="default_edit"
    70   tal:define="layout options/layout;
    71               ds options/datastructure;
    72               creation creation|nothing;
    73               metadata metadata|nothing;
    74               type_name request/type_name|nothing;
    75               ti python:type_name and getattr(here.portal_types,type_name,None) or getattr(here.portal_types,here.portal_type,None);
    76               creation_form python:ti and ti.getActionById('create', 'cpsdocument_create_form') or 'cpsdocument_create_form' ;
    77               edit_form     python:ti and ti.getActionById('edit',   'cpsdocument_edit_form') or  'cpsdocument_edit_form';
    78               metadata_form python:ti and ti.getActionById('metadata', 'cpsdocument_metadata') or 'cpsdocument_metadata';
    79               formaction python: test(creation, creation_form,
    80                                  test(metadata, metadata_form,
    81                                                 edit_form));
    82               first_layout options/first_layout|python:0;
    83               last_layout options/last_layout|python:0;
    84               is_flexible options/is_flexible;
    85               cpsmcat nocall:here/translation_service;
    86               ">
    87 <tal:block condition="first_layout">
    88   <tal:block
    89   content="structure string:<form action='${formaction}' method='post'
    90   enctype='multipart/form-data' class='workflow'>
    91   <div class=''><div class=''>" />
    92   <input type="hidden" name="type_name" value="."
    93     tal:condition="creation" tal:attributes="value request/type_name" />
    94 </tal:block>
    95 
    96 <table width="100%" cellpadding="2" cellspacing="2" summary="Form layout">
    97   <tr tal:repeat="row layout/rows" valign="top">
    98     <td tal:repeat="cell row"
    99       tal:attributes="colspan cell/ncols">
    100       <tal:block define="widget cell/widget;
    101                          wid widget/getWidgetId;
    102                          dm options/datastructure/getDataModel;
    103                          err python:ds.getError(wid);
    104                          err_mapping python:ds.getErrorMapping(wid);
    105                          is_required widget/is_required|nothing;
    106                          tooltip_id python:wid + '_help';
    107                          widget_css_class cell/widget_css_class|nothing;
    108                          widget_css_class python:test(is_flexible, 'group', widget_css_class);
    109                          css_class python:test(err, 'row error',
    110                                                test(is_flexible, 'group', 'row'))">
    111         <div tal:attributes="class widget_css_class;
    112                              id python:widget.getHtmlWidgetId()+'_widget';
    113                             ">
    114           <div class="label" tal:condition="widget/label_edit"
    115             tal:attributes="class python:test(is_required, 'label required',
    116                                               'label')">
    117             <label i18n:translate="" tal:condition="widget/is_i18n"
    118               tal:content="widget/label_edit"
    119               tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    120             <label tal:condition="not:widget/is_i18n"
    121               tal:content="widget/label_edit"
    122               tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    123           </div>
    124           <button type="button" class="tooltipControl"
    125                   tal:condition="widget/help"
    126                   tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    127           <div class="field">
    128             <div tal:replace="structure cell/widget_rendered"/>
    129           </div>
    130           <div class="tooltipArea" style="visibility: hidden;"
    131                tal:condition="widget/help"
    132                tal:attributes="id tooltip_id;
    133                                onclick python:'showElement(false, \'%s\')' % tooltip_id;">
    134             <tal:block i18n:translate="" tal:condition="widget/is_i18n"
    135               tal:content="widget/help">i18_key-help_for_this_field</tal:block>
    136             <tal:block tal:condition="not:widget/is_i18n"
    137               tal:content="widget/help">This is the help for this field</tal:block>
    138           </div>
    139           <tal:block condition="err">
    140               <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    141                 <br /><em style="color: red"
    142                   tal:content="msg">err</em>
    143               </tal:block>
    144           </tal:block>
    145           <div style="float: right;" tal:condition="is_flexible">
    146             <input type="submit" value="button_move_up"
    147               tal:condition="not:repeat/row/start"
    148               tal:attributes="name string:uprow_${repeat/row/index}"
    149               class="context moveUp" i18n:attributes="value" />
    150             <input type="submit" value="button_move_down"
    151               tal:condition="not:repeat/row/end"
    152               tal:attributes="name string:downrow_${repeat/row/index}"
    153               class="context moveDown" i18n:attributes="value" />
    154             <input type="submit" value="button_delete"
    155               class="destructive" i18n:attributes="value"
    156               tal:attributes="name string:deleterow_${repeat/row/index};
    157                               onclick python:'return window.confirm(\'%s\')' %
    158                                 (cpsmcat('description_confirm_delete'), )" />
    159           </div>
    160         </div>
    161       </tal:block>
    162     </td>
    163   </tr>
    164 </table>
    165 
    166 <tal:block condition="is_flexible">
    167 <div style="float: right;"
    168     tal:define="flexible_widgets options/flexible_widgets">
    169   <input type="hidden" name="layout_id" value="."
    170     tal:attributes="value layout/layout_id" />
    171   <tal:select condition="python:len(flexible_widgets)>1">
    172     <select name="widget_type">
    173       <tal:block repeat="widget options/flexible_widgets">
    174       <option value="."
    175         tal:condition="widget/is_i18n"
    176         i18n:translate=""
    177         tal:attributes="value widget/getWidgetId"
    178         tal:content="widget/title_or_id">Type</option>
    179       <option value="."
    180         tal:condition="not:widget/is_i18n"
    181         tal:attributes="value widget/getWidgetId"
    182         tal:content="widget/title_or_id">Type</option>
    183       </tal:block>
    184     </select>
    185     <input type="submit" name="addwidget_button" value="button_add"
    186      class="context"
    187      i18n:attributes="value" />
    188   </tal:select>
    189   <tal:button condition="python:len(flexible_widgets) == 1">
    190     <tal:block define="widget python:flexible_widgets[0]">
    191       <input type="hidden" name="widget_type"
    192         tal:attributes="value widget/getWidgetId">
    193       <input type="submit" name="addwidget_button"
    194         tal:define="button_add python:cpsmcat('button_add');
    195           widget_title python:cpsmcat(widget.title_or_id())"
    196         tal:attributes="value string:${button_add} ${widget_title}"
    197         class="context" />
    198     </tal:block>
    199   </tal:button>
    200 </div>
    201 </tal:block>
    202 
    203 <tal:block condition="last_layout">
    204   <tal:block content="structure string:</div>" />
    205   <metal:block define-slot="additional_content" />
    206 
    207   <input type="submit" class="standalone" name="cpsdocument_edit_button"
    208     value="button_change" i18n:attributes="value"
    209     tal:condition="not:creation" />
    210   <input type="submit" class="standalone" name="cpsdocument_create_button"
    211     value="button_create" i18n:attributes="value" tal:condition="creation" />
    212   <tal:block content="structure string:</div></form>" />
    213 </tal:block>
    214 
    215 </metal:block>
    216 <!-- default edit  -->
    217 
    218 <metal:block define-macro="common_edit"
    219   tal:define="layout options/layout;
    220               ds options/datastructure;
    221               creation creation|nothing;
    222               metadata metadata|nothing;
    223               type_name request/type_name|nothing;
    224               ti python:type_name and getattr(here.portal_types,type_name,None) or getattr(here.portal_types,here.portal_type,None);
    225               tin python:type_name and getattr(here.portal_types,type_name,None);
    226               creation_form options/create_action|string:create_common;
    227               edit_form    options/edit_action|string:cpsdocument_edit_form;
    228               metadata_form python:ti and ti.getActionById('metadata', 'cpsdocument_metadata') or 'cpsdocument_metadata';
    229               formaction python: test(creation, creation_form,
    230                                  test(metadata, metadata_form,
    231                                                 edit_form));
    232               first_layout python:1;
    233               last_layout python:1;
    234               is_flexible options/is_flexible;
    235               cpsmcat nocall:here/translation_service;
    236               ">
    237 <tal:block condition="first_layout">
    238     <span tal:condition="python: 0">
    239       <span tal:content="request/type_name|string:No Typename" /><br />
    240       <span tal:content="creation_form" /><br />
    241       <span tal:content="ti" /><br />
    242       <span tal:content="python:ti.getActionById('create', 'cpsdocument_create_form')" /><br />
    243       <span tal:content="python:getattr(here.portal_types,type_name,'no type')" /><br />
    244     </span>
    245   <tal:block
    246   content="structure string:<form action='${formaction}' method='post'
    247   enctype='multipart/form-data' class='workflow'>
    248   <div class=''><div class='documentFields'>" />
    249   <input type="hidden" name="type_name" value="."
    250     tal:condition="creation" tal:attributes="value request/type_name" />
    251 </tal:block>
    252 
    253 <table width="100%" cellpadding="2" cellspacing="2" summary="Form layout">
    254   <tr tal:repeat="row layout/rows" valign="top">
    255     <td tal:repeat="cell row"
    256       tal:attributes="colspan cell/ncols">
    257       <tal:block define="widget cell/widget;
    258                          wid widget/getWidgetId;
    259                          dm options/datastructure/getDataModel;
    260                          err python:ds.getError(wid);
    261                          err_mapping python:ds.getErrorMapping(wid);
    262                          is_required widget/is_required|nothing;
    263                          tooltip_id python:wid + '_help';
    264                          widget_css_class cell/widget_css_class|nothing;
    265                          widget_css_class python:test(is_flexible, 'group', widget_css_class);
    266                          css_class python:test(err, 'row error',
    267                                                test(is_flexible, 'group', 'row'))">
    268         <div tal:attributes="class widget_css_class;
    269                              id python:widget.getHtmlWidgetId()+'_widget';
    270                             ">
    271           <div class="label" tal:condition="widget/label_edit"
    272             tal:attributes="class python:test(is_required, 'label required',
    273                                               'label')">
    274             <label i18n:translate="" tal:condition="widget/is_i18n"
    275               tal:content="widget/label_edit"
    276               tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    277             <label tal:condition="not:widget/is_i18n"
    278               tal:content="widget/label_edit"
    279               tal:attributes="for cell/widget_input_area_id|nothing;">label</label>
    280           </div>
    281           <button type="button" class="tooltipControl"
    282                   tal:condition="widget/help"
    283                   tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    284           <div class="field">
    285             <div tal:replace="structure cell/widget_rendered"/>
    286           </div>
    287           <div class="tooltipArea" style="visibility: hidden;"
    288                tal:condition="widget/help"
    289                tal:attributes="id tooltip_id;
    290                                onclick python:'showElement(false, \'%s\')' % tooltip_id;">
    291             <tal:block i18n:translate="" tal:condition="widget/is_i18n"
    292               tal:content="widget/help">i18_key-help_for_this_field</tal:block>
    293             <tal:block tal:condition="not:widget/is_i18n"
    294               tal:content="widget/help">This is the help for this field</tal:block>
    295           </div>
    296           <tal:block condition="err">
    297               <tal:block define="msg python:cpsmcat(err, mapping=err_mapping)">
    298                 <br /><em style="color: red"
    299                   tal:content="msg">err</em>
    300               </tal:block>
    301           </tal:block>
    302           <div style="float: right;" tal:condition="is_flexible">
    303             <input type="submit" value="button_move_up"
    304               tal:condition="not:repeat/row/start"
    305               tal:attributes="name string:uprow_${repeat/row/index}"
    306               class="context moveUp" i18n:attributes="value" />
    307             <input type="submit" value="button_move_down"
    308               tal:condition="not:repeat/row/end"
    309               tal:attributes="name string:downrow_${repeat/row/index}"
    310               class="context moveDown" i18n:attributes="value" />
    311             <input type="submit" value="button_delete"
    312               class="destructive" i18n:attributes="value"
    313               tal:attributes="name string:deleterow_${repeat/row/index};
    314                               onclick python:'return window.confirm(\'%s\')' %
    315                                 (cpsmcat('description_confirm_delete'), )" />
    316           </div>
    317         </div>
    318       </tal:block>
    319     </td>
    320   </tr>
    321 </table>
    322 
    323 <tal:block condition="is_flexible">
    324 <div style="float: right;"
    325     tal:define="flexible_widgets options/flexible_widgets">
    326   <input type="hidden" name="layout_id" value="."
    327     tal:attributes="value layout/layout_id" />
    328   <tal:select condition="python:len(flexible_widgets)>1">
    329     <select name="widget_type">
    330       <tal:block repeat="widget options/flexible_widgets">
    331       <option value="."
    332         tal:condition="widget/is_i18n"
    333         i18n:translate=""
    334         tal:attributes="value widget/getWidgetId"
    335         tal:content="widget/title_or_id">Type</option>
    336       <option value="."
    337         tal:condition="not:widget/is_i18n"
    338         tal:attributes="value widget/getWidgetId"
    339         tal:content="widget/title_or_id">Type</option>
    340       </tal:block>
    341     </select>
    342     <input type="submit" name="addwidget_button" value="button_add"
    343      class="context"
    344      i18n:attributes="value" />
    345   </tal:select>
    346   <tal:button condition="python:len(flexible_widgets) == 1">
    347     <tal:block define="widget python:flexible_widgets[0]">
    348       <input type="hidden" name="widget_type"
    349         tal:attributes="value widget/getWidgetId">
    350       <input type="submit" name="addwidget_button"
    351         tal:define="button_add python:cpsmcat('button_add');
    352           widget_title python:cpsmcat(widget.title_or_id())"
    353         tal:attributes="value string:${button_add} ${widget_title}"
    354         class="context" />
    355     </tal:block>
    356   </tal:button>
    357 </div>
    358 </tal:block>
    359 
    360 <tal:block condition="last_layout">
    361   <tal:block content="structure string:</div>" />
    362   <metal:block define-slot="additional_content" />
    363 
    364   <input type="submit" class="standalone" name="cpsdocument_edit_button"
    365     value="button_change" i18n:attributes="value"
    366     tal:condition="not:creation" />
    367   <input type="submit" class="standalone" name="cpsdocument_create_button"
    368     value="button_create" i18n:attributes="value" tal:condition="creation" />
    369   <tal:block content="structure string:</div></form>" />
    370 </tal:block>
    371 
    372 </metal:block>
    37345   
  • WAeUP_SRP/trunk/skins/waeup_default/srp_view.pt

    r1161 r1785  
    44        <h2>Welcome to the     
    55          <br />Student Registration Portal of the University of Benin, Nigeria</h2>
    6         <br />
    7         <p>This is the frontpage of Uniben's Student Registration Portal (SRP) which is part of the West African e-University Project.
    8           For further information see
    9           <a href="" tal:attributes="href string:http://waeup.org">waeup.org</a>.</p>
    10         <p><strong>Fresh Students</strong>, who register for the first time, proceed to the respective application
    11           entrance page (UME, DE or Local Programmes). Later they can login to check their admission status and to
    12         proceed with the admission and clearance process.</p>
    13         <p><strong>Returning Students</strong> can login to check the course results of the previous session,
    14         to register courses for the current session, to pay their school fees and to book accommodation.</p>
    15         <p>This site is best seen in Firefox browser.</p>
    166    </metal:main>
    177  </metal:body>
  • WAeUP_SRP/trunk/skins/waeup_design/common.css.dtml

    r1737 r1785  
    8787  margin: 10px;
    8888}
     89
     90html, body {
     91height:100%;
     92}
     93input, textarea, select, button {
     94background-color:white;
     95margin:0pt;
     96}
     97
     98input, button {
     99padding:3px;
     100}
     101
     102.fileview {
     103padding:3px;
     104}
     105.statusmessage {
     106margin-bottom:9px;
     107padding:3px;
     108}
     109input.SearchBox {
     110background:white url(http://localhost:8080/cpsskins/cpsskins_images/search_icon.png) no-repeat scroll left center;
     111border:1px inset #757575;
     112padding:2px 2px 2px 20px;
     113}
     114div.searchField {
     115background:transparent url(http://localhost:8080/cpsskins/cpsskins_images/portlet_search_icon.png) no-repeat scroll left center;
     116padding:2px 2px 2px 20px;
     117}
     118.toggle_icon {
     119clear:left;
     120float:left;
     121padding:2px 0pt 0pt 3px;
     122}
     123.missing_toggle {
     124padding:0pt 0pt 0pt 13px;
     125}
     126.tree_node {
     127padding:0pt 0pt 0pt 8px;
     128}
     129.tree_leaf {
     130padding:0pt 0pt 0pt 22px;
     131}
     132.action_icon {
     133clear:left;
     134float:left;
     135padding:0pt 6px 0pt 0pt;
     136}
     137.cpsskinsBox ul.cpsskinsMenu, .cpsskinsBox ul.cpsskinsMenu li {
     138display:inline;
     139line-height:normal;
     140list-style-type:none;
     141margin:0px;
     142padding:0px;
     143}
     144.cpsskinsBox ul.cpsskinsMenu li a {
     145background-position:left top;
     146background-repeat:no-repeat;
     147display:block;
     148}
     149.cpsskinsBox ul.cpsskinsMenu li a.noicon, .cpsskinsBox ul.cpsskinsMenu li.selected a.noicon {
     150background-image:none !important;
     151padding-left:2px !important;
     152}
     153.cpsskinsBox ul.cpsskinsMenu li a span.itemDescription {
     154display:block;
     155font-size:85%;
     156}
     157
     158.cpsskinsTab ul.cpsskinsMenu, .cpsskinsTab ul.cpsskinsMenu li {
     159display:inline;
     160line-height:normal;
     161list-style-type:none;
     162margin:0px;
     163padding:0px;
     164}
     165.cpsskinsTab ul.cpsskinsMenu li a {
     166background-position:left center;
     167background-repeat:no-repeat;
     168display:inline;
     169}
     170.cpsskinsTab ul.cpsskinsMenu span.itemDescription {
     171display:none;
     172}
     173.cpsskinsTab div.xmlExportButtons {
     174display:none;
     175}
     176.cpsskinsBox .buttons {
     177display:block;
     178padding-bottom:1px;
     179padding-right:1px;
     180padding-top:1px;
     181}
     182.cpsskinsBox .buttons a {
     183float:right;
     184}
     185.cpsskinsTabs {
     186float:left;
     187line-height:normal;
     188text-align:left;
     189width:100%;
     190}
     191.cpsskinsTabs ul {
     192list-style-image:none;
     193list-style-position:outside;
     194list-style-type:none;
     195margin:0pt;
     196padding:0pt;
     197}
     198.cpsskinsTabs li {
     199float:left;
     200margin:0pt;
     201padding:0pt;
     202position:relative;
     203}
     204.cpsskinsTabs a {
     205display:block;
     206float:left;
     207margin-left:0pt !important;
     208text-decoration:none;
     209}
     210.cpsskinsTabs a {
     211float:none;
     212}
     213.cpsskinsTabs ul.cpsskinsMenu span.itemDescription {
     214display:none;
     215}
     216.cpsskinsTabs div.xmlExportButtons {
     217display:none;
     218}
     219.cpsskinsTabs li ul {
     220display:none;
     221left:0pt;
     222position:absolute;
     223}
     224.cpsskinsTabs li > ul {
     225left:auto;
     226top:auto;
     227}
     228.cpsskinsTabs li:hover ul, .cpsskinsTabs li.over ul {
     229display:block;
     230}
     231.cpsskinsBoxCorners .rbtop div {
     232left:-2px;
     233position:relative;
     234width:100%;
     235}
     236.cpsskinsBoxCorners .rbtop {
     237position:relative;
     238right:-1px;
     239top:-1px;
     240width:100%;
     241}
     242.cpsskinsBoxCorners .rbbot div {
     243left:-2px;
     244position:relative;
     245width:100%;
     246}
     247.cpsskinsBoxCorners .rbbot {
     248bottom:-1px;
     249position:relative;
     250right:-1px;
     251width:100%;
     252}
     253.hidden {
     254display:none;
     255}
     256.cpsskinsHBox {
     257margin:3px;
     258}
     259.cpsskinsHBox ul.cpsskinsMenu, .cpsskinsHBox ul.cpsskinsMenu li {
     260display:inline;
     261line-height:normal;
     262list-style-type:none;
     263padding:3px 0pt 2px;
     264}
     265* html .cpsskinsHBox ul.cpsskinsMenu {
     266padding:0px;
     267}
     268* html .cpsskinsHBox ul.cpsskinsMenu li {
     269padding:0px;
     270}
     271.cpsskinsHBox ul.cpsskinsMenu li a {
     272background-position:left top;
     273background-repeat:no-repeat;
     274display:inline;
     275margin-left:0pt !important;
     276}
     277.cpsskinsHBox ul.cpsskinsMenu span.itemDescription {
     278display:none;
     279}
     280.cpsskinsHBox div.xmlExportButtons {
     281display:none;
     282}
     283
     284.portalTabTabStyle ul.cpsskinsMenu li {
     285margin:0pt 2px 0pt 0pt;
     286}
     287.portalTabTabStyle ul.cpsskinsMenu li a {
     288padding:3px 2px;
     289}
     290
     291.fontShapeaverage {
     292font-family:Arial,sans-serif,Verdana,Helvetica !important;
     293font-size:12px !important;
     294font-size-adjust:none !important;
     295font-stretch:normal !important;
     296font-style:normal !important;
     297font-variant:normal !important;
     298font-weight:normal !important;
     299line-height:normal !important;
     300}
     301.fontShapeaverage p {
     302font-family:Arial,sans-serif,Verdana,Helvetica !important;
     303font-size:100% !important;
     304font-size-adjust:none !important;
     305font-stretch:normal !important;
     306font-style:normal !important;
     307font-variant:normal !important;
     308font-weight:normal !important;
     309line-height:normal !important;
     310padding:5px 10px 0px 0px;
     311}
     312.fontShapeaverage small {
     313}
     314
     315.fontShapeaverage h2, .fontShapeaverage .h2 {
     316border-style:none;
     317border-width:0px;
     318font-family:Arial,sans-serif,Verdana,Helvetica !important;
     319font-size:150% !important;
     320font-size-adjust:none !important;
     321font-stretch:normal !important;
     322font-style:normal !important;
     323font-variant:normal !important;
     324font-weight:bold !important;
     325line-height:normal !important;
     326margin:10px 0px 5px;
     327padding:0px;
     328}
     329
     330.fontShapeaverage h3, .fontShapeaverage .h3 {
     331border-style:none;
     332border-width:0px;
     333font-family:Verdana,Arial,Helvetica,sans-serif !important;
     334font-size:125% !important;
     335font-size-adjust:none !important;
     336font-stretch:normal !important;
     337font-style:normal !important;
     338font-variant:normal !important;
     339font-weight:bold !important;
     340line-height:normal !important;
     341padding:0.6em 0em 0em;
     342}
     343
     344.fontShapeaverage a, .fontShapeaverage a div, .fontShapeaverage a span {
     345text-decoration:none;
     346}
     347.fontShapeaverage a:visited, .fontShapeaverage a:visited div, .fontShapeaverage a:visited span {
     348text-decoration:none;
     349}
     350.fontShapeaverage a:active, .fontShapeaverage a:active div, .fontShapeaverage a:active span {
     351text-decoration:underline overline;
     352}
     353.fontShapeaverage a:hover, .fontShapeaverage a:hover div, .fontShapeaverage a:hover span {
     354text-decoration:underline;
     355}
     356
     357
     358.fontColordefaultfontcolors h3, .fontColordefaultfontcolors .h3 {
     359border-color:#666666;
     360color:#666666;
     361}
     362
     363.fontColordefaultfontcolors a, .fontColordefaultfontcolors a div, .fontColordefaultfontcolors a span {
     364color:#0066CC;
     365}
     366.fontColordefaultfontcolors a:visited, .fontColordefaultfontcolors a:visited div, .fontColordefaultfontcolors a:visited span {
     367color:#003399;
     368}
     369.fontColordefaultfontcolors a:active, .fontColordefaultfontcolors a:active div, .fontColordefaultfontcolors a:active span {
     370color:blue;
     371}
     372.fontColordefaultfontcolors a:hover, .fontColordefaultfontcolors a:hover div, .fontColordefaultfontcolors a:hover span {
     373color:#0066CC;
     374}
     375
     376.boxShapenavbox .title {
     377border-style:none;
     378border-width:0px;
     379display:inline;
     380font-family:arial,sans-serif,Verdana,Helvetica;
     381font-size:12px;
     382font-size-adjust:none;
     383font-stretch:normal;
     384font-style:normal;
     385font-variant:normal;
     386font-weight:bold;
     387line-height:normal;
     388padding:0px;
     389}
     390.boxShapenavbox .body {
     391border-style:solid;
     392border-width:0px;
     393padding:10px 0pt 0pt;
     394}
     395.boxShapenavbox .body ul.cpsskinsMenu li a {
     396border-style:none;
     397border-width:0px;
     398margin:1px 3px;
     399padding:1px 0px 1px 21px;
     400}
     401.boxShapenavbox .body ul.cpsskinsMenu li.selected a {
     402border-style:solid;
     403border-width:0px;
     404margin:0px 3px;
     405padding:1px 0px 1px 21px;
     406}
     407.boxColornavbox .title {
     408background-color:transparent;
     409border-color:transparent;
     410color:#666666;
     411}
     412.boxColornavbox .title a {
     413color:#666666;
     414}
     415.boxColornavbox .body {
     416background-color:transparent;
     417border-color:transparent;
     418}
     419.boxColornavbox .body ul.cpsskinsMenu li a {
     420border-color:transparent;
     421}
     422.boxColornavbox .body ul.cpsskinsMenu li.selected a {
     423border-color:transparent;
     424}
     425.boxColornavbox .body ul.cpsskinsMenu li a {
     426background-color:transparent;
     427}
     428.boxColornavbox .body ul.cpsskinsMenu li a:hover, .boxColornavbox .body ul.cpsskinsMenu li.selected a {
     429background-color:#F1F2F3;
     430}
     431
     432.colorfontcolorgray {
     433background-color:transparent;
     434border-color:transparent;
     435color:#666666;
     436}
     437.fontColordefaultnovisitedlinks h1, .fontColordefaultnovisitedlinks .h1 {
     438border-color:#666666;
     439color:Black;
     440}
     441.fontColordefaultnovisitedlinks h2, .fontColordefaultnovisitedlinks .h2 {
     442border-color:#666666;
     443color:Black;
     444}
     445.fontColordefaultnovisitedlinks h3, .fontColordefaultnovisitedlinks .h3 {
     446border-color:#666666;
     447color:Black;
     448}
     449.fontColordefaultnovisitedlinks h4, .fontColordefaultnovisitedlinks .h4, .fontColordefaultnovisitedlinks h5, .fontColordefaultnovisitedlinks .h5, .fontColordefaultnovisitedlinks h6, .fontColordefaultnovisitedlinks .h6 {
     450border-color:#666666;
     451color:Black;
     452}
     453.fontColordefaultnovisitedlinks a, .fontColordefaultnovisitedlinks a div, .fontColordefaultnovisitedlinks a span {
     454color:#0066CC;
     455}
     456.fontColordefaultnovisitedlinks a:visited, .fontColordefaultnovisitedlinks a:visited div, .fontColordefaultnovisitedlinks a:visited span {
     457color:#0066CC;
     458}
     459.fontColordefaultnovisitedlinks a:active, .fontColordefaultnovisitedlinks a:active div, .fontColordefaultnovisitedlinks a:active span {
     460color:blue;
     461}
     462.fontColordefaultnovisitedlinks a:hover, .fontColordefaultnovisitedlinks a:hover div, .fontColordefaultnovisitedlinks a:hover span {
     463color:#0066CC;
     464}
     465
     466.portalTabPortalTabStyleuseractions ul.cpsskinsMenu li {
     467margin:0pt 5px 0pt 0pt;
     468}
     469.portalTabPortalTabStyleuseractions ul.cpsskinsMenu li a {
     470padding:1px 0px;
     471}
     472
     473.shapeAreaShape5 {
     474border-style:solid;
     475border-width:0px 1px 1px 0px;
     476text-transform:none;
     477}
     478.shapeAreaShape {
     479border-style:solid;
     480border-width:1px;
     481text-transform:none;
     482}
     483.shapeAreaShape9 {
     484border-style:solid;
     485border-width:1px 0px 0px 1px;
     486text-transform:none;
     487}
     488
     489.fontColornavigation h1, .fontColornavigation .h1 {
     490border-color:#666666;
     491color:Black;
     492}
     493.fontColornavigation h2, .fontColornavigation .h2 {
     494border-color:#666666;
     495color:Black;
     496}
     497.fontColornavigation h3, .fontColornavigation .h3 {
     498border-color:#666666;
     499color:Black;
     500}
     501.fontColornavigation h4, .fontColornavigation .h4, .fontColornavigation h5, .fontColornavigation .h5, .fontColornavigation h6, .fontColornavigation .h6 {
     502border-color:#666666;
     503color:Black;
     504}
     505.fontColornavigation a, .fontColornavigation a div, .fontColornavigation a span {
     506color:black;
     507}
     508.fontColornavigation a:visited, .fontColornavigation a:visited div, .fontColornavigation a:visited span {
     509color:black;
     510}
     511.fontColornavigation a:active, .fontColornavigation a:active div, .fontColornavigation a:active span {
     512color:black;
     513}
     514.fontColornavigation a:hover, .fontColornavigation a:hover div, .fontColornavigation a:hover span {
     515color:black;
     516}
     517.fontShapenavigation {
     518font-family:Arial,sans-serif,Verdana,Helvetica !important;
     519font-size:12px !important;
     520font-size-adjust:none !important;
     521font-stretch:normal !important;
     522font-style:normal !important;
     523font-variant:normal !important;
     524font-weight:normal !important;
     525line-height:normal !important;
     526}
     527.fontShapenavigation p {
     528font-family:Arial,Verdana,Helvetica,sans-serif !important;
     529font-size:100% !important;
     530font-size-adjust:none !important;
     531font-stretch:normal !important;
     532font-style:normal !important;
     533font-variant:normal !important;
     534font-weight:normal !important;
     535line-height:normal !important;
     536}
     537
     538.fontShapenavigation h3, .fontShapenavigation .h3 {
     539border-style:none;
     540border-width:1px;
     541font-family:Verdana,Arial,Helvetica,sans-serif !important;
     542font-size:120% !important;
     543font-size-adjust:none !important;
     544font-stretch:normal !important;
     545font-style:normal !important;
     546font-variant:normal !important;
     547font-weight:bold !important;
     548line-height:normal !important;
     549padding:0.6em 0em 0em;
     550}
     551
     552.fontShapenavigation a, .fontShapenavigation a div, .fontShapenavigation a span {
     553text-decoration:none;
     554}
     555.fontShapenavigation a:visited, .fontShapenavigation a:visited div, .fontShapenavigation a:visited span {
     556text-decoration:none;
     557}
     558.fontShapenavigation a:active, .fontShapenavigation a:active div, .fontShapenavigation a:active span {
     559text-decoration:none;
     560}
     561.fontShapenavigation a:hover, .fontShapenavigation a:hover div, .fontShapenavigation a:hover span {
     562text-decoration:underline;
     563}
     564
     565.fontShapeTitleindex {
     566font-family:Arial,sans-serif,Verdana,Helvetica !important;
     567font-size:13px !important;
     568font-size-adjust:none !important;
     569font-stretch:normal !important;
     570font-style:normal !important;
     571font-variant:normal !important;
     572font-weight:normal !important;
     573line-height:normal !important;
     574}
     575.fontShapeTitleindex p {
     576font-family:Arial,sans-serif,Verdana,Helvetica !important;
     577font-size:100% !important;
     578font-size-adjust:none !important;
     579font-stretch:normal !important;
     580font-style:normal !important;
     581font-variant:normal !important;
     582font-weight:normal !important;
     583line-height:normal !important;
     584padding:0em;
     585}
     586.fontShapeTitleindex h1, .fontShapeTitleindex .h1 {
     587border-style:none;
     588border-width:0px;
     589font-family:Arial,sans-serif,Verdana,Helvetica !important;
     590font-size:150% !important;
     591font-size-adjust:none !important;
     592font-stretch:normal !important;
     593font-style:normal !important;
     594font-variant:normal !important;
     595font-weight:bold !important;
     596line-height:normal !important;
     597margin:0px;
     598padding:0px;
     599}
     600.fontShapeTitleindex h2, .fontShapeTitleindex .h2 {
     601border-style:none;
     602border-width:0pt;
     603font-family:Arial,sans-serif,Verdana,Helvetica !important;
     604font-size:150% !important;
     605font-size-adjust:none !important;
     606font-stretch:normal !important;
     607font-style:normal !important;
     608font-variant:normal !important;
     609font-weight:bold !important;
     610line-height:normal !important;
     611padding:0.6em 0em 0em;
     612}
     613.fontShapeTitleindex h3, .fontShapeTitleindex .h3 {
     614border-style:none;
     615border-width:0pt;
     616font-family:Verdana,Arial,Helvetica,sans-serif !important;
     617font-size:125% !important;
     618font-size-adjust:none !important;
     619font-stretch:normal !important;
     620font-style:normal !important;
     621font-variant:normal !important;
     622font-weight:bold !important;
     623line-height:normal !important;
     624padding:0.6em 0em 0em;
     625}
     626.fontShapeTitleindex h4, .fontShapeTitleindex .h4, .fontShapeTitleindex h5, .fontShapeTitleindex .h5, .fontShapeTitleindex h6, .fontShapeTitleindex .h6 {
     627border-style:none;
     628border-width:0pt;
     629font-family:Verdana,Arial,Helvetica,sans-serif !important;
     630font-size:100% !important;
     631font-size-adjust:none !important;
     632font-stretch:normal !important;
     633font-style:normal !important;
     634font-variant:normal !important;
     635font-weight:bold !important;
     636line-height:normal !important;
     637padding:0.4em 0em 0em;
     638}
     639.fontShapeTitleindex a, .fontShapeTitleindex a div, .fontShapeTitleindex a span {
     640text-decoration:none;
     641}
     642.fontShapeTitleindex a:visited, .fontShapeTitleindex a:visited div, .fontShapeTitleindex a:visited span {
     643text-decoration:none;
     644}
     645.fontShapeTitleindex a:active, .fontShapeTitleindex a:active div, .fontShapeTitleindex a:active span {
     646text-decoration:underline overline;
     647}
     648.fontShapeTitleindex a:hover, .fontShapeTitleindex a:hover div, .fontShapeTitleindex a:hover span {
     649text-decoration:underline;
     650}
     651
    89652</dtml-let>
  • WAeUP_SRP/trunk/skins/waeup_design/main_template.pt

    r1783 r1785  
    5050          <link rel="stylesheet" type="text/css" media="all"
    5151                tal:attributes="href string:${base_url}${waeup_skin}/render.css" />
    52           <link rel="stylesheet" type="text/css" media="all"
    53                 tal:attributes="href string:${base_url}common2.css" />               
    5452          <metal:block define-slot="style_slot" />
    5553        </metal:block>
  • WAeUP_SRP/trunk/skins/waeup_design/slip_template.pt

    r1783 r1785  
    4444          <link rel="stylesheet" type="text/css" media="all"
    4545                tal:attributes="href string:${base_url}common.css" />
    46           <link rel="stylesheet" type="text/css" media="all"
    47                 tal:attributes="href string:${base_url}common2.css" />   
    4846          <metal:block define-slot="style_slot" />
    4947        </metal:block>
  • WAeUP_SRP/trunk/skins/waeup_student/student_index.py

    r1502 r1785  
    1010# $Id$
    1111"""
    12 return the current student_index_html
     12return the current student_index
    1313"""
    1414from Products.AdvancedQuery import Eq, Between, Le,In
     
    4545        return context.study_level_view()
    4646    elif context.portal_type == 'StudentStudyCourse':
    47         return context.study_course_view()       
     47        return context.study_course_view()
    4848    students_url = "%s/campus/students" % (context.portal_url())
    4949    id = str(member)
  • WAeUP_SRP/trunk/skins/waeup_student/students_index.py

    r1574 r1785  
    1010# $Id$
    1111"""
    12 return the current students_index_html
     12return the current students_index
    1313"""
    1414
Note: See TracChangeset for help on using the changeset viewer.