daily-template.html 1.4 KB

1234567891011121314151617181920212223242526
  1. <ion-view view-title="日报模板设置">
  2. <ion-content>
  3. <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
  4. <div class="item item-divider"></div>
  5. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  6. <ion-list ng-show="!loading">
  7. <ion-item class="item item-icon-right positive" type="item-text-wrap" href="#/daily-templateScope/-1">
  8. 新建日报模板
  9. <i class="icon ion-android-add positive"></i>
  10. </ion-item>
  11. <div ng-repeat="template in templates.results">
  12. <div class="item item-divider"></div>
  13. <ion-item class="mobanitem" ng-click="gosetmoban(template);">
  14. <ion-item class="item item-icon-right " type="item-text-wrap">
  15. {{template.name}}
  16. <i class="icon ion-chevron-right icon-accessory"></i>
  17. </ion-item>
  18. <div class="item itemfield">
  19. <label>{{template.description}}</label>
  20. </div>
  21. </ion-item>
  22. </div>
  23. </ion-list>
  24. <ion-infinite-scroll spinner="android" ng-if="moreCanBeLoaded()" on-infinite="loadMore()" distance="1%" immediate-check="false"></ion-infinite-scroll>
  25. </ion-content>
  26. </ion-view>