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" />
|
136
|
7 <meta:block metal:fill-slot="title">
|
|
8 <title tal:content="here/getFullTitle"></title>
|
|
9 </meta:block>
|
90
|
10 <metal:block metal:fill-slot="head">
|
|
11 <meta name="description" content="feature"/>
|
|
12 </metal:block>
|
84
|
13 </head>
|
|
14 <body>
|
|
15 <div class="center" metal:fill-slot="center">
|
|
16 <metal:block metal:define-slot="feature">
|
|
17 (the latest feature should be here)
|
|
18 </metal:block>
|
|
19 </div>
|
|
20 <!-- center -->
|
|
21
|
|
22 <div class="sidebar" metal:fill-slot="sidebar">
|
|
23
|
|
24 <tal:block metal:define-slot="sideblock" />
|
|
25
|
|
26 <div class="sideblock">
|
|
27 <h2>Research Topics Archive</h2>
|
|
28
|
|
29 <div class="item noline" tal:condition="python:lang!='de'">
|
|
30 <b>In this archive</b> you can find present and past research topics.
|
|
31 </div>
|
|
32 <div class="item noline" tal:condition="python:lang=='de'">
|
|
33 <b>In diesem Archiv</b> finden Sie aktuelle und frühere Forschungsthemen.
|
|
34 </div>
|
|
35
|
|
36 <tal:block define="features python:here.getFeatures()">
|
|
37 <tal:block define="dummy python:features.reverse()">
|
|
38 <!-- workaround for inverting the order of the elements -->
|
|
39
|
|
40 <div class="item thumb" tal:repeat="feature python:features">
|
|
41 <div class="row" tal:define="url python:feature.getUrl(baseUrl='%s/%s/features'%(root,secmap['news']))">
|
|
42 <div class="col thumb">
|
|
43 <a tal:attributes="href url">
|
|
44 <img tal:attributes="src feature/getThumbUrl" />
|
|
45 </a>
|
|
46 </div>
|
|
47 <div class="col text">
|
|
48 <a tal:attributes="href url">
|
|
49 <b>Feature <span tal:replace="python: len(features)-features.index(feature)" />:</b>
|
|
50 </a>
|
|
51 <span tal:content="feature/getFullTitle"/>
|
|
52 </div>
|
|
53 </div>
|
|
54 </div>
|
|
55
|
|
56 </tal:block>
|
|
57 </tal:block>
|
|
58
|
|
59 </div>
|
|
60 <!-- /sideblock -->
|
|
61
|
|
62
|
|
63 </div>
|
|
64 <!-- sidebar -->
|
|
65 </body>
|
|
66 </html>
|
|
67 </metal:block> |