added post page, and added write page, with text editor

This commit is contained in:
arnaucode
2018-02-03 03:50:14 +01:00
parent b26533efa3
commit 2835d72779
16 changed files with 353 additions and 79 deletions

View File

@@ -1,4 +1,30 @@
<div class="container">
<div class="row">
<div class="col-sm-4">
<div ng-repeat="post in posts" ng-if="$index % 3 == 0">
<a ng-href="#!/post/{{post.id}}">
<div ng-include="'views/templates/post-thumb-template.html'"></div>
</a>
<br>
</div>
</div>
<div class="col-sm-4">
<div ng-repeat="post in posts" ng-if="$index % 3 == 1">
<a ng-href="#!/post/{{post.id}}">
<div ng-include="'views/templates/post-thumb-template.html'"></div>
</a>
<br>
</div>
</div>
<div class="col-sm-4">
<div ng-repeat="post in posts" ng-if="$index % 3 == 2">
<a ng-href="#!/post/{{post.id}}">
<div ng-include="'views/templates/post-thumb-template.html'"></div>
</a>
<br>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<div class="card" style="width: 18rem;">