source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_design/header_lib_header.pt @ 17415

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

css clean-up

File size: 2.1 KB
Line 
1<!-- a header_lib macro -->
2<!-- $Id: header_lib_header.pt 31116 2005-12-30 10:56:31Z lregebro $ -->
3
4<!--
5Here is the CSS loading logic:
6- default.css follows the CSS2 spec.
7- msie.css is used and read *only* by MSIE. This is the place to put instructions
8  to correct the rendering problems specific to MSIE.
9- custom.css is loaded if it exists.
10-->
11
12<metal:block define-macro="header" tal:define="charset string:ISO-8859-15">
13  <tal:block define="dummy python:request.RESPONSE.setHeader('Content-Type',
14    'text/html;; charset=%s' % charset)"/>
15  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"/>
16  <meta name="generator" content="West African eUniversity Project www.waeup.org"/>
17  <title tal:content="expanded_title|here/expanded_title">WAeUP Default</title>
18  <metal:block define-slot="base"></metal:block>
19  <link rel="stylesheet" type="text/css" media="all"
20    tal:attributes="href string:${base_url}default.css" />
21  <link tal:condition="btool|nothing" rel="stylesheet" type="text/css"
22    media="all" tal:attributes="href string:${base_url}boxes.css" />
23  <tal:block replace="structure string:&lt;!--[if IE]&gt;" /><link
24    rel="stylesheet" type="text/css"
25    tal:attributes="href string:${base_url}msie.css" /><tal:block
26    replace="structure string:&lt;![endif]--&gt;" />
27  <link rel="stylesheet" type="text/css" media="print"
28    tal:attributes="href string:${base_url}default_print.css"/>
29  <meta http-equiv="imagetoolbar" content="no" />
30  <metal:block define-slot="head_slot"></metal:block>
31  <metal:block define-slot="style_slot"></metal:block>
32  <link rel="stylesheet" type="text/css" media="all"
33    tal:condition="exists: here/custom.css"
34    tal:attributes="href string:${base_url}custom.css;"/>
35  <link rel="stylesheet" type="text/css" media="all"
36    tal:define="custom_css here/getCPSCustomCSS|nothing"
37    tal:condition="custom_css"
38    tal:attributes="href string:${base_url}${custom_css}"/>
39  <metal:block define-slot="javascript_head_slot"></metal:block>
40  <script type="text/javascript"
41    tal:attributes="src string:${base_url}functions.js"></script>
42</metal:block>
Note: See TracBrowser for help on using the repository browser.