Logos in footer, transl fix.
[static.git] / content / index.html
1 ---
2 extends: base.j2
3 ---
4
5 {% macro pozycja(p) -%}
6 {% if p == 1 %}weak{% elif p == 2 %}average{% else %}strong{% endif %}<br>
7 {% for i in range(0, p) %}<img src="{{ media_url('images/listek-t.png') }}">{% endfor %}
8 {%- endmacro %}
9
10
11
12 {% block full_title %}Right to Culture: Future Scenarios{% endblock %}
13
14 {% block body %}
15
16 <header>
17 <img src="{{ media_url('images/roza-mala.png') }}"/>
18 <h1>Right to Culture:<br>Future Scenarios</h1>
19 <div style="clear:both"></div>
20 </header>
21
22
23 {% for grp, res_walker in site.content.walk_section_groups() -%}
24     {%- if grp.name != 'section' -%}
25         <section class="{{ grp.name }}">
26         {%- if grp.name == 'main' -%}
27             <h2>Scenarios</h2>
28             <p>Choose a scenario from the graph:</p>
29             <a id="b-author">position of <span>authors</span></a><a id="b-user">position of <span>users</span></a><a id="b-inter">position of <span>intermediaries</span></a>
30             <div class="roza" id="scenarios">
31                 <img src="{{ media_url('images/roza.png') }}" style="display: block; width: 100%">
32                 {%- for res in res_walker  -%}
33                     <a id="roza-{{ res.meta.order }}" href="{{ res.full_url }}" title="{{ res.meta.title }}">
34                     <div class="p-author">{{ pozycja(res.meta.pauthor) }}</div>
35                     <div class="p-user">{{ pozycja(res.meta.puser) }}</div>
36                     <div class="p-inter">{{ pozycja(res.meta.pinter) }}</div></a>
37                 {%- endfor -%}
38             </div>
39
40             </section>
41         {%- else -%}
42             {%- for res in res_walker  -%}
43                 <a href="{{ res.full_url }}"><div>{{ res.meta.title }}
44                     <span class="author">{{ res.meta.author }}</span></div></a>
45             {%- endfor -%}
46         {%- endif -%}
47         {%- if grp.name == "outro" -%}
48             <a href="{{ media_url('right-to-culture-future-scenarios.pdf') }}"><div>Download the PDF version</div></a>
49             <a href="/scenariusze/"><div>Polska wersja</div></a>
50         {%- endif -%}
51         </section>
52     {%- endif -%}
53 {%- endfor %}
54
55
56 <script src="{{ media_url('js/jquery-1.11.0.min.js') }}"></script>
57 <script src="{{ media_url('js/base.js') }}"></script>
58
59
60 {% endblock %}