-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscoretable.html
520 lines (414 loc) · 21 KB
/
scoretable.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
<!--
05/04/2015
-->
<!DOCTYPE html>
<html data-ng-app="app">
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>POINTS TABLE</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link href='http://fonts.googleapis.com/css?family=Oswald|Coda|Arimo' rel='stylesheet' type='text/css'>
<script src="js/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/scoretable.js" type="text/javascript"></script>
<style>
.result-scores{
color: rgb(234, 46, 43);
}
</style>
</head>
<body data-ng-controller="controller as ctrl">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3&appId=393028467489016";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="container-fluid">
<!--<div class="row social_bar">
<ul>
<li></li>
</ul>
</div>-->
<div class="row top_menu_r1 text-uppercase">
<div id="logo" class="col-lg-6 col-md-6 col-sm-8 col-xs-12">
<!--<img src="images/logo.png">-->
<img class="img-responsive" src="images/logo.png"
style="margin-left: auto; margin-right: auto;">
</div>
<div class="container">
<div class="nav_btns">
<div class="nav_btn">
<a href="index.html">
HOME
</a>
</div>
<div class="nav_btn">
<a href="scoretable.html">
POINTS TABLE
</a>
</div>
<div class="nav_btn">
<a href="events.html">
EVENTS
</a>
</div>
<div class="nav_btn">
<a href="draws.html">
DRAWS
</a>
</div>
<div class="nav_btn blink">
<a href="live.html">
Live
</a>
</div>
</div>
</div>
</div>
<div class="row top_menu_r2">
</div>
<!--end of header-->
<br>
<div class="container" style="font-family: 'Coda', cursive;">
<div class="row">
<div class="col-xs-12">
<!--<h2 class="sub_title text-right">inter university games 2015</h2>-->
<h1 class="main_title text-right">POINTS TABLE</h1>
</div>
</div>
<!--
games order by name and
universities order by total
-->
<div class="row">
<div class="col-xs-2">
</div>
<!--
university names
taken out from angularjs
-->
<div class="col-xs-7 col-xs-offset-5 col-sm-8 col-sm-offset-4 hidden-lg hidden-md" >
<select class="btn col-xs-12" ng-model="selectValue">
<option data-ng-repeat="uni in universities | orderBy: ['-total']" value="{{$index}}" >{{uni.name | uppercase}}</option>
</select>
</div>
<div class="col-xs-10">
<div class="tbl_col uni_codes hidden-xs hidden-sm" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
{{uni.code}}
</div>
</div>
</div>
<div class="row" data-ng-repeat="game in allGames | orderBy: ['name']">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>{{game.name | uppercase}}</b>
</div>
<!--database stores category as F,but have to show as W-->
<div class="game_gender even_col" ng-if="game.category == 'M'">
M
</div>
<div class="game_gender even_col" ng-if="game.category != 'M'">
W
</div>
</div>
<!--this is where all the scores are displayed->
<!--mobile view-->
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
<span ng-repeat="g in uni.games | orderBy: ['name']" ng-if="g.code == game.code && g.category == game.category">{{g.score}}</span>
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
<span ng-repeat="g in uni.games | orderBy: ['name']" ng-if="g.code == game.code && g.category == game.category">{{g.score}}</span>
</div>
</div>
</div>
<!--start of men scores and standings-->
<div class="row result-scores" style="padding-top: 10px;">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>TOTAL</b>
</div>
<div class="game_gender even_col">
M
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
{{uni.menTotal}}
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
{{uni.menTotal}}
</div>
</div>
</div>
<div class="row result-scores">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>STANDINGS</b>
</div>
<div class="game_gender even_col">
M
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
{{uni.menRank}}
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
{{uni.menRank}}
</div>
</div>
</div>
<!--end of men scores and standings-->
<!--start of women scores and standings-->
<div class="row result-scores" style="padding-top: 10px;">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>TOTAL</b>
</div>
<div class="game_gender even_col">
W
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
{{uni.womenTotal}}
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
{{uni.womenTotal}}
</div>
</div>
</div>
<div class="row result-scores">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>STANDINGS</b>
</div>
<div class="game_gender even_col">
W
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
{{uni.womenRank}}
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
{{uni.womenRank}}
</div>
</div>
</div>
<!--end of women scores and standings-->
<!--start of total scores and standings-->
<div class="row result-scores" style="padding-top: 10px;">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>TOTAL</b>
</div>
<div class="game_gender even_col">
ALL
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
<b>{{uni.total}}</b>
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
<b>{{uni.total}}</b>
</div>
</div>
</div>
<div class="row result-scores">
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-5">
<div class="game_name odd_col">
<b>STANDINGS</b>
</div>
<div class="game_gender even_col">
ALL
</div>
</div>
<div class="col-xs-7 col-sm-8 hidden-lg hidden-md">
<div class="" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}" ng-if="$index == selectValue" style="text-align: center;">
<b>{{uni.rank}}</b>
</div>
</div>
<div class="col-xs-10 hidden-xs hidden-sm">
<div class="tbl_col" data-ng-repeat="uni in universities | orderBy: ['-total']"
data-ng-class="{'odd_col':$index%2==0,'even_col':$index%2!=0}">
<b>{{uni.rank}}</b>
</div>
</div>
</div>
<!--end of total scores and standings-->
<br>
<div class=row>
<div class="col-lg-6 col-xs-12 text-right">
<div class="fb-like" data-href="http://sports.moraspirit.com/scoretable.html" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
</div>
<div class="col-lg-6 col-xs-12">
<div class="fb-comments" data-href="http://sports.moraspirit.com/scoretable.html" data-numposts="5"></div>
</div>
</div>
</div>
</div>
<!--End of body-->
<footer class="footer container-fluid">
<div id="footer-wrapper">
<div class="row" style="background-color: rgb(234, 46, 43);">
<!--<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<img class="img-responsive hidden-xs hidden-sm" src="images/logo.png"
style="margin-left: auto; margin-right: auto;">
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12"
style="text-align: right; vertical-align: central; height: 100%; padding-top: 20px; padding-bottom: 20px;">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 col-xs-push-1 col-lg-push-0 col-md-push-0 col-sm-push-0">
<a href="index.html">HOME</a>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-4">
<a href="scoretable.html">POINTS TABLE</a>
</div>
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<a href="events.html">EVENTS</a>
</div>
<!-- <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
<a href="#">HISTORY</a>
</div>
--> <!--<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
</div>
</div>-->
</div>
</div>
<div class="container" id="bottom-footer" style="padding-top: 30px; text-align: center; color: grey">
<div class="row" style="text-align: left;">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">
<div id="block-simplenews-0" class="clearfix block block-simplenews">
<div class="titlecontainer"><h4>Receive our Newsletter</h4></div>
<div class="content">
<form action="http://moraspirit.com/" method="post" id="simplenews-subscriptions-multi-block-form" accept-charset="UTF-8">
<div>
<div id="edit-newsletters" class="form-checkboxes">
<div class="form-item form-type-checkbox form-item-newsletters-58">
<input id="edit-newsletters-58" name="newsletters[58]" value="58" class="form-checkbox" type="checkbox">
<label class="option" for="edit-newsletters-58" >MoraSpirit newsletter </label>
</div>
</div>
<input name="form_build_id" value="form-ZAUCxflEAFf7D7SBXEO7s1FogUNBH55DpUjhV0eZ3PE" type="hidden">
<input name="form_id" value="simplenews_subscriptions_multi_block_form" type="hidden">
<div class="form-item form-type-textfield form-item-mail">
<label for="edit-mail">E-mail <span class="form-required" title="This field is required.">*</span></label>
<br>
<input id="INPUT_1" name="mail" value="" size="24" maxlength="128" class="form-text required" type="text" style="padding-right: 20px;">
</div>
<input class=" btn form-submit text-black" id="edit-subscribe" name="op" value="Subscribe" type="submit" style="margin-bottom: 5px; margin-right: 5px;">
<input class=" btn form-submit text-black" id="edit-unsubscribe" name="op" value="Unsubscribe" type="submit" style="margin-bottom: 5px; margin-right: 5px;">
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">
<table>
<tbody><tr>
<td style="border: none; vertical-align: top;">
<a href="http://old.moraspirit.com" target="_blank" style="line-height: 200%; font-weight: 300;">| Archives</a><br>
<!--<a href="http://moraspirit.com/careers" style="line-height: 250%; font-weight: 300;">| Careers</a><br>-->
<a href="http://moraspirit.com/site-map" style="line-height: 250%; font-weight: 300;">| Site Map</a><br>
<a data-toggle="modal" role="button" href="#myModal3" style="line-height: 250%; font-weight: 300;">| Report a bug</a><br>
<a href="sites/default/files/spaces.pdf" target="_blank" style="line-height: 200%; font-weight: 300;">| Advertise with us</a><br>
</td>
<td style="border:none;">
<a href="https://www.facebook.com/moraspirit.fanpage" target="_blank" style="line-height: 200%; font-weight: 300;">| Facebook</a><br>
<a href="https://twitter.com/moraspiritNews" target="_blank" style="line-height: 200%; font-weight: 300;">| Twitter</a><br>
<a href="https://plus.google.com/108795907592684921602/posts" target="_blank" style="line-height: 200%; font-weight: 300;">| Google Plus</a><br>
<a href="http://www.youtube.com/user/moraspiritNews?feature=watch" target="_blank" style="line-height: 200%; font-weight: 300;">| Youtube</a><br>
<a href="http://www.linkedin.com/company/moraspirit-initiative" target="_blank" style="line-height: 200%; font-weight: 300;">| LinkedIn</a><br>
<a href="http://www.stumbleupon.com/submit" target="_blank" style="line-height: 200%; font-weight: 300;">| Bookmark us</a><br>
</td>
</tr>
</tbody></table>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">
<table>
<tbody><tr>
<td style="border: none; float: right;"><img src="http://moraspirit.com/sites/default/files/footer_contact/address.png"></td>
<td style="border: none; color:#B2B2B2">
MoraSpirit Initiative,<br>
125/56A, Peterson Lane,<br>
Colombo 06.
</td>
</tr><tr>
</tr><tr>
<td style="border: none; float: right;"><img src="http://moraspirit.com/sites/default/files/footer_contact/email.png"></td>
<td style="border: none; color:#B2B2B2">
</td>
</tr><tr>
</tr><tr>
<td style="border: none; float: right;"><img src="http://moraspirit.com/sites/default/files/footer_contact/phone.png"></td>
<td style="border: none; color:#B2B2B2">
+(94) 767895100
</td>
</tr><tr>
</tr></tbody></table>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-6">
<img class="imageblock-image img-responsive" typeof="foaf:Image" src="http://moraspirit.com/sites/default/files/styles/medium/public/imageblock/moraspirit_logo.png?itok=JxjE2Hat" alt="MoraSpirit Logo" title="MoraSpirit">
</div>
</div>
<div class="row" style="padding-bottom: 15px">
<div id="DIV_1">
<div id="DIV_2">
<div id="DIV_3">
<div id="DIV_4">
©2015 All Rights Reserved | <a href="http://moraspirit.com" id="A_5" style="color: rgb(240, 40, 40);">www.moraspirit.com</a>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<!--start of google analytics-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37983557-2', 'auto');
ga('send', 'pageview');
</script>
<!--end of google analytics-->
</body>
</html>