[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; |
---|
| 5 | can_raise python:mtool.assertViewable(here); |
---|
| 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'); |
---|
| 28 | object_tabs python:test(student_theme,'student_object_tabs','staff_object_tabs'); |
---|
| 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 | <link rel="stylesheet" type="text/css" media="all" |
---|
| 53 | tal:attributes="href string:${base_url}common2.css" /> |
---|
| 54 | <metal:block define-slot="style_slot" /> |
---|
| 55 | </metal:block> |
---|
| 56 | <metal:block fill-slot="javascript_head_slot"> |
---|
| 57 | <metal:block define-slot="javascript_head_slot" /> |
---|
| 58 | </metal:block> |
---|
| 59 | </metal:block> |
---|
| 60 | <link rel="icon" |
---|
[1742] | 61 | href="ng.png" |
---|
| 62 | tal:attributes="href string:${base_url}ng.png" |
---|
[1737] | 63 | type="image/png" /> |
---|
| 64 | <link rel="shortcut icon" |
---|
| 65 | href="icons/ng.png" |
---|
[1742] | 66 | tal:attributes="href string:${base_url}ng.png" |
---|
[1737] | 67 | type="image/png" /> |
---|
| 68 | </head> |
---|
| 69 | <body tal:condition="emptybody" |
---|
| 70 | style="margin: 0px;" |
---|
| 71 | tal:attributes="onload here/getOnLoad|string:setFocus();"> |
---|
| 72 | <metal:block define-slot="body" /> |
---|
| 73 | <metal:block define-slot="main" /> |
---|
| 74 | </body> |
---|
| 75 | |
---|
| 76 | <body tal:condition="not:emptybody" |
---|
| 77 | style="margin: 0px;" |
---|
| 78 | tal:attributes="onload here/getOnLoad|string:setFocus();"> |
---|
| 79 | |
---|
[1743] | 80 | |
---|
[1737] | 81 | <table summary="Logo Block" |
---|
| 82 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 83 | class="shapeNoBorder colorTransparent" cellpadding="0" |
---|
| 84 | cellspacing="0"> |
---|
| 85 | <tbody> |
---|
| 86 | <tr> |
---|
| 87 | <td style="width: 20px;" valign="top"></td> |
---|
| 88 | <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;"> |
---|
[1739] | 89 | <img tal:attributes="src string:${base_url}uniben_mark.jpg" alt="Logo" |
---|
[1737] | 90 | height="84" width="82" /> |
---|
| 91 | </td> |
---|
| 92 | <td style="padding: 2em 0em 0em 0em; text-align: left;" valign="top"> |
---|
[1739] | 93 | <img tal:attributes="src string:${base_url}uniben_logo.gif" |
---|
[1737] | 94 | alt="Logo" height="51" width="234" /> |
---|
| 95 | </td> |
---|
| 96 | <td style="width: 20px;" valign="top"></td> |
---|
| 97 | </tr> |
---|
| 98 | </tbody> |
---|
| 99 | </table> |
---|
| 100 | |
---|
| 101 | <table summary="Navigation Block" |
---|
| 102 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 103 | class="shapeNoBorder colorTransparent" cellpadding="0" |
---|
| 104 | cellspacing="0"> |
---|
| 105 | <tbody> |
---|
| 106 | <tr> |
---|
| 107 | <td style="width: 20px;" valign="top"></td> |
---|
| 108 | <td style="" valign="top"> |
---|
| 109 | <div id="navigation_slot" |
---|
| 110 | style="padding: 0em 0em 1px; text-align: right;" |
---|
| 111 | class="fontColornavigation fontShapenavigation portalTabTabStyle cpsskinsHBox body"> |
---|
| 112 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot=navigation_slot)" |
---|
| 113 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 114 | </div> |
---|
| 115 | </td> |
---|
| 116 | <td style="width: 20px;" valign="top"></td> |
---|
| 117 | </tr> |
---|
| 118 | </tbody> |
---|
| 119 | </table> |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | <table summary="Main Table Block 1" |
---|
| 123 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 124 | cellpadding="0" cellspacing="0"> |
---|
| 125 | <tbody> |
---|
| 126 | <tr> |
---|
| 127 | <td style="width: 20px;" valign="top"></td> |
---|
| 128 | <td style="width: 150px;text-align: center;" |
---|
| 129 | valign="top"> |
---|
| 130 | <div id="portal_session" style="padding: 0.4em 0.4em 0.4em 0.3em;" |
---|
| 131 | class="colorBarAreaColor fontColordefaultnovisitedlinks fontShapeaverage shapeAreaShape9"> |
---|
| 132 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='portal_session')" |
---|
| 133 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 134 | </div> |
---|
| 135 | </td> |
---|
| 136 | <td style="text-align: left; padding: 0.2em 0.2em 0em;" class="colorBarColor" valign="top"> |
---|
| 137 | <div id="object_tabs" class="fontColornavigation fontShapeaverage cpsskinsHBox body"> |
---|
| 138 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot=object_tabs)" |
---|
| 139 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 140 | </div> |
---|
| 141 | </td> |
---|
| 142 | <td tal:condition="not:student_theme" |
---|
| 143 | class="colorBarColor" valign="top" style="text-align: right;padding: 0.2em 0.2em 0em; width: 280px;"> |
---|
| 144 | <div id="status_slot" class="fontColordefaultfontcolors fontShapeaverage cpsskinsHBox body"> |
---|
| 145 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='status_slot')" |
---|
| 146 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 147 | </div> |
---|
| 148 | </td> |
---|
| 149 | <td style="width: 20px;" |
---|
| 150 | valign="top"></td> |
---|
| 151 | </tr> |
---|
| 152 | </tbody> |
---|
| 153 | </table> |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | <table summary="Main Table Block 2" |
---|
| 158 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 159 | class="" cellpadding="0" cellspacing="0"> |
---|
| 160 | <tbody> |
---|
| 161 | <tr> |
---|
| 162 | <td style="width: 20px;" valign="top"></td> |
---|
| 163 | <td style="width: 150px;text-align: left;" |
---|
| 164 | class="colorBarColor fontColornavigation fontShapeaverage boxShapenavbox cpsskinsBox" valign="top"> |
---|
| 165 | <div id="staff_actions_slot" class="body" style="padding: 1.5em 0.5em 1.5em 0.5em;"> |
---|
| 166 | <tal:block tal:condition="not:student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='staff_actions_slot')" |
---|
| 167 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 168 | <tal:block tal:condition="not:student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='global_actions_slot')" |
---|
| 169 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 170 | <tal:block tal:condition="student_theme" repeat="portlet python:ptool.getPortlets(context=context, slot='student_actions_slot')" |
---|
| 171 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 172 | <span tal:condition="student_theme"> |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | <div style="padding: 0em;"> |
---|
| 176 | <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_workflow')" |
---|
| 177 | tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" /> |
---|
| 178 | </div> |
---|
| 179 | |
---|
| 180 | </span> |
---|
| 181 | </div> |
---|
| 182 | </td> |
---|
| 183 | <td style="" class="shapeAreaShape5 colorBarAreaColor" valign="top"> |
---|
| 184 | <div style="padding: 0.5em; text-align: left;" class="fontColordefaultfontcolors fontShapeaverage"> |
---|
| 185 | <metal:block define-slot="header" /> |
---|
| 186 | <metal:block define-slot="main" /> |
---|
| 187 | <metal:block define-slot="sub" /> |
---|
| 188 | </div> |
---|
| 189 | </td> |
---|
| 190 | <td style="width: 20px;" valign="top"></td> |
---|
| 191 | </tr> |
---|
| 192 | </tbody> |
---|
| 193 | </table> |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | <table summary="Copyright Info Block" |
---|
| 197 | style="margin-left: auto; margin-right: auto; width: 100%;" |
---|
| 198 | cellspacing="0"> |
---|
| 199 | <tbody> |
---|
| 200 | <tr> |
---|
| 201 | <td style="width: 20px;" valign="top"></td> |
---|
| 202 | <td style="padding: 0.2em; text-align: right;" valign="top"> |
---|
| 203 | <div class="fontColordefaultfontcolors fontShapeaverage"> |
---|
| 204 | Copyright WAeUP Group 2007</div> |
---|
| 205 | </td> |
---|
| 206 | <td style="width: 20px;" valign="top"></td> |
---|
| 207 | </tr> |
---|
| 208 | </tbody> |
---|
| 209 | </table> |
---|
| 210 | </body> |
---|
| 211 | </html> |
---|
| 212 | </metal:block> |
---|