-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
79 lines (70 loc) · 2.9 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
<!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Bird Match</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="container">
<header>
<h1>Bird Match</h1>
<p>Test your bird-matching skills against photos from Flickr!</p>
</header>
<section id="title-screen"></section>
<section id="game-board" role="main">
<div id="loading-screen" class="is-hidden"><div><span class="loader symbol">1</span><br/>Loading...</div></div>
</section>
<section id="score-board">
</section>
<footer>
</footer>
</div> <!-- eo #container -->
<script id="start-template" type="text/template">
<% if (navigator.geolocation) { %>
<div>
<label><input type="radio" name="pool" value="world" checked /> Use birds from all over the world</label>
<label><input type="radio" name="pool" value="local" /> Use birds recently seen around my area</label>
</div>
<% } %>
<div class="game-options"><!-- <button id="continue-game">Continue Current Game</button> -->
<button id="start-game" class="btn btn-primary">Start Matching!</button></div>
</script>
<script id="bird-template" type="text/template">
<figure>
<img src="<%= images[0].media.m %>" alt="<%= comName %>" />
<figcaption>
<p>© <a href="<%= images[0].link %>"><%- images[0].author.split('(')[1].split(')')[0] %></a></p>
</figcaption>
</figure>
<select>
<option value=""></option>
<% _.each(nameOptions, function(name){ %>
<option value="<%= name %>"><%= name %></option>
<% }); %>
</select>
<% if(images.length > 1){ %><div><button class="btn btn-warning change-photo">Change Photo</button></div><% } %>
</script>
<script id="stats-template" type="text/template">
<ul>
<li><i class="icon-ok"></i> Correct: <%= correct %></li>
<li>Total: <%= total %></li>
</ul>
</script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.1/backbone-min.js"></script>
<script src="js/backbone-localstorage.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.0/bootstrap.min.js"></script>
<script src="js/match.js"></script>
<!-- end scripts-->
</body>
</html>