summaryrefslogtreecommitdiff
path: root/templates/main.html
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-01-20 16:05:53 +0200
committerYuval Adam <yuv.adm@gmail.com>2011-01-20 16:05:53 +0200
commitfb6edb764a84bbfb9c169468d0422987b43de1e3 (patch)
tree716dfa28ef5925a51ec112a2e6b5efdf06804af8 /templates/main.html
parent5a0d324b9ecf9ec88a772bf7fc92e5b14c0c60de (diff)
good stuff almost there
Diffstat (limited to 'templates/main.html')
-rw-r--r--templates/main.html51
1 files changed, 43 insertions, 8 deletions
diff --git a/templates/main.html b/templates/main.html
index 8fc79c4..d45f7a7 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -5,33 +5,68 @@
{% block extraMeta %}{% endblock %}
<link rel="stylesheet" href="{{ MEDIA_URL }}css/bp/screen.css" type="text/css" media="screen, projection"/>
- <link rel="stylesheet" href="{{ MEDIA_URL }}css/bp/rtl.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="{{ MEDIA_URL }}css/bp/print.css" type="text/css" media="print"/>
<!--[if IE]><link rel="stylesheet" href="{{ MEDIA_URL }}css/ie.css" type="text/css" media="screen, projection"/><![endif]-->
+ <link rel="stylesheet" href="{{ MEDIA_URL }}css/base.css" type="text/css" media="print"/>
{% block extraCSS %}{% endblock %}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/base.js"></script>
{% block extraJS %}{% endblock %}
- <title>{% block baseTitle %}Hello{% endblock %}{% block extraTitle %}{% endblock %}</title>
+ <title>{% block baseTitle %}Top7 Foozball League{% endblock %}{% block extraTitle %}{% endblock %}</title>
</head>
<body class="fullDoc">
<div id="fullWidthContainer" class="container">
{% block header %}
- <h1>שלום</h1>
+ <h1>Top7 Foosball League</h1>
{% endblock %}
- <div id="content" class="span-24 last">
- {% block contentArea %}
- <h2>לורם איפסום...</h2>
- {% endblock %}
+ <div id="content" class="span-12 last">
+ <h2>Games</h2>
+ {% block contentArea %}
+ {% for m in matches%}
+ <h3>{{ m }}</h3>
+ {% endfor %}
+ {% endblock %}
</div>
+
+ <div id="content" class="span-12 last">
+ <h2>New Match</h2>
+ <form method="post" action="/match/">
+ <select name="p1">
+ <option value=" "> </option>
+ {% for p in players %}
+ <option value="{{ p.id }}">{{ p }}</option>
+ {% endfor %}
+ </select>
+ <select name="p2">
+ <option value=" "> </option>
+ {% for p in players %}
+ <option value="{{ p.id }}">{{ p }}</option>
+ {% endfor %}
+ </select>
+ <select name="p3">
+ <option value=" "> </option>
+ {% for p in players %}
+ <option value="{{ p.id }}">{{ p }}</option>
+ {% endfor %}
+ </select>
+ <select name="p4">
+ <option value=" "> </option>
+ {% for p in players %}
+ <option value="{{ p.id }}">{{ p }}</option>
+ {% endfor %}
+ </select>
+ <input type="text" name="s1" width="5"/>
+ <input type="text" name="s2" width="5"/>
+ <input type="submit">
+ </form>
+ </div>
<div id="footer" class="span-24 last">
{% block footer %}
- <p>- סוף -</p>
{% endblock %}
</div>
</div>