X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=meta%2Ftemplates%2Findex.html;h=8b878676de428592b5c16bfa83975241656fc727;hp=e4f9e6f72f3ac1d6be0e57c25bfa9b3f148c9866;hb=227cf8c2dd8053ffd94c027365f88d04c2b85e3a;hpb=22a94820738824527277e21f2f37bc77638e12bc diff --git a/meta/templates/index.html b/meta/templates/index.html index e4f9e6f..8b87867 100644 --- a/meta/templates/index.html +++ b/meta/templates/index.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load meta_extras %} {% block jumbotron %}
@@ -7,11 +8,11 @@

Curious how decks like yours have performed in tournaments?
Paste your ponyhead.com URL here and find out!

-

+ {% csrf_token %}
- +
@@ -27,19 +28,19 @@

Very fuzzy data, based on past tournaments. The more the deck was played in tournaments, the more accurate this is.

- + {% load humanize %} {% for avg, label, decks in ranking %} - + @@ -61,10 +62,10 @@ {% for t in tournaments %} - + @@ -74,3 +75,22 @@ {% endblock %} + +{% block jumbotron_end %} +
+
+

Is your deck not on the list?

+

Paste your ponyhead.com URL here and help make this site better!

+

+
+ {% csrf_token %} +

+ + + +
+ +

+
+
+{% endblock %}
Archetype ID Average placement Example decks
{{ label }} {{ avg|ordinal }}
{{ t.tournament.date }}{{ t.tournament.name }}{{ t.tournament.name }} - {% for d in t.decklists|slice:":8" %} - {{ d.name }} ({{ d.description }})
+ {% for placement, d in t.decklists|slice:":8" %} + {{ placement|ordinal }} {{ d.name }} ({{ d.description }})
{% endfor %}