workflow-manage.html 1.3 KB

1234567891011121314151617181920212223
  1. <ion-view view-title="管理流程">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-clear" ng-click="ordering()">{{ordering?'完成':'排序'}}</button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <div class="item item-divider"></div>
  7. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  8. <ion-list ng-show="!loading">
  9. <ion-item class="item item-icon-right positive" type="item-text-wrap" href="#/workflow-templatecreate">
  10. 新建流程
  11. <i class="icon ion-plus positive"></i>
  12. </ion-item>
  13. <div class="item item-divider"></div>
  14. <ion-item ng-repeat="template in templates.results" class="item item-icon-right item-text-wrap" ng-href="#/workflow-templatedetail/{{template.id}}">
  15. {{template.name}}
  16. <i class="icon ion-chevron-right icon-accessory"></i>
  17. </ion-item>
  18. </ion-list>
  19. <ion-infinite-scroll spinner="android" ng-if="templates.nexturl!=null" on-infinite="loadMore()" distance="1%" immediate-check="false">
  20. </ion-infinite-scroll>
  21. <h4 class="stable center" ng-show="templates&&templates.nexturl== null&&templates.results.length>=10">没有更多了</h4>
  22. </ion-content>
  23. </ion-view>