-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
176 lines (175 loc) · 5.84 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
<!DOCTYPE html>
<html>
<head>
<title>
FamTen
</title>
<link type="text/css" href="stylesheets/token-input.css" media="screen" rel="stylesheet"></link>
<link type="text/css" href="stylesheets/reset.css" media="screen" rel="stylesheet"></link>
<link type="text/css" href="stylesheets/layout.css" media="screen" rel="stylesheet"></link>
<script type="text/javascript" src="lib/json2.js"></script>
<script type="text/javascript" src="lib/jquery.min.js"></script>
<script type="text/javascript" src="lib/underscore.js"></script>
<script type="text/javascript" src="lib/backbone.js"></script>
<script type="text/javascript" src="lib/backbone-localstorage.js"></script>
<script type="text/javascript" src="lib/jquery.tokeninput.js"></script>
<script type="text/javascript" src="javascripts/init.js"></script>
<script type="text/javascript" src="javascripts/models/player.js"></script>
<script type="text/javascript" src="javascripts/models/match.js"></script>
<script type="text/javascript" src="javascripts/views/player.js"></script>
<script type="text/javascript" src="javascripts/views/table.js"></script>
<script type="text/javascript" src="javascripts/views/help.js"></script>
<script type="text/javascript" src="javascripts/views/match.js"></script>
<script type="text/javascript" src="javascripts/views/matches.js"></script>
<script type="text/javascript" src="javascripts/views/app.js"></script>
<script type="text/template" src="javascripts/templates/table.jst" id="player-template">
<td class="player-view" data-field="position"></td>
<td class="player-view" data-field="name"></td>
<td class="player-view" data-field="stats"></td>
<td class="player-view" data-field="points"></td>
<td class="player-view" data-field="games"></td>
<td class="player-form"></td>
<td class="player-form"><input data-field="name" type="text" class="player-input" /></td>
<td class="player-form"><input data-field="stats" type="text" class="player-input" /></td>
<td class="player-form"></td>
<td class="player-form"></td>
</script>
<script type="text/template" src="javascripts/templates/table.jst" id="table-template">
<table id="table">
<thead>
<td></td>
<td>Name</td>
<td>Siege:Gleichstand:Verloren</td>
<td>Punkte</td>
<td>Spiele</td>
</thead>
<tbody>
</tbody>
</table>
</script>
<script type="text/templates" id="match-template">
<div class="match">
<input type="text" class="token-input-list-mac player-input left" data-field="Aplayers"/>
<input type="text" class="match-input" data-field="ABpoints" value="3:3"/>
<input type="text" class="token-input-list-mac player-input right" data-field="Bplayers"/>
</div>
</script>
<script type="text/templates" id="help-template">
<h3>Was ist das hier alles?</h3>
<p>FamTen ist die Webapp zur Unterstützung eures FAMilien TENnis-Tuniers. Ihr bekommt Begegnungen vorgeschlagen, könnt aber auch eigene zusammen stellen. Die Punktberechnung, Rangliste usw. erfolg automatisch.</p>
<h3>Wie mache ich das?</h3>
<p>Unter <i>Spieler</i> könnt ihr die Spielernamen eingeben und dann mit Enter erstellen. Wenn das für alle Mitspieler geschehen ist, wechselt zu den Begegnungen und stellt fest, dass noch nichts dergleichen implementiert ist.</p>
<h3>Und die Endrunde?</h3>
<p>Wenn ihr von der Vorrunde in die Endrunde wechseln wollt, so braucht ihr nur eine Tafel und ein Stück Kreide</p>
</script>
</head>
<body>
<div id="site">
<h1>FamTen</h1>
<div class="menu">
<ul>
<li><a data-view="Table">Spieler</a></li>
<li><a data-view="Matches">Matches</a></li>
<li><a data-view="Help">Hilfe</a></li>
</ul>
</div>
<div id="content">
<table id="table">
<thead>
<td></td>
<td>Name</td>
<td>Spiele</td>
<td>Siege:Gleichstand:Verloren</td>
<td>Punkte</td>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Peter</td>
<td>4</td>
<td>2:1:1</td>
<td>5</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>2</td>
<td>Hans</td>
<td>3</td>
<td>1:1:1</td>
<td>3</td>
</tr>
<tr>
<td>+</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>