-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfarfesh.html
88 lines (83 loc) · 3.45 KB
/
farfesh.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
<head>
<title>farfesh</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" >
</script>
</head>
<template name="main">
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper">
<a href="/" class="brand-logo center">FarFesh فرفش</a>
<ul id="nav-mobile" class="right">
<li><a href="/post"><i class="mdi-content-create"></i></a></li>
</ul>
</div>
</nav>
</div>
<div class="container">
<div class="row">
<div class="mainContent col s12 offset-m2 m8">
<!-- Teal page content -->
<div class="wrapper">
{{ #each stories }}
{{> story}}
{{ /each }}
</div> <!-- /. wrapper-->
</div><!-- /. maincontent -->
</div><!--/.row -->
</div> <!-- /. container -->
</template>
<template name="story">
<div class="row">
<div class="storyBlock">
<div class="col s12">
<div class="card grey lighten-5">
<div class="card-content">
{{#if tweet}}
<img class="twitter" src="/images/twitter.png" />
{{/if}}
<div class="story-text">{{storyText}}</div>
{{#unless tweet}}
<div class="age">
<strong style="font-weight: bold">Age:</strong> {{age}}
</div>
{{/unless}}
</div>
<div class="card-action">
<form>
<div class="row">
<div class="col s12 m3">
<div class="row left">
<div class="smileys">
<div class="col s3 faceBlock">
<div class="face1 face" value="face1"></div>
<span class="voteNumber">{{face1value}}</span>
</div>
<div class="col s3">
<div class="face2 face" value="face2"></div>
<span class="voteNumber">{{face2value}}</span>
</div>
<div class="col s3">
<div class="face3 face" value="face3"></div>
<span class="voteNumber">{{face3value}}</span>
</div>
<div class="col s3">
<div class="face4 face" value="face4"></div>
<span class="voteNumber">{{face4value}}</span>
</div>
</div>
</div>
</div>
</div>
</form>
<div class="clearfix"></div>
<div class="cardInfo">
<span>Posted at: {{livestamp createdAt}} from {{country}}</span>
</div>
</div>
</div>
</div>
</div>
</div><!-- /. row -->
</template>