annotate zpt/www/main_template.zpt @ 4:1a895905f7ca

feature teaser works now.
author casties
date Mon, 11 Feb 2013 20:14:47 +0100
parents ddf6c1a27a4b
children 9e720c6c5b6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml" metal:define-macro="page"
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
4 tal:define="root here/MPIWGrootURL|here/en/MPIWGrootURL;
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
5 crumbs template/getBreadcrumbs | nothing;
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
6 section here/getSection | nothing;
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
7 sections here/getSections | nothing;
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
8 secmap python:{
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
9 'institute':'institute',
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
10 'staff':'staff',
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
11 'research':'research',
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
12 'resources':'resources',
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
13 'news':'news',
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
14 'lang':'en'};
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
15 subsection python:template.getSubSection(crumbs=crumbs);
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
16 ">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
17 <head>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
19 <title metal:define-slot="title">Max Planck Institute for the History of Science</title>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
20 <link rel="stylesheet" type="text/css" tal:attributes="href string:$root/mpiwg_css"/>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
21 <link rel="shortcut icon" href="http://www.mpiwg-berlin.mpg.de/favicon.ico"/>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
22 <tal:block metal:define-slot="head"/>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
23
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
24 </head>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
25 <body>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
26 <div tal:condition="exists:here/mpiwg_test" tal:replace="structure here/mpiwg_test" />
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
27 <div id="wrapper">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
28 <div id="header">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
29 <div class="title">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
30 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/title.png"
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
31 alt="Max Planck Institute for the History of Science" /></a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
32 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
33 <div class="logo">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
34 <a tal:attributes="href string:$root/index.html"><img tal:attributes="src string:$root/images/logo.png" alt="MPIWG Logo" /></a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
35 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
36 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
37
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
38 <div id="mainnav">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
39 <tal:block tal:repeat="sec sections">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
40 <div tal:attributes="class python:test(sec.getId()==section,'sec on','sec')">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
41 <a tal:attributes="href sec/absolute_url" tal:content="sec/title">Institute</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
42 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
43 </tal:block>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
44 <div class="sec lang">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
45 <a class="internal" tal:attributes="href string:$root/../de">Deutsch</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
46 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
47 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
48
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
49 <metal:block metal:define-slot="featureslot" />
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
50
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
51 <div class="content" metal:define-slot="content">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
52 <div class="leftbox">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
53 <div class="subnav" metal:define-slot="subnav">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
54 <tal:block tal:condition="crumbs" tal:repeat="subnav python:here.subNav(here)">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
55 <div tal:attributes="class python:test(subnav[0]==subsection,'sn_on','sn_off')">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
56 <a tal:attributes="href python:subnav[1].absolute_url()" tal:content="python:subnav[1].title">Subnav</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
57 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
58 </tal:block>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
59 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
60 <div class="subnavbox" metal:define-slot="subnavbox"></div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
61 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
62 <!-- leftbox -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
63 <div class="main" metal:define-slot="main">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
64
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
65 <div class="center" metal:define-slot="center"></div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
66 <!-- center -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
67
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
68 <div class="sidebar" metal:define-slot="sidebar"></div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
69 <!-- sidebar -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
70
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
71 <div class="footer">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
72 <div class="services">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
73 <div class="serviceprint">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
74 <a href="javascript:window.print()">Print</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
75 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
76 <div class="serviceforward">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
77 <a tal:attributes="href python:'mailto:?subject=MPIWG%%20%s&body=%s'%(here.title,here.absolute_url())">Forward</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
78 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
79 <!-- <div class="servicepdf"><a href="">Download PDF</a></div> -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
80 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
81 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
82 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
83 <!-- main -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
84
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
85 <div class="boilerplate">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
86 <div class="legal">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
87 <a tal:attributes="href string:$root/resources/intranet.html">Intranet</a> | <a href="https://webmail.mpiwg-berlin.mpg.de"
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
88 target="_blank">Webmail</a> | <a tal:attributes="href string:$root/institute/address.html">Contact</a> | <a
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
89 tal:attributes="href string:$root/impressum.html">Imprint</a> | <a
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
90 tal:attributes="href python:'http://www2.mpiwg-berlin.mpg.de/Library/libindex.html'" target="_blank">Library
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
91 (internal)</a> | <a tal:attributes="href string:$root/institute/sitemap.html">Sitemap</a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
92 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
93 <div class="mpg_signet">
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
94 <a href="http://www.mpg.de/"> <img tal:attributes="src string:$root/images/signet.png" alt="MPG" width="204"
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
95 height="41" />
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
96 </a>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
97 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
98 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
99 <!-- boilerplate -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
100 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
101 <!-- content -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
102 </div>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
103 <!-- wrapper -->
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
104 </body>
ddf6c1a27a4b new version with main_template and css in product.
casties
parents:
diff changeset
105 </html>