RC1
[static.git] / content / index.html
index 84ea512..d480155 100644 (file)
@@ -11,17 +11,6 @@ extends: base.j2
 
 {% block body %}
 
-<header>
-<h1>Krótki kurs własności intelektualnej<br/> Materiały dla wyższych uczelni</h1>
-
-<nav>
-<a class="link-next" href="{{ content_url('/wstep') }}">
-Wstęp</a>
-</nav>
-
-<div style="clear:both"></div>
-</header>
-
 <section id="logos" style="
     background: white;
     padding: 
@@ -53,29 +42,40 @@ Wstęp</a>
             title="Platforma Otwartej Nauki"></a
     ></section></section>
 
+<header>
+<h1>Krótki kurs własności intelektualnej<br/> Materiały dla wyższych uczelni</h1>
+
+<nav>
+<a class="link-next" href="{{ content_url('/informacje-o-kursie') }}">
+Informacje o kursie</a>
+</nav>
+
+<div style="clear:both"></div>
+</header>
+
 <section class="home-section" id="tools">
     <h2>Pobierz</h2>
 
-    <a href="">Kurs w&nbsp;formacie PDF</a>
-    <a href="">Prezentację w&nbsp;formacie ODP</a>
-    <a href="">Prezentację w&nbsp;formacie PDF</a>
-    <a href="">Kurs w&nbsp;formacie SCORM (zgodny z Moodle)</a>
-    <a href="http://ofop.redakcja.wolnelektury.pl/documents/book/kurs-ip-dla-uniwersytetow/">Źródło do edycji</a>
+    <a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-podrecznik.pdf') }}">Podręcznik w&nbsp;formacie PDF</a>
+    <a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-slajdy-odp.zip') }}">Slajdy w&nbsp;formacie ODP</a>
+    <a class="list-item" href="{{ media_url('krotki-kurs-wlasnosci-intelektualnej-slajdy-pdf.zip') }}">Slajdy w&nbsp;formacie PDF</a>
+    <!--a class="list-item" href="">Kurs w&nbsp;formacie SCORM (zgodny z Moodle)</a-->
+    <a class="list-item" href="http://ofop.redakcja.wolnelektury.pl/documents/book/kurs-ip-dla-uniwersytetow/">Źródło do edycji</a>
 </section>
 
 {%- for grp, res_walker in site.content.walk_section_groups() -%}
     {%- if grp.name != 'section' -%}
-        <section class="home-section">
-        {%- if grp.title != '' -%}
-            <h2>{{ grp.title }}</h2>
-        {% endif %}
-        {%- if grp.name == 'intro' -%}
-        {%- endif -%}
-        
-        {%- for res in res_walker  -%}
-            <a href="{{ res.full_url }}">{{ res.meta.title }}
+        <section class="home-section {{ grp.name }}">
+        <h2>{{ grp.title }}</h2>
+
+        {%- for res in res_walker -%}
+            {% if res.meta.title == "Materiały uzupełniające" %}
+                <a href="{{ res.full_url }}"><h2>{{ res.meta.title }}</h2></a>
+            {% else %}
+            <a class="list-item" href="{{ res.full_url }}">{{ res.meta.title }}
                 {% if res.meta.author %}<span class="author">{{ res.meta.author }}</span>{% endif %}
             </a>
+            {% endif %}
         {%- endfor -%}
         </section>
     {%- endif -%}