-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (57 loc) · 2.59 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
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/style.css?v=2">
<link rel="stylesheet/less" type="text/css" href="css/style.less">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<script type="text/x-handlebars" data-template-name="start">
<a href="#" {{action "startGame"}}>Start Game</a>
</script>
<script type="text/x-handlebars" data-template-name="playmat">
<div {{bindAttr id="id"}}>
{{view App.LibraryView contentBinding="App.libraryController"}}
{{#each App.phasesController}}
{{view App.PhasesView contentBinding="this"}}
{{/each}}
{{#each App.handController}}
{{view App.CardView contentBinding="this"}}
{{/each}}
</div>
</script>
<script type="text/x-handlebars" data-template-name="library">
<div {{bindAttr id="id"}}>
Num Cards: {{content.length}} <br />
<a href="#" {{action "drawCard"}}>Draw Card</a>
</div>
</script>
<script type="text/x-handlebars" data-template-name="card">
<div {{bindAttr class="defaultClass content.tapped:tapped"}} {{bindAttr style="style"}}} {{action "handle"}}>
{{#ifCreature content.type}}
<div class="power-toughness">{{content.power}}/{{content.toughness}}</div>
{{/ifCreature}}
</div>
</script>
<script type="text/x-handlebars" data-template-name="phases">
{{content}}
</script>
<!-- The missing protocol means that it will match the current protocol, either http or https. If running locally, we use the local jQuery. -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/libs/ember-0.9.7.1.min.js"></script>
<script src="js/libs/less-1.3.0.min.js" type="text/javascript"></script>
<script src="js/app.js"></script>
</body>
</html>