forked from HERRKIN/puls3-emberjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (109 loc) · 4.78 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>Puls3</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/estilos.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body>
<script type="text/x-handlebars">
<header>
<figure id="header_logo">
<a href=""><img src="img/logo.png" alt="logo"></a>
</figure>
<div id="header_titulo">
<h2>Puls3 - Dolor Sit amet</h2>
<nav>
<ul>
<li> {{#linkTo 'index'}}Home{{/linkTo}} </li>
<a href="https://github.com/agreencow/puls3"><li>GitHub</li></a>
</ul>
</nav>
</div>
<figure id="header_user" >
<a href=""><img src="img/user.jpg"></a>
</figure>
</header>
<section id="contenido">
{{outlet}}
</section>
</script>
<script type="text/x-handlebars" data-template-name="posts">
<!-- item -->
{{#each model}}
<article class="contenido_item">
<figure>
<a href="#"><img {{bindAttr src="img"}}></a>
</figure>
<div class="item_info">
<h2>{{title}}</h2>
{{#link-to 'post' this}} <p class="item_posted">Posted by {{author.name}}</p>{{/link-to}}
<span aria-hidden="true" class="icon-heart-2"></span>
</div>
<div class="item_extra">
<p class ="extra_tag">tagname</p>
<div class="extra_likes">
<a class="likes_up" href="#"><span aria-hidden="true" class="icon-arrow-up"></span></a>
<div class="likes_numero">{{votes}}</div>
<a class="likes_down" href="#"><span aria-hidden="true" class="icon-arrow-down"></span></a>
</div>
</div>
</article>
{{/each}}
</script>
<script type="text/x-handlebars" data-template-name="index">
<!-- item -->
{{#each model}}
<article class="contenido_item">
<figure>
<a href="#"><img {{bindAttr src="img"}}></a>
</figure>
<div class="item_info">
<h2>{{title}}</h2>
{{#link-to 'post' this}} <p class="item_posted">Posted by {{author.name}}</p>{{/link-to}}
<span aria-hidden="true" class="icon-heart-2"></span>
</div>
<div class="item_extra">
<p class ="extra_tag">tagname</p>
<div class="extra_likes">
<a class="likes_up" href="#"><span aria-hidden="true" class="icon-arrow-up" {{action "voteUp" this}}></span></a>
<div class="likes_numero">{{votes}}</div>
<a class="likes_down" href="#" {{action "voteDown" this }}><span aria-hidden="true" class="icon-arrow-down"></span></a>
</div>
</div>
</article>
{{/each}}
</script>
<script type="text/x-handlebars" data-template-name="post">
<!-- item -->
<article class="contenido_item extended">
<figure>
<a href="#"><img {{bindAttr src="img"}}></a>
</figure>
<div class="item_info">
<h2>{{title}}</h2>
{{#link-to 'post' this}} <p class="item_posted">Posted by {{author.name}}</p>{{/link-to}}
<span aria-hidden="true" class="icon-heart-2"></span>
<p>{{body}}</p>
</div>
<div class="item_extra">
<p class ="extra_tag">tagname</p>
<div class="extra_likes">
<a class="likes_up" href="#" {{action "voteUp" }}><span aria-hidden="true" class="icon-arrow-up"></span></a>
<div class="likes_numero">{{votes}}</div>
<a class="likes_down" href="#" {{action "voteDown" }}><span aria-hidden="true" class="icon-arrow-down"></span></a>
</div>
</div>
</article>
</script>
<script src="js/libs/jquery-1.9.1.js"></script>
<script src="js/libs/handlebars-1.0.0.js"></script>
<script src="js/libs/ember-1.0.0.js"></script>
<script src="js/app.js"></script>
</body>
</html>