source: WAeUP_SRP/fceokene/waeup_custom/slip_template.pt @ 2379

Last change on this file since 2379 was 2277, checked in by Henrik Bettermann, 17 years ago

FCE Okene logo implemented.

File size: 4.2 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
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          <metal:block define-slot="style_slot" />
47        </metal:block>
48        <metal:block fill-slot="javascript_head_slot">
49          <metal:block define-slot="javascript_head_slot" />
50        </metal:block>
51      </metal:block>
52      <link rel="icon"
53            href="ng.png"
54            tal:attributes="href string:${base_url}ng.png"
55            type="image/png" />
56      <link rel="shortcut icon"
57            href="icons/ng.png"
58            tal:attributes="href string:${base_url}ng.png"
59            type="image/png" />
60    </head>
61    <body tal:condition="emptybody"
62          style="margin: 0px;"
63          tal:attributes="onload here/getOnLoad|string:setFocus();">
64      <metal:block define-slot="body" />
65      <metal:block define-slot="main" />
66    </body>
67    <body tal:condition="not:emptybody"
68          style="margin: 0px;"
69          tal:attributes="onload here/getOnLoad|string:setFocus();">
70   
71    <table summary="Logo Block"
72           style="margin-left: auto; margin-right: auto; width: 100%;"
73           class="shapeNoBorder colorTransparent" cellpadding="0"
74           cellspacing="0">
75      <tbody>
76        <tr>
77          <td style="width: 20px;" valign="top"></td>
78          <td valign="top" style="width: 80px; padding: 0.5em; text-align: right;">
79            <img tal:attributes="src string:${base_url}logo_left.jpg"  alt="Logo"
80                     height="84"  />
81          </td>
82          <td style="padding: 1em 0em 0em 0em; text-align: left;" valign="top">
83             <h2>Federal College of Education Okene<br />Kogi State, Nigeria</h2>
84         
85          </td>
86          <td style="width: 20px;" valign="top"></td>
87        </tr>
88      </tbody>
89    </table>
90     
91    <table summary="Main Block" cellpadding="0" cellspacing="0"
92           style="margin-left:auto;margin-right:auto;width:100%;">
93      <tr>
94        <td valign="top" style="width:700px">
95          <div style="padding:2em; text-align: left;"
96               class="fontColordefaultfontcolors fontShapeTitleindex shapeAreaShape">
97                  <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" />
98                  <metal:block define-slot="header" />
99                  <metal:block define-slot="main" />
100                  <metal:block define-slot="sub" />
101          </div>
102        </td>
103      </tr>
104    </table>
105  </body>
106</html>
107</metal:block>
Note: See TracBrowser for help on using the repository browser.