express -> koa (use --harmony flag); bower_components -> public/bower_components; views -> templates/views;

This commit is contained in:
tmshv committed 2015-02-28 08:07:00 +03:00
1 parent 6c27308c07
commit 1226573b8b
15 files changed
+40 -57

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<div class="timeline">
<div class="post"
ng-repeat="post in feed"
ng-class="{left: isEven($index), right: !isEven($index)}">
<div class="head">
<div class="user">
<img ng-src="{{post.userpic}}" alt=""/>
<span>{{post.username}}</span>
</div>
<p class="date">{{post.date | date : "dd.MM.yyyy"}}</p>
</div>
<div class="body">
<!--<h2>Рисунок</h2>-->
<p>{{post.text}}</p>
<a href="{{post.url}}" target="_blank">
<img ng-src="{{post.image}}" alt="">
</a>
</div>
</div>
</div>