source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_design/slip_template.pt @ 1691

Last change on this file since 1691 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:keywords set to Id
File size: 5.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  ">
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                title="CPSSkins styles"
46                tal:attributes="href string:${base_url}common.css" />
47          <link rel="stylesheet" type="text/css" media="all"
48                title="CPSSkins styles"
49                tal:attributes="href string:${base_url}${waeup_skin}render.css" />
50          <style type="text/css" media="all"
51                 tal:content="string:@import url(${base_url}common-css2.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"
59            href="http://uniben.waeup.org/portal_themes/WAeUP_Student/icons/ng.png"
60            type="image/png" />
61      <link rel="shortcut icon"
62            href="http://uniben.waeup.org/portal_themes/WAeUP_Student/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    <body tal:condition="not:emptybody"
73          style="margin: 0px;"
74          tal:attributes="onload here/getOnLoad|string:setFocus();">
75    <div>
76      <a href="http://uniben.waeup.org/accessibility" accesskey="0"></a>
77      <a href="http://uniben.waeup.org/" accesskey="1"></a>
78      <a href="#content" accesskey="2"></a>
79      <a href="#menu" accesskey="3"></a>
80      <a href="http://uniben.waeup.org/advanced_search_form"
81         accesskey="4"></a>
82      <a href="http://uniben.waeup.org/" accesskey="7"></a>
83    </div>
84    <table summary="header"
85           style="margin-left: auto; margin-right: auto; width: 100%;"
86           cellspacing="0">
87      <tbody>
88        <tr>
89          <td style="width: 20px;" valign="top"></td>
90          <td style="width: 80px;" valign="top">
91            <div style="padding: 0.5em;">
92              <div style="padding: 0.5em; text-align: right;"
93                   class="fontColordefaultfontcolors fontShapeaverage">
94                <img tal:attributes="src string:${base_url}uniben_mark.jpg"  alt="Logo"
95                     height="84" width="82" />
96              </div>
97            </div>
98          </td>
99          <td style="" valign="top">
100            <div style="padding: 1.5em 0em 0em;">
101              <div style="padding: 0.5em; text-align: left;"
102                   class="fontColordefaultfontcolors fontShapeaverage">
103                <img tal:attributes="src string:${base_url}uniben_logo.gif"
104                     alt="Logo" height="51" width="234" />
105              </div>
106            </div>
107          </td>
108          <td style="width: 20px;" valign="top"></td>
109        </tr>
110      </tbody>
111    </table>
112    <table cellpadding="0" cellspacing="0" summary="Main"
113           style="margin-left:auto;margin-right:auto;width:100%;"
114           class="">
115      <tr>
116        <td valign="top" style="width:700px"
117            class="shape color">
118          <div style="padding: 0.2em">
119            <div style="text-align: left;"
120                 class="fontColordefaultfontcolors fontShapeTitleindex shapeAreaShape">
121              <div style="text-align:left; padding:0">
122                <div style="padding:2em;">
123                  <metal:block define-slot="header" />
124                  <metal:block define-slot="main" />
125                  <metal:block define-slot="sub" />
126                </div>
127              </div>
128            </div>
129          </div>
130        </td>
131      </tr>
132    </table>
133  </body>
134</html>
135</metal:block>
Note: See TracBrowser for help on using the repository browser.