-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (63 loc) · 3.53 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
<!DOCTYPE html>
<html>
<head>
<title>RefreshWF Wheel of Awesome</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<link href="css/bootstrap-responsive.min.css" type="text/css" rel="stylesheet">
<link href="css/font-awesome.min.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container" style="width: auto;">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Wheel of Awesomeness</a>
<div class="nav-collapse">
<ul class="nav pull-left">
<li><a href="http://refreshwichitafalls.com">Refresh Wichita Falls</a></li>
</ul>
<ul class="nav pull-right">
<li><a href="https://github.com/refreshwf/wheel"><i class="icon-github"></i> Fork on Github</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div><!-- /navbar-inner -->
</div>
<div class="container">
<div class="row-fluid">
<div class="span4 well">
<h2>Participants (<span data-bind="text: ParticipantCount"></span>) <button class="btn btn-success" data-bind="click: AddParticipant"><i class="icon-plus"></i></button></h2>
<ul class="unstyled" data-bind="foreach: Participants">
<li>
<form class="form-inline">
<input type="text" placeholder="Name" data-bind="value: Name" class="input-small"/>
<select data-bind="options: $root.Entries, value: Entries" class="input-mini"></select>
<button type="button" class="btn btn-danger" data-bind="click: $root.RemoveParticpant"><i class="icon-remove"></i></button>
</form>
</li>
</ul>
<button class="btn btn-large btn-primary btn-block" data-bind="visible: ParticipantCount() > 0, click: GenerateWheel"><i class="icon-ok"></i> Generate Wheel!</button>
<button class="btn btn-large btn-info btn-block" data-bind="visible: WheelExists, click: Spin"><i class="icon-refresh"></i> Spin that Wheel!</button>
</div>
<div class="span8 well wheel-home">
<div class="alert alert-success winner" data-bind="visible: Winner().length > 0, text: Winner"></div>
<canvas id="canvas" width="500" height="500"></canvas>
</div>
</div>
</div>
<footer class="footer">
<p>Designed by <a href="http://twitter.com/jslaybaugh" target="_blank">Jorin Slaybaugh</a> for use at <a href="http://refreshwichitafalls.com" target="_blank">Refresh Wichita Falls</a> in early 2013.</p>
<p>This site made possible by <a href="http://twitter.github.com/bootstrap" target="_blank">Bootstrap</a>, <a href="http://bootswatch.com" target="_blank">Bootswatch</a>, <a href="http://fortawesome.github.com/Font-Awesome" target="_blank">Font Awesome</a>, <a href="http://jquery.com" target="_blank">jQuery</a>, <a href="http://knockoutjs.com" target="_blank">Knockout</a> and HTML5 Canvas.</p>
</footer>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="scripts/bootstrap.min.js"></script>
<script type="text/javascript" src="scripts/knockout-2.2.1.js"></script>
<script type="text/javascript" src="scripts/script.js"></script>
</body>
</html>