-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (72 loc) · 3.33 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
<!DOCTYPE html>
<html>
<head>
<base href="/" />
<title>Multihockey scoreboard</title>
<meta name ="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdnjs.cloudflare.com/ajax/libs/linq.js/2.2.0.2/linq.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<!--<link href="https://bootswatch.com/darkly/bootstrap.css" rel="stylesheet" crossorigin="anonymous">-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" crossorigin="anonymous"></script>
<!-- IE required polyfills, in this exact order -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.33.3/es6-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.20/system-polyfills.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-beta.6/angular2-polyfills.js"></script>
<!-- <script src="https://code.angularjs.org/2.0.0-beta.6/angular2-polyfills.js"></script> -->
<script src="content/system.src.js"></script>
<!-- <script src="https://code.angularjs.org/tools/system.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/typescript/2.7.1/typescript.js"></script>
<!-- <script src="https://code.angularjs.org/tools/typescript.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-beta.6/Rx.js"></script>
<!-- <script src="https://code.angularjs.org/2.0.0-beta.6/Rx.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-beta.6/angular2.dev.js"></script>
<!-- <script src="https://code.angularjs.org/2.0.0-beta.6/angular2.dev.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/2.0.0-beta.6/router.dev.js"></script>
<!-- <script src="https://code.angularjs.org/2.0.0-beta.6/router.dev.js"></script> -->
<script src="https://cdn.firebase.com/js/client/2.3.0/firebase.js"></script>
<script>
System.config({
transpiler: 'typescript',
typescriptOptions: { emitDecoratorMetadata: true },
packages: {'app': {defaultExtension: 'ts'}}
});
System.import('app/main')
.then(null, console.error.bind(console));
</script>
<style>
body{
background-color: #282C34;
color: #ABB2BF;
font-size: 2.8vw;
padding: 30px;
}
ul.no-bullets {
list-style-type: none;
padding: 0;
margin: 0;
}
.list-group-item {
background-color:#141625;
}
</style>
<script>
/* window.onerror = function myErrorHandler(errorMsg, url, lineNumber) {
alert("Error occured: " + errorMsg + ", " + lineNumber);
return false;
}*/
</script>
</head>
<body>
<my-app>Loading...</my-app>
</body>
<script>
window.onresize = function() {
$('#fitin div').css('font-size', '20em');
while( $('#fitin div').height() > $('#fitin').height() ) {
$('#fitin div').css('font-size', (parseInt($('#fitin div').css('font-size')) - 1) + "px" );
}
};
</script>
</html>