-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
106 lines (100 loc) · 3.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>hexagonal.js • Poker Clock</title>
<link rel="stylesheet" href="release/css/normalize.css" />
<link rel="stylesheet" href="release/css/app.css" />
<link rel="stylesheet" href="release/css/styles.css" />
</head>
<body>
<div class="row">
<h2>Hexagonal Poker Clock</h2>
</div>
<div data-element="setup">
<div class="row">
<div class="large-2 columns">
<button class="button" data-role="start">Start</button>
</div>
</div>
<div class="row">
<div class="large-6 columns">
<div class="panel round-setup">
<h4>Round length in minutes</h4>
<div class="row">
<div class="large-4 columns" data-element="round-length"></div>
<div class="large-8 columns controls">
<span data-tooltip class="has-tip" title="Add 1 minute">
<i class="icon-plus" data-role="increase-round-length"></i>
</span>
<span data-tooltip class="has-tip" title="Sub 1 minute">
<i class="icon-minus" data-role="decrease-round-length"></i>
</span>
</div>
</div>
</div>
</div>
<div class="large-6 columns">
<div class="panel">
<h4>Select blinds</h4>
<div data-element="blinds-selection"></div>
</div>
</div>
</div>
</div>
<div data-element="main" class="main">
<div class="row">
<div class="large-6 columns controls">
<span data-tooltip class="has-tip" title="Restart">
<i class="icon-refresh" data-role="restart"></i>
</span>
<span data-tooltip class="has-tip" title="Pause">
<i class="icon-pause" data-role="pause"></i>
</span>
</div>
</div>
<div class="row">
<div class="large-5 columns" data-element="timer"></div>
<div class="large-6 columns" data-element="blinds"></div>
</div>
</div>
<script type="x-handlebars-template" id="round-template">
<h1>{{roundLength}}</h1>
</script>
<script type="x-handlebars-template" id="blinds-selection-template">
<ul class="large-block-grid-4">
{{#each blinds}}
<li><button class="button small" data-blind-id="{{@index}}">{{small}} / {{big}}</button></li>
{{/each}}
</ul>
</script>
<script type="x-handlebars-template" id="timer-template">
<div class="panel">
<h4>Time to next round</h4>
<h1>{{currentMinute}} : {{currentSecond}}</h1>
</div>
</script>
<script type="x-handlebars-template" id="blinds-template">
<div class="panel">
<h4>Blinds</h4>
<h1>{{smallBlind}} / {{bigBlind}}</h1>
</div>
</script>
<script src="release/poker-debug.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).foundation();
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39230265-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>