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