[1737] | 1 | <metal:block define-macro="master" |
---|
| 2 | tal:define="showthirdcol showthirdcol|python:1; |
---|
| 3 | emptybody emptybody|request/emptybody|nothing; |
---|
| 4 | mtool here/portal_membership; |
---|
[1783] | 5 | |
---|
[1737] | 6 | utool nocall:here/portal_url; |
---|
| 7 | atool here/portal_actions; |
---|
| 8 | ttool here/portal_trees; |
---|
| 9 | wtool here/portal_workflow; |
---|
| 10 | ptool here/portal_cpsportlets; |
---|
| 11 | context_url python:here.getContextUrl(utool=utool); |
---|
| 12 | here_url here/absolute_url; |
---|
| 13 | base_url here/getBaseUrl; |
---|
| 14 | member mtool/getAuthenticatedMember; |
---|
| 15 | isAnon mtool/isAnonymousUser; |
---|
| 16 | isHomeless python:isAnon or member.getProperty('homeless', 0); |
---|
| 17 | isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0]; |
---|
| 18 | actions python:atool.listFilteredActionsFor(here); |
---|
| 19 | wf_state python:wtool.getInfoFor(here,'review_state',''); |
---|
| 20 | uname python: isAnon and 'Guest' or member.getUserName(); |
---|
| 21 | checkPerm nocall: mtool/checkPermission; |
---|
| 22 | cpsmcat nocall:here/translation_service; |
---|
| 23 | locale here/translation_service/getSelectedLanguage; |
---|
| 24 | in_ws here/isInWorkspace; |
---|
| 25 | waeup_skin here/get_waeup_skin; |
---|
| 26 | student_theme python:test(waeup_skin == 'WAeUP_Student',1,0); |
---|
| 27 | navigation_slot python:test(student_theme,'student_navigation_slot','navigation_slot'); |
---|
[1796] | 28 | object_tabs python:test(student_theme,'student_object_slot','staff_object_slot'); |
---|
[1737] | 29 | |
---|
| 30 | "> |
---|
| 31 | <metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 32 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
| 33 | </metal:block> |
---|
| 34 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
| 35 | lang="en"> |
---|
| 36 | <head> |
---|
| 37 | <metal:block use-macro="here/header_lib_header/macros/header|here/header_lib/macros/header"> |
---|
| 38 | <metal:block fill-slot="base"> |
---|
| 39 | <metal:block define-slot="base"> |
---|
| 40 | <base href="" |
---|
| 41 | tal:attributes="href string:${here_url}/" /> |
---|
| 42 | </metal:block> |
---|
| 43 | </metal:block> |
---|
| 44 | <metal:block fill-slot="head_slot"> |
---|
| 45 | <metal:block define-slot="head_slot" /> |
---|
| 46 | </metal:block> |
---|
| 47 | <metal:block fill-slot="style_slot"> |
---|
| 48 | <link rel="stylesheet" type="text/css" media="all" |
---|
| 49 | tal:attributes="href string:${base_url}common.css" /> |
---|
| 50 | <link rel="stylesheet" type="text/css" media="all" |
---|
| 51 | tal:attributes="href string:${base_url}${waeup_skin}/render.css" /> |
---|
| 52 | <metal:block define-slot="style_slot" /> |
---|
| 53 | </metal:block> |
---|
| 54 | <metal:block fill-slot="javascript_head_slot"> |
---|
| 55 | <metal:block define-slot="javascript_head_slot" /> |
---|
| 56 | </metal:block> |
---|
| 57 | </metal:block> |
---|
| 58 | <link rel="icon" |
---|
[1742] | 59 | href="ng.png" |
---|
| 60 | tal:attributes="href string:${base_url}ng.png" |
---|
[1737] | 61 | type="image/png" /> |
---|
| 62 | <link rel="shortcut icon" |
---|
| 63 | href="icons/ng.png" |
---|
[1742] | 64 | tal:attributes="href string:${base_url}ng.png" |
---|
[1737] | 65 | type="image/png" /> |
---|
| 66 | </head> |
---|
| 67 | <body tal:condition="emptybody" |
---|
| 68 | style="margin: 0px;" |
---|
| 69 | tal:attributes="onload here/getOnLoad|string:setFocus();"> |
---|
| 70 | <metal:block define-slot="body" /> |
---|
| 71 | <metal:block define-slot="main" /> |
---|
| 72 | </body> |
---|
| 73 | |
---|
| 74 | <body tal:condition="not:emptybody" |
---|
| 75 | style="margin: 0px;" |
---|
| 76 | tal:attributes="onload here/getOnLoad|string:setFocus();"> |
---|
| 77 | |
---|
[1743] | 78 | |
---|
[1737] | 79 | <table summary="Logo Block" |
---|
| 80 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
[1783] | 81 | class="shapeNoBorder colorTransparent" cellpadding="0" |
---|
[1737] | 82 | cellspacing="0"> |
---|
| 83 | <tbody> |
---|
| 84 | <tr> |
---|
[1783] | 85 | <td style="width: 20px;"></td> |
---|
[1792] | 86 | <td valign="top" style="width: 120px; padding: 10px 10px 0 0; text-align: right;"> |
---|
[2271] | 87 | <img tal:attributes="src string:${base_url}logo_left.jpg" alt="Logo" /> |
---|
[1737] | 88 | </td> |
---|
[1783] | 89 | <td style="padding: 27px 0 0 0; text-align: left;" valign="top"> |
---|
[2271] | 90 | <img tal:attributes="src string:${base_url}logo_right.gif" alt="Logo" /> |
---|
[1737] | 91 | </td> |
---|
[1783] | 92 | <td style="width: 20px;"></td> |
---|
[1737] | 93 | </tr> |
---|
| 94 | </tbody> |
---|
| 95 | </table> |
---|
| 96 | |
---|
| 97 | <table summary="Navigation Block" |
---|
| 98 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 99 | class="shapeNoBorder colorTransparent" cellpadding="0" |
---|
| 100 | cellspacing="0"> |
---|
| 101 | <tbody> |
---|
| 102 | <tr> |
---|
| 103 | <td style="width: 20px;" valign="top"></td> |
---|
| 104 | <td style="" valign="top"> |
---|
| 105 | <div id="navigation_slot" |
---|
| 106 | style="padding: 0em 0em 1px; text-align: right;" |
---|
| 107 | class="fontColornavigation fontShapenavigation portalTabTabStyle cpsskinsHBox body"> |
---|
| 108 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot=navigation_slot)" |
---|
[1922] | 109 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet)" /> |
---|
[1737] | 110 | </div> |
---|
| 111 | </td> |
---|
| 112 | <td style="width: 20px;" valign="top"></td> |
---|
| 113 | </tr> |
---|
| 114 | </tbody> |
---|
| 115 | </table> |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | <table summary="Main Table Block 1" |
---|
| 119 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 120 | cellpadding="0" cellspacing="0"> |
---|
| 121 | <tbody> |
---|
| 122 | <tr> |
---|
| 123 | <td style="width: 20px;" valign="top"></td> |
---|
[2133] | 124 | <td style="width: 170px;text-align: center;" |
---|
[1737] | 125 | valign="top"> |
---|
| 126 | <div id="portal_session" style="padding: 0.4em 0.4em 0.4em 0.3em;" |
---|
| 127 | class="colorBarAreaColor fontColordefaultnovisitedlinks fontShapeaverage shapeAreaShape9"> |
---|
| 128 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='portal_session')" |
---|
| 129 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 130 | </div> |
---|
| 131 | </td> |
---|
| 132 | <td style="text-align: left; padding: 0.2em 0.2em 0em;" class="colorBarColor" valign="top"> |
---|
[1917] | 133 | <metal:block define-slot="action_slot" /> |
---|
[1922] | 134 | <div id="object_tabs" class="fontColornavigation fontShapeaverage cpsskinsHBox body" |
---|
| 135 | tal:define="portlets python:ptool.getPortlets(context=context, slot=object_tabs)"> |
---|
| 136 | <tal:block repeat="portlet portlets" |
---|
| 137 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet)" /> |
---|
[1737] | 138 | </div> |
---|
| 139 | </td> |
---|
| 140 | <td tal:condition="not:student_theme" |
---|
| 141 | class="colorBarColor" valign="top" style="text-align: right;padding: 0.2em 0.2em 0em; width: 280px;"> |
---|
[1922] | 142 | <div id="status_slot" class="fontColordefaultfontcolors fontShapeaverage cpsskinsHBox body" |
---|
| 143 | tal:define="portlets python:ptool.getPortlets(context=context, slot='status_slot')"> |
---|
| 144 | <tal:block repeat="portlet portlets" |
---|
[1737] | 145 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 146 | </div> |
---|
| 147 | </td> |
---|
| 148 | <td style="width: 20px;" |
---|
| 149 | valign="top"></td> |
---|
| 150 | </tr> |
---|
| 151 | </tbody> |
---|
| 152 | </table> |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | <table summary="Main Table Block 2" |
---|
| 157 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 158 | class="" cellpadding="0" cellspacing="0"> |
---|
| 159 | <tbody> |
---|
| 160 | <tr> |
---|
| 161 | <td style="width: 20px;" valign="top"></td> |
---|
[2133] | 162 | <td style="width: 170px;text-align: left;" |
---|
[1737] | 163 | class="colorBarColor fontColornavigation fontShapeaverage boxShapenavbox cpsskinsBox" valign="top"> |
---|
| 164 | <div id="staff_actions_slot" class="body" style="padding: 1.5em 0.5em 1.5em 0.5em;"> |
---|
| 165 | <tal:block tal:condition="not:student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='staff_actions_slot')" |
---|
| 166 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 167 | <tal:block tal:condition="not:student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='global_actions_slot')" |
---|
| 168 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 169 | <tal:block tal:condition="student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='student_actions_slot')" |
---|
| 170 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
[2019] | 171 | |
---|
[1737] | 172 | <span tal:condition="student_theme"> |
---|
| 173 | <div style="padding: 0em;"> |
---|
| 174 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_workflow')" |
---|
| 175 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 176 | </div> |
---|
[2019] | 177 | |
---|
| 178 | <div style="padding-top: 10px;"> |
---|
| 179 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_notice_slot')" |
---|
| 180 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 181 | </div> |
---|
| 182 | </span> |
---|
[1737] | 183 | |
---|
[2019] | 184 | |
---|
[1737] | 185 | </div> |
---|
| 186 | </td> |
---|
| 187 | <td style="" class="shapeAreaShape5 colorBarAreaColor" valign="top"> |
---|
| 188 | <div style="padding: 0.5em; text-align: left;" class="fontColordefaultfontcolors fontShapeaverage"> |
---|
[1756] | 189 | <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" /> |
---|
| 190 | <metal:block define-slot="header" /> |
---|
| 191 | <metal:block define-slot="main" /> |
---|
| 192 | <metal:block define-slot="sub" /> |
---|
[1737] | 193 | </div> |
---|
| 194 | </td> |
---|
| 195 | <td style="width: 20px;" valign="top"></td> |
---|
| 196 | </tr> |
---|
| 197 | </tbody> |
---|
| 198 | </table> |
---|
| 199 | |
---|
| 200 | |
---|
| 201 | <table summary="Copyright Info Block" |
---|
| 202 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 203 | cellspacing="0"> |
---|
| 204 | <tbody> |
---|
| 205 | <tr> |
---|
| 206 | <td style="width: 20px;" valign="top"></td> |
---|
| 207 | <td style="padding: 0.2em; text-align: right;" valign="top"> |
---|
| 208 | <div class="fontColordefaultfontcolors fontShapeaverage"> |
---|
| 209 | Copyright WAeUP Group 2007</div> |
---|
| 210 | </td> |
---|
| 211 | <td style="width: 20px;" valign="top"></td> |
---|
| 212 | </tr> |
---|
| 213 | </tbody> |
---|
| 214 | </table> |
---|
| 215 | </body> |
---|
| 216 | </html> |
---|
| 217 | </metal:block> |
---|