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

Last change on this file since 1690 was 1690, checked in by Henrik Bettermann, 18 years ago

first working version
only portlet.render_cache does not work for object action portlets

  • Property svn:eol-style set to native
File size: 5.8 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  ">
27  <metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
28    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
29  </metal:block>
30  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
31        lang="en">
32    <head>
33      <metal:block use-macro="here/header_lib_header/macros/header|here/header_lib/macros/header">
34        <metal:block fill-slot="base">
35          <metal:block define-slot="base">
36            <base href=""
37                  tal:attributes="href string:${here_url}/" />
38          </metal:block>
39        </metal:block>
40        <metal:block fill-slot="head_slot">
41          <metal:block define-slot="head_slot" />
42        </metal:block>
43        <metal:block fill-slot="style_slot">
44          <link rel="stylesheet" type="text/css" media="all"
45                tal:attributes="href string:${base_url}common.css" />
46          <link rel="stylesheet" type="text/css" media="all"
47                tal:attributes="href string:${base_url}${waeup_skin}/render.css" />
48          <link rel="stylesheet" type="text/css" media="all"
49                tal:attributes="href string:${base_url}common-css2.css" />               
50          <metal:block define-slot="style_slot" />
51        </metal:block>
52        <metal:block fill-slot="javascript_head_slot">
53          <metal:block define-slot="javascript_head_slot" />
54        </metal:block>
55      </metal:block>
56      <link rel="icon"
57            href="icons/ng.png"
58            tal:attributes="href string:${base_url}icons/ng.png"
59            type="image/png" />
60      <link rel="shortcut icon"
61            href="icons/ng.png"
62            tal:attributes="href string:${base_url}icons/ng.png"
63            type="image/png" />
64      <!-- CSS1 -->
65    </head>
66    <body tal:condition="emptybody"
67          style="margin: 0px;"
68          tal:attributes="onload here/getOnLoad|string:setFocus();">
69      <metal:block define-slot="body" />
70      <metal:block define-slot="main" />
71    </body>
72   
73    <body tal:condition="not:emptybody"
74          style="margin: 0px;"
75          tal:attributes="onload here/getOnLoad|string:setFocus();">
76      <div>
77        <a href="http://uniben.waeup.org/accessibility"
78           accesskey="0"></a>
79        <a href="http://uniben.waeup.org/" accesskey="1"></a>
80        <a href="#content" accesskey="2"></a>
81        <a href="#menu" accesskey="3"></a>
82        <a href="http://uniben.waeup.org/advanced_search_form"
83           accesskey="4"></a>
84        <a href="http://uniben.waeup.org/" accesskey="7"></a>
85      </div>
86     
87     
88      <table summary="Page Block"
89             style="margin-left: auto; margin-right: auto; width: 100%;"
90             class="shapeNoBorder colorTransparent" cellpadding="0"
91             cellspacing="0">
92        <tbody>
93          <tr>
94            <td style="width: 20px;" valign="top"></td>
95            <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;">
96              <img tal:attributes="src string:${base_url}uniben_mark.jpg"  alt="Logo"
97                       height="84" width="82" />
98            </td>
99            <td style="padding: 2em 0em 0em 0em; text-align: left;" valign="top">
100              <img tal:attributes="src string:${base_url}uniben_logo.gif"
101                       alt="Logo" height="51" width="234" />
102            </td>
103            <td style="width: 20px;" valign="top"></td>
104          </tr>
105        </tbody>
106      </table>
107     
108     
109    <metal:block use-macro="here/?waeup_skin/theme/macros/navigation" />
110    <metal:block use-macro="here/?waeup_skin/theme/macros/session" />
111       
112   
113    <table summary="Page Block"
114             style="margin-left: auto; margin-right: auto; width: 100%;"
115             class="" cellpadding="0" cellspacing="0">
116      <tbody>
117        <tr>
118          <metal:block use-macro="here/?waeup_skin/theme/macros/tdactions" />
119          <td style="" class="shapeAreaShape5 colorBarAreaColor" valign="top">
120            <div style="padding: 0.5em; text-align: left;" class="fontColordefaultfontcolors fontShapeaverage">
121                    <metal:block define-slot="header" />
122                    <metal:block define-slot="main" />
123                    <metal:block define-slot="sub" />
124            </div>
125          </td>
126          <td style="width: 20px;" valign="top"></td>
127        </tr>
128      </tbody>
129    </table>
130   
131   
132    <table summary="Page Block"
133             style="margin-left: auto; margin-right: auto; width: 100%;"
134             cellspacing="0">
135        <tbody>
136          <tr>
137            <td style="width: 20px;" valign="top"></td>
138            <td style="padding: 0.2em; text-align: right;" valign="top">
139              <div class="fontColordefaultfontcolors fontShapeaverage">
140              Copyright WAeUP Group 2007</div>
141            </td>
142            <td style="width: 20px;" valign="top"></td>
143          </tr>
144        </tbody>
145    </table>
146    </body>
147  </html>
148</metal:block>
Note: See TracBrowser for help on using the repository browser.