Rearrange source.
[turniej.git] / src / poetry / templates / poetry / main.html
diff --git a/src/poetry/templates/poetry/main.html b/src/poetry/templates/poetry/main.html
new file mode 100644 (file)
index 0000000..6234003
--- /dev/null
@@ -0,0 +1,54 @@
+{% extends "edition1/base.html" %}
+
+{% block "body" %}
+
+<h1>
+<a href='{% url "e1_main_page" %}'><img src="{{ STATIC_URL }}img/turniej-maly.png" style='float:left; margin-right: 10px; margin-top: -13px' /></a>
+Turniej Elektrybałtów</h1>
+
+<div class="social">
+<span style="position:relative; top: -5px;" >
+    <div class="fb-like" data-href="http://turniej.wolnelektury.pl" data-send="false" data-layout="button_count" data-width="150" data-show-faces="false"></div>
+</span>
+<g:plusone annotation="bubble" href="http://turniej.wolnelektury.pl"></g:plusone>
+<script>
+  new nk_fajne({
+    url: "http://turniej.wolnelektury.pl",
+    type: 4,
+    color: 0,
+    title: "Turniej Elektrybałtów",
+    image: "http://turniej.wolnelektury.pl/turniej.png",
+    description: "Turniej Elektrybałtów - otwarty konkurs na najlepszego automatycznego poetę."
+  });
+</script>
+</div>
+
+<h2>Uczestnicy:</h2>
+<ul class='poet-list'>
+{% for poet in poets %}
+    <li><a href="{{ poet.get_absolute_url }}">{{ poet }}</a>
+        (<a href="{% url 'poetry_new' poet.slug %}">Twórz-że!</a>)</li>
+{% endfor %}
+</ul>
+
+<div style='clear: both'></div>
+
+<a class='tworz' href="{% url 'poetry_new' %}">Twórz-że się!</a>
+
+<h2><a href="{% url 'poetry_contest' %}">Utwory do konkursu zostały wybrane!</a></h2>
+
+<p>Spośród wygenerowanych przz nas propozycji autorzy programów wybrali po trzy utwory.</p>
+<p><a href="{% url 'poetry_contest' %}">Zobacz wiersze startujące w konkursie!</a></p>
+</p>
+
+
+
+
+<h2>Ostatnio opublikowane utwory:</h2>
+<ul class='plain'>
+{% for poem in last %}
+    <li><a href="{{ poem.get_absolute_url }}">{{ poem }}</a></li>
+{% endfor %}
+</ul>
+
+{% endblock %}