From 2627a8c1a5ea528b638f5311187db88fee878380 Mon Sep 17 00:00:00 2001 From: Erin Braswell Date: Sun, 27 May 2012 21:19:12 -0400 Subject: [PATCH] various changes --- fowl/game/templates/base.html | 1 + fowl/game/templates/stables.html | 81 ++++---------------------------- fowl/game/views.py | 3 +- 3 files changed, 12 insertions(+), 73 deletions(-) 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 %}
- + + + @@ -32,78 +36,16 @@
-
- - - - - - - - - - - - - - - - - - -
Title holder:I'm AWEsome
Held Since:5/18/2012
Reign:8
-
-
- - - - - - - - - - - - - - - - - - -
Title holder:I'm AWEsome
Held Since:5/18/2012
Reign:8
-
-
- - - - - - - - - - - - - - - - - - -
Title holder:I'm AWEsome
Held Since:5/18/2012
Reign:8
-
-
+ {% endfor %} + +



Stables

- @@ -111,31 +53,26 @@ - - - - - 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)
GM Punk I'm AWEsome COBRA!
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