Sosso item json parsing and bootstrap grid working

This commit is contained in:
Aarni
2016-09-27 21:59:38 +03:00
parent 8dd7edd105
commit f11ec41694
+11 -5
View File
@@ -1,13 +1,19 @@
<div ng-controller="SossoController">
<div class="row" style="max-height:300px">
<div class="col-xs-4 col-xs-offset-1" style="padding-top:30px;padding-bottom:30px"><img src=""></div>
<div class="col-xs-7" style="font-size:140px;padding-top:40px">JUTUT</div>
<div class="col-xs-7" style="font-size:100px;padding-top:30px">JUTUT</div>
</div>
<div class="row" ng-repeat="post in data.posts" style="height:280px;;border:2px solid black;color:#33333">
<div class="row">
<div class="col-xs-3"><img ng-src="{{ post.thumbnail.url }}" style="height:150px;"></div>
<div class="col-xs-7 col-xs-offset-1" style="font-size:72px;padding-top:30px">{{ post.title }}</div>
<div class="row" ng-repeat="post in data.posts" style="height:150px;border:2px solid black;color:#33333">
<div class="row" style="max-height:100px">
<div class="col-xs-1 col-xs-offset-2"><img ng-src="{{ post.thumbnail }}" style="height:150px;"></div>
<div class="col-xs-8 col-xs-offset-1">
<h1 style="font-size:48px">{{ post.title }}</h1>
<div class="row">
<div class="col-xs-offset-6" style="font-size:12px">{{ post.author.first_name }} {{ post.author.last_name }}</div>
<div class="col-xs-offset-6" style="font-size:12px">{{ post.date }}</div>
</div>
</div>
</div>
</div>
</div>