-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·110 lines (107 loc) · 5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="lib/favicon.png">
<title>Waste Time Counter</title>
<!-- Bootstrap core CSS -->
<link href="lib/css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="lib/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="cover.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]>
<script src="lib/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="lib/js/ie-emulation-modes-warning.js"></script>
<script src="lib/js/jquery-3.1.1.min.js"></script>
<script src="lib/js/oauth.js"></script>
<script src="lib/js/jquery.cookie.js"></script>
<script src="lib/js/waster.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
.cover .btn-lg {
padding: 10px 20px;
font-weight: bold;
margin-top: 10px;
}
</style>
</head>
<body>
<script>
window.fbAsyncInit = function () {
FB.init({
appId: '721208764722489'
// appId: '721252094718156'
, xfbml: true
, version: 'v2.8'
});
FB.AppEvents.logPageView();
FB.getLoginStatus(function (response) {
if (response.status === 'connected') {
console.log('Logged in.');
updateWasterName(response);
}
});
};
(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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand"><font style="color: red">W</font>TC</h3>
<nav>
<ul class="nav masthead-nav">
<li class="active"><a href="#">Go Home! You are <font style="color: red">wasting</font> your time <br/><span id="waster" style="color:green;"></span></a> </li>
</ul>
</nav>
</div>
</div>
<div class="inner cover">
<h1 class="cover-heading"><font style="color: red">Waste</font> Time Counter.</h1>
<p class="lead">Let's <font style="color: red">waste</font> together!</p>
<p>Time is going <span id="wastersCount" style="color:white;font-size: 16px;">1x</span> faster
<div class="row">
<p id="timer" style="font-size: 26px;">TIMER</p>
</div>
<p class="lead"> <a href="#" id="wastersClick" class="btn btn-lg btn-default" onclick="wastersAdd();">MORE <font style="color: red">Wasters</font></a> <a href="#" id="wastersRemove" class="btn btn-lg btn-default" onclick="wastersRemove();">Leave <font style="color: red">Wasters</font> alone</a> </p>
<p><a href="#" id="wastersRemove" class="btn btn-lg btn-default" onclick="wastersReset();">Reset <font style="color: red">Wasters</font></a></p>
<p>
<fb:login-button scope="public_profile,email" onlogin="facebookLogin();"> </fb:login-button>
</p>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="lib/js/vendor/jquery.min.js"><\/script>')
</script>
<script src="lib/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="lib/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>