Nav apraksta

view.html 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <ion-view view-title="View Content">
  2. <ion-nav-buttons side="right" >
  3. <button class="button button-clear" ng-click="share()">
  4. <i class="icon ion-share"></i>
  5. </button>
  6. </ion-nav-buttons>
  7. <ion-content>
  8. <div ng-if="post">
  9. <!-- {{ post }} -->
  10. <img ng-src="{{ post | image_server }}" width=100% ng-if="post.feature_url">
  11. <img ng-src="img/default.png" ng-if="!post.feature_url" width=100%>
  12. <div class="padding">
  13. <h2>{{ post.title }}</h2>
  14. <div class="row">
  15. <!--<div class="col col-50">
  16. <button ng-click="fav(post._id.$oid, 'post')" class="button icon-left"><img src="img/star.png" class="icon" width="20px" style="vertical-align:middle"> + Favorite</button>
  17. </div>-->
  18. </div>
  19. <hr>
  20. <div ng-bind-html="post_body" class="post-body"></div>
  21. <br>
  22. <hr class="zig">
  23. <hr class="zag">
  24. <div class="text-center">
  25. <strong>More On</strong>
  26. </div>
  27. <div class="list card" ng-repeat="p in more_ons" ng-if="p._id.$oid != post._id.$oid" >
  28. <div class="item item-image borderless">
  29. <img ng-src="{{ p | image_server }}" ng-if="p.feature_url">
  30. <img ng-src="img/default.png" ng-if="!p.feature_url">
  31. </div>
  32. <h3 ng-click="go('/app/view/{{ p._id.$oid }}')">{{ p.title }}</h3>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </ion-content>
  38. </ion-view>