source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_design/main_template.pt @ 1626

Last change on this file since 1626 was 1614, checked in by lregebro, 18 years ago

Moving around a bit.

  • Property svn:eol-style set to native
File size: 11.4 KB
Line 
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"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
27    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></metal:block>
28  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
29  lang="en">
30    <head>
31      <metal:block use-macro="here/header_lib_header/macros/header|here/header_lib/macros/header">
32
33        <metal:block fill-slot="base">
34          <metal:block define-slot="base">
35            <base href=""
36            tal:attributes="href string:${here_url}/" />
37          </metal:block>
38        </metal:block>
39        <metal:block fill-slot="head_slot">
40          <metal:block define-slot="head_slot" />
41        </metal:block>
42        <metal:block fill-slot="style_slot">
43          <link rel="stylesheet" type="text/css" media="all"
44            title="CPSSkins styles"
45            tal:attributes="href string:${base_url}${waeup_skin}/cpsskins_common.css" />
46          <link rel="stylesheet" type="text/css" media="all"
47            title="CPSSkins styles"
48            tal:attributes="href string:${base_url}${waeup_skin}/cpsskins_render.css" />
49          <style type="text/css" media="all"
50            tal:content="string:@import url(${base_url}${waeup_skin}/cpsskins_common-css2.css);"/>
51          <metal:block define-slot="style_slot" />
52        </metal:block>
53        <metal:block fill-slot="javascript_head_slot">
54          <metal:block define-slot="javascript_head_slot" />
55        </metal:block>
56      </metal:block>
57      <link rel="icon"
58      href="http://uniben.waeup.org/portal_themes/WAeUP_Student/icons/ng.png"
59      type="image/png" />
60      <link rel="shortcut icon"
61      href="http://uniben.waeup.org/portal_themes/WAeUP_Student/icons/ng.png"
62      type="image/png" />
63      <!-- CSS1 -->
64    </head>
65    <body tal:condition="emptybody"
66    style="margin: 0px;"
67    tal:attributes="onload here/getOnLoad|string:setFocus();">
68      <metal:block define-slot="body" />
69      <metal:block define-slot="main" />
70    </body>
71    <body tal:condition="not:emptybody"
72    style="margin: 0px;"
73    tal:attributes="onload here/getOnLoad|string:setFocus();">
74      <!-- AA -->
75      <div>
76        <a href="http://uniben.waeup.org/accessibility"
77        accesskey="0"></a>
78        <a href="http://uniben.waeup.org/" accesskey="1"></a>
79        <a href="#content" accesskey="2"></a>
80        <a href="#menu" accesskey="3"></a>
81        <a href="http://uniben.waeup.org/advanced_search_form"
82        accesskey="4"></a>
83        <a href="http://uniben.waeup.org/" accesskey="7"></a>
84      </div>
85      <table summary="Page Block"
86      style="margin-left: auto; margin-right: auto; width: 100%;"
87      class="shapeNoBorder colorTransparent" cellpadding="0"
88      cellspacing="0">
89        <tbody>
90          <tr>
91            <td style="width: 20px;" valign="top"></td>
92            <td style="width: 80px;" valign="top">
93              <div style="padding: 0.5em;">
94                <div style="padding: 0.5em; text-align: right;"
95                class="fontColordefaultfontcolors fontShapeaverage">
96
97                  <img tal:attributes="src string:${base_url}uniben_mark.jpg"  alt="Logo"
98                  height="84" width="82" />
99                </div>
100              </div>
101            </td>
102            <td style="" valign="top">
103              <div style="padding: 1.5em 0em 0em;">
104                <div style="padding: 0.5em; text-align: left;"
105                  class="fontColordefaultfontcolors fontShapeaverage">
106                  <img tal:attributes="src string:${base_url}uniben_logo.gif"
107                    alt="Logo" height="51" width="234" />
108                </div>
109              </div>
110            </td>
111            <td style="width: 20px;" valign="top"></td>
112          </tr>
113        </tbody>
114      </table>
115      <table summary="Page Block"
116      style="margin-left: auto; margin-right: auto; width: 100%;"
117      class="shapeNoBorder colorTransparent" cellpadding="0"
118      cellspacing="0">
119        <tbody>
120          <tr>
121            <td style="width: 20px;" valign="top"></td>
122            <td valign="top"></td>
123            <td style="width: 20px;" valign="top"></td>
124          </tr>
125        </tbody>
126      </table>
127      <table summary="Page Block"
128      style="margin-left: auto; margin-right: auto; width: 100%;"
129      class="shapeNoBorder colorTransparent" cellpadding="0"
130      cellspacing="0">
131        <tbody>
132          <tr>
133            <td style="width: 20px;" valign="top"></td>
134            <td style="" valign="top">
135              <div style="padding: 0em 0em 1px;">
136                <div style="text-align: right;"
137                class="fontColornavigation fontShapenavigation">
138                  <div style="padding: 0pt; text-align: right;">
139                    <div style="">
140                      <div class="portalTabTabStyle">
141                        <div class="cpsskinsHBox body">
142                          <div id="student_navigation_slot">
143                            <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_navigation_slot')"
144                                tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
145                          </div>
146                        </div>
147                        <div style="clear: both;"></div>
148                      </div>
149                    </div>
150                  </div>
151                </div>
152              </div>
153            </td>
154            <td style="width: 20px;" valign="top"></td>
155          </tr>
156        </tbody>
157      </table>
158      <table summary="Main"
159      style="margin-left: auto; margin-right: auto; width: 100%;"
160      class="" cellpadding="0" cellspacing="0">
161        <tbody>
162          <tr>
163            <td style="width: 20px;" valign="top"></td>
164            <td style="width: 150px;"
165            class="shape colorStudentBarColor" valign="top">
166              <div style="text-align: left;"
167              class="colorStudentBarAreaColor fontColordefaultnovisitedlinks fontShapeaverage shapeAreaShape9">
168
169                <div style="padding: 0pt; text-align: left;">
170                  <div style="padding: 0.4em 0.4em 0.4em 0.3em;">
171                    <div id="portal_session">
172                      <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='portal_session')"
173                          tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
174                    </div>                       
175                  </div>
176                </div>
177              </div>
178            </td>
179            <td style="" class="shape colorStudentBarColor"
180            valign="top">
181              <div style="text-align: left;"
182              class="fontColornavigation fontShapeaverage">
183                <div style="padding: 0pt; text-align: left;">
184                  <div style="padding: 0.2em 0.2em 0em;">
185                    <div class="cpsskinsHBox body">                   
186                      <div id="student_object_tabs">
187                        <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_object_tabs')"
188                            tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
189                      </div>                                           
190                    </div>
191                    <div style="clear: both;"></div>
192                  </div>
193                </div>
194              </div>
195            </td>
196            <td style="width: 20px;" class="shape color"
197            valign="top"></td>
198          </tr>
199        </tbody>
200      </table>
201      <table summary="Page Block"
202      style="margin-left: auto; margin-right: auto; width: 100%;"
203      class="" cellpadding="0" cellspacing="0">
204        <tbody>
205          <tr>
206            <td style="width: 20px;" valign="top"></td>
207            <td style="width: 150px;"
208            class="shape colorStudentBarColor" valign="top">
209              <div style="padding: 0.4em 0.2em 0.2em;">
210                <div style="text-align: left;"
211                class="fontColornavigation fontShapeaverage">
212                  <div style="padding: 0pt; text-align: left;">
213                    <div style="padding: 0.2em;">
214                      <div class="boxShapenavbox cpsskinsBox">
215                        <div class="body">
216                          <div id="student_actions_slot">
217                            <tal:block repeat="portlet python:ptool.getPortlets(context=context, slot='student_actions_slot')"
218                                tal:content="structure python:portlet.render_cache(context_obj=context, portlet=portlet, boxedit=None)" />
219                          </div>                       
220                        </div>
221                      </div>
222                    </div>
223                  </div>
224                </div>
225              </div>
226              <div style="padding: 0.2em;">
227                <div style="text-align: left;"
228                class="fontColornavigation fontShapeaverage"></div>
229              </div>
230            </td>
231            <td style=""
232            class="shapeAreaShape5 colorStudentBarAreaColor"
233            valign="top">
234              <div style="padding: 0.2em;">
235                <div style="text-align: left;"
236                class="fontColordefaultfontcolors fontShapeaverage">
237
238                  <div style="padding: 0pt; text-align: left;">
239                    <div style="padding: 0.2em;">
240                      <div id="main_slot_student">
241                        <metal:block define-slot="header" />
242                        <metal:block define-slot="main" />
243                        <metal:block define-slot="sub" />
244                      </div>
245                    </div>
246                  </div>
247                </div>
248              </div>
249            </td>
250            <td style="width: 20px;" valign="top"></td>
251          </tr>
252        </tbody>
253      </table>
254      <table summary="Page Block"
255      style="margin-left: auto; margin-right: auto; width: 100%;"
256      class="shapeNoBorder colorTransparent" cellpadding="0"
257      cellspacing="0">
258        <tbody>
259          <tr>
260            <td style="width: 20px;" valign="top"></td>
261            <td style="" valign="top">
262              <div style="padding: 0.2em; text-align: right;"
263              class="fontColordefaultfontcolors fontShapeaverage">
264              Copyright WAeUP Group 2007</div>
265            </td>
266            <td style="width: 20px;" valign="top"></td>
267          </tr>
268        </tbody>
269      </table>
270    </body>
271  </html>
272</metal:block>
Note: See TracBrowser for help on using the repository browser.