diff --git a/fowl/game/templates/base.html b/fowl/game/templates/base.html
index fdccb14..f5109fc 100644
--- a/fowl/game/templates/base.html
+++ b/fowl/game/templates/base.html
@@ -14,6 +14,7 @@
}
.event-title { font-size: 125%; }
.match-notes { font-size: 80%; color: #999999; }
+ .belt-img img { display: block; margin-left: auto; margin-right: auto }
diff --git a/fowl/game/templates/stables.html b/fowl/game/templates/stables.html
index cd9775d..2ca4eda 100644
--- a/fowl/game/templates/stables.html
+++ b/fowl/game/templates/stables.html
@@ -10,11 +10,15 @@
Belts
-
+
+
+ {% for belt in belts %}
- ![]({% static )
+
+ ![]({% get_static_prefix %}images/{{belt}}.png) |
+
@@ -32,78 +36,16 @@
-
-
-
- ![]({% static )
-
-
-
- Title holder: |
- I'm AWEsome |
-
-
- Held Since: |
- 5/18/2012 |
-
-
- Reign: |
- 8 |
-
-
-
-
-
-
-
- ![]({% static )
-
-
-
- Title holder: |
- I'm AWEsome |
-
-
- Held Since: |
- 5/18/2012 |
-
-
- Reign: |
- 8 |
-
-
-
-
-
-
-
- ![]({% static )
-
-
-
- Title holder: |
- I'm AWEsome |
-
-
- Held Since: |
- 5/18/2012 |
-
-
- Reign: |
- 8 |
-
-
-
-
-
+ {% endfor %}
+
+
Stables
- |
GM Punk |
I'm AWEsome |
COBRA! |
@@ -111,31 +53,26 @@
- Raw 1 |
CM Punk |
Brodus Clay |
Santino |
- Raw 2 |
Kane |
John Cena |
Dolph Ziggler |
- Raw 3 |
R Truth |
Chris Jericho |
Kofi Kingston |
- Smackdown 1 |
Cody Rhodes |
Sheamus |
Alberto del Rio |
- Smackdown 2 |
Sin Cara |
Daniel Bryan |
Randy Orton |
diff --git a/fowl/game/views.py b/fowl/game/views.py
index 94812f7..199096e 100644
--- a/fowl/game/views.py
+++ b/fowl/game/views.py
@@ -29,4 +29,5 @@ def edit_event(request, event_id=None):
def stables(request):
- return render(request, "stables.html")
+ context = {'belts':['ic', 'us', 'heavyweight', 'wwe']}
+ return render(request, "stables.html", context)