forked from philcast/flashy-clothes-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (72 loc) · 2.55 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
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" style="-webkit-user-drag: none; -webkit-user-select: none;"> <!--<![endif]-->
<head>
<meta charset="utf-8"/>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Flashy clothes store</title>
<!-- Included CSS Files -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/foundation.css">
<link rel="stylesheet" href="css/general_foundicons.css">
<link rel="stylesheet" href="css/vetements.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<script type="text/x-handlebars" data-template-name="application">
<header>
<h1><a href="#">Flashy clothes store</a></h1>
<h4>An Ember.js demo application</h4>
</header>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="catalog">
<nav class="categories">
{{#each category in controller}}
{{#link-to "category" category}}
<i {{bind-attr class="category.cssClass"}} style="font-size: 64px;"></i>
{{/link-to}}
{{/each}}
</nav>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="category">
<ul class="small-block-grid-2 medium-block-grid-3 large-block-grid-4 items">
{{#each item in items}}
<li>
{{#link-to "item" item}}
<i {{bind-attr class="item.cssClass"}} style="font-size:160px;"></i>
<span class="radius label item-price">$ {{item.price}}</span>
$ {{item.price}}
{{/link-to}}
</li>
{{/each}}
</ul>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="item">
<div class="row">
<div class="small-12 medium-6 columns">
<i {{bind-attr class="cssClass"}} style="font-size:300px;"></i>
</div>
<div class="small-12 medium-6 columns">
<h3>{{name}}</h3>
<h4>${{price}}</h4>
<p>{{description}}</p>
</div>
</div>
</script>
<script src="js/lib/jquery-2.0.3.min.js"></script>
<script src="js/lib/modernizr-2.7.1.min.js"></script>
<script src="js/lib/foundation-5.0.3/foundation.min.js"></script>
<script src="js/lib/handlebars-1.2.1.js"></script>
<script src="js/lib/ember-1.3.2.js"></script>
<script src="js/lib/ember-data-1.0.0-beta.6.js"></script>
<script src="js/app.js"></script>
<script src="js/store.js"></script>
</body>
</html>