source: WAeUP_SRP/trunk/skins/waeup_unilorin/slip_template.pt @ 16536

Last change on this file since 16536 was 5137, checked in by Henrik Bettermann, 15 years ago

remove frame

File size: 4.3 KB
RevLine 
[3690]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
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  static_dir here/portal_properties/static_dir;
15  static_base_url string:${base_url}${static_dir};   
16  member mtool/getAuthenticatedMember;
17  isAnon mtool/isAnonymousUser;
18  isHomeless python:isAnon or member.getProperty('homeless', 0);
19  isHomeless python:(isHomeless == '0' and [0] or [isHomeless])[0];
20  actions python:atool.listFilteredActionsFor(here);
21  wf_state python:wtool.getInfoFor(here,'review_state','');
22  uname python: isAnon and 'Guest' or member.getUserName();
23  checkPerm nocall: mtool/checkPermission;
24  cpsmcat nocall:here/translation_service;
25  locale here/translation_service/getSelectedLanguage;
26  in_ws here/isInWorkspace;
27  waeup_skin here/get_waeup_skin;
28  ">
29  <metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
30    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
31  </metal:block>
32  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
33        lang="en">
34    <head>
35      <metal:block use-macro="here/header_lib_header/macros/header|here/header_lib/macros/header">
36        <metal:block fill-slot="base">
37          <metal:block define-slot="base">
38            <base href=""
39                  tal:attributes="href string:${here_url}/" />
40          </metal:block>
41        </metal:block>
42        <metal:block fill-slot="head_slot">
43          <metal:block define-slot="head_slot" />
44        </metal:block>
45        <metal:block fill-slot="style_slot">
46          <link rel="stylesheet" type="text/css" media="all"
47                tal:attributes="href string:${static_base_url}common.css" />
48          <metal:block define-slot="style_slot" />
49        </metal:block>
50        <metal:block fill-slot="javascript_head_slot">
51          <metal:block define-slot="javascript_head_slot" />
52        </metal:block>
53      </metal:block>
54      <link rel="icon"
55            href="ng.png"
56            tal:attributes="href string:${static_base_url}ng.png"
57            type="image/png" />
58      <link rel="shortcut icon"
59            href="icons/ng.png"
60            tal:attributes="href string:${static_base_url}ng.png"
61            type="image/png" />
62    </head>
63    <body tal:condition="emptybody"
64          style="margin: 0px;"
65          tal:attributes="onload here/getOnLoad|string:setFocus();">
66      <metal:block define-slot="body" />
67      <metal:block define-slot="main" />
68    </body>
69    <body tal:condition="not:emptybody"
70          style="margin: 0px;"
71          tal:attributes="onload here/getOnLoad|string:setFocus();">
72   
73    <table summary="Logo Block"
74           style="margin-left: auto; margin-right: auto; width: 100%;"
75           class="shapeNoBorder colorTransparent" cellpadding="0"
76           cellspacing="0">
77      <tbody>
78        <tr>
79          <td style="width: 20px;" valign="top"></td>
80          <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;">
81            <img tal:attributes="src string:${static_base_url}logo_left.jpg"  alt="Logo"
82                     height="84"  />
83          </td>
84          <td style="padding: 1em 0em 0em 0em; text-align: left;" valign="top">
85             <h2>University of Ilorin, Ilorin, Nigeria</h2>
86         
87          </td>
88          <td style="width: 20px;" valign="top"></td>
89        </tr>
90      </tbody>
91    </table>
92     
93    <table summary="Main Block" cellpadding="0" cellspacing="0"
94           style="margin-left:auto;margin-right:auto;width:100%;">
95      <tr>
96        <td valign="top" style="width:700px">
97          <div style="padding:2em; text-align: left;"
[5137]98               class="fontColordefaultfontcolors fontShapeTitleindex">
[3690]99                  <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" />
100                  <metal:block define-slot="header" />
101                  <metal:block define-slot="main" />
102                  <metal:block define-slot="sub" />
103          </div>
104        </td>
105      </tr>
106    </table>
107  </body>
108</html>
109</metal:block>
Note: See TracBrowser for help on using the repository browser.