annotate zpt/feature/feature_template.zpt @ 84:faaded775a8a

styles for feature and feature archive.
author casties
date Mon, 13 May 2013 22:16:04 +0200
parents
children c940af028112
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
3 <metal:block metal:define-macro="page">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/page">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
5 <head>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
7 </head>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
8 <body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
9 <div class="center" metal:fill-slot="center">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
10 <metal:block metal:define-slot="feature">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
11 (the latest feature should be here)
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
12 </metal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
13 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
14 <!-- center -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
15
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
16 <div class="sidebar" metal:fill-slot="sidebar">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
17
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
18 <tal:block metal:define-slot="sideblock" />
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
19
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
20 <div class="sideblock">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
21 <h2>Research Topics Archive</h2>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
22
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
23 <div class="item noline" tal:condition="python:lang!='de'">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
24 <b>In this archive</b> you can find present and past research topics.
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
25 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
26 <div class="item noline" tal:condition="python:lang=='de'">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
27 <b>In diesem Archiv</b> finden Sie aktuelle und fr&uuml;here Forschungsthemen.
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
28 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
29
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
30 <tal:block define="features python:here.getFeatures()">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
31 <tal:block define="dummy python:features.reverse()">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
32 <!-- workaround for inverting the order of the elements -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
33
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
34 <div class="item thumb" tal:repeat="feature python:features">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
35 <div class="row" tal:define="url python:feature.getUrl(baseUrl='%s/%s/features'%(root,secmap['news']))">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
36 <div class="col thumb">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
37 <a tal:attributes="href url">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
38 <img tal:attributes="src feature/getThumbUrl" />
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
39 </a>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
40 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
41 <div class="col text">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
42 <a tal:attributes="href url">
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
43 <b>Feature <span tal:replace="python: len(features)-features.index(feature)" />:</b>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
44 </a>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
45 <span tal:content="feature/getFullTitle"/>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
46 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
47 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
48 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
49
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
50 </tal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
51 </tal:block>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
52
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
53 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
54 <!-- /sideblock -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
55
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
56
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
57 </div>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
58 <!-- sidebar -->
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
59 </body>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
60 </html>
faaded775a8a styles for feature and feature archive.
casties
parents:
diff changeset
61 </metal:block>