-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (170 loc) · 5.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fifa King</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/core.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Fifa King</a>
</div>
</div>
</div>
<div class="container">
<div class="step index">
<div class="hero-unit new-tournament">
<p>
<div>
<legend>New Tournament</legend>
<label>Name</label>
<input type="text" class="name" placeholder="The fifa king"/>
<div class="players">
<script id="player-template" type="text/x-handlebars-template">
<label>Teams</label>
<ul>
{{#players}}
<li>{{name}}</li>
{{/players}}
</ul>
<div class="input-append">
<input type="text" class="player" placeholder="The mighty reds" />
<button class="btn add" type="button">Add Team</button>
</div>
<br>
<a href="#start" class="btn btn-primary start">Start Tournament</a>
</script>
</div>
</div>
</p>
</div>
<div class="row">
<div class="span4">
<h2>Fifa 3</h2>
<p>When: First Sunday in November<br>
Location: Muttas house</p>
</div>
<div class="span4">
<h2>Cliff wins Fifa 2</h2>
<p>With an anti climax due to the late finish and with some games not being played Cliff won after not conceding a goal during the
group stages</p>
</div>
<div class="span4">
<h2>Cliff wins Fifa 1</h2>
<p>In a close final Cliff defeated Claude in the away leg by a couple of goals to take out the inaugural fifa king trophy.</p>
</div>
</div>
</div>
<div class="step tournament">
<div class="row">
<div class="span9">
<script id="tournament-template" type="text/x-handlebars-template">
<h1>{{name}}</h1>
<legend>Ladder</legend>
<div class="row header">
<div class="span1">
Team
</div>
<div class="span1">
Win
</div>
<div class="span1">
Loss
</div>
<div class="span1">
Draw
</div>
<div class="span1">
For
</div>
<div class="span1">
Against
</div>
<div class="span1">
Points
</div>
</div>
{{#ladder}}
<div class="row">
<div class="span1">
{{name}}
</div>
<div class="span1">
{{win}}
</div>
<div class="span1">
{{loss}}
</div>
<div class="span1">
{{draw}}
</div>
<div class="span1">
{{goalsfor}}
</div>
<div class="span1">
{{goalsagainst}}
</div>
<div class="span1">
{{points}}
</div>
</div>
{{/ladder}}
<div class="game form-inline"">
<legend>Add Game</legend>
<select class="player1">
{{#players}}
<option>{{name}}</option>
{{/players}}
</select>
<input type="number" class="input-mini score1" />
vs
<select class="player2">
{{#players}}
<option>{{name}}</option>
{{/players}}
</select>
<input type="number" class="input-mini score2" />
<button class="btn add" type="button">Add Result</button>
</div>
</script>
</div>
</div>
</div>
<hr>
<footer>
<p>© Fifa King 2012</p>
</footer>
</div>
<script src="js/libs/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/underscore.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/backbone.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/handlebars.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/amplify.js" type="text/javascript" charset="utf-8"></script>
<script src="js/libs/backbone.amplify.js" type="text/javascript" charset="utf-8"></script>
<script src="js/core.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>