X-Git-Url: https://git.yukkurigames.com/?p=mlpccg-meta.git;a=blobdiff_plain;f=meta%2Ftemplates%2Findex.html;h=20e0830e575757b8c1bb6c55704e9e95e80da042;hp=f16560770228787c6997dedf6135b22746a378ee;hb=refs%2Fheads%2Fmaster;hpb=f5f267a53e90455937409ad2bd15324e717c8e04
diff --git a/meta/templates/index.html b/meta/templates/index.html
index f165607..20e0830 100644
--- a/meta/templates/index.html
+++ b/meta/templates/index.html
@@ -1,135 +1,101 @@
-
-
-
-
-
-
-
-
- meta is magic
-
-
+{% extends "base.html" %}
+{% load meta_extras %}
+{% load url from future %}
-
-
-
-
-
-
-
-
-
-
-
-
+
+{% endblock %}
-
-
-
-
How good is your deck?
-
Curious how decks like yours have performed in tournaments?
Paste your ponyhead.com URL here and find out!
-
-
-
-
-
+{% block content %}
+
+
+
Deck archetypes
+
Very fuzzy data, based on past tournaments. The more the deck was played in tournaments, the more accurate this is.
+
+
+
+ Average placement |
+ Example decks |
+
+ {% load humanize %}
+ {% for avg, label, decks in ranking %}
+
+
+ {{ avg|ordinal }} |
+
+
+ |
+ {% endfor %}
+
+
+
-
-
-
-
Deck archetypes
-
Very fuzzy data, based on past tournaments. The more the deck was played in tournaments, the more accurate this is.
-
-
- Archetype ID |
- Average placement |
- Example decks |
-
- {% load humanize %}
- {% for avg, label, decks in ranking %}
-
- {{ label }} |
- {{ avg|ordinal }} |
-
-
- |
+
+
+
+ {% endfor %}
+ {% endif %}
+
+
+
+{% endblock %}
-
-
-
Tournaments
-
-
- Date |
- Name |
- Top 8 Decks |
-
- {% if tournaments %}
- {% for t in tournaments %}
-
- {{ t.tournament.date }} |
- {{ t.tournament.name }} |
-
- {% for d in t.decklists|slice:":8" %}
- {{ d.name }} ({{ d.description }})
- {% endfor %}
- |
-
- {% endfor %}
- {% endif %}
-
+{% block jumbotron_end %}
+
-
-
-
-
-
-
+
+
+
+
+-->
+{% endblock %}