createcomp-modaltemplate.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <ion-modal-view class="newcomp-modalview">
  2. <ion-header-bar>
  3. <button class="button button-clear" ng-click="cancel()">{{'cancelTitle' | translate}}</button>
  4. <h1 class="title">{{'createcompTitle' | translate}}</h1>
  5. <button class="button button-clear" ng-click="import()">导入</button>
  6. </ion-header-bar>
  7. <ion-content class="create-comp-content">
  8. <div class="comp-logo-box">
  9. <img ng-src="{{logourl}}" ng-click="editlogo();">
  10. <div><i class="ion-edit"></i>{{'editTitle' | translate}}logo</div>
  11. </div>
  12. <form name="form" novalidate>
  13. <div class="list list-inset compname-div">
  14. <label class="item item-input" ng-class="{'true':'border-red'}[form.compname.$dirty &&form.compname.$invalid]">
  15. <input type="text" name="compname" ng-model="newcompname.compname" ng-minlength="2" ng-maxlength="45" required placeholder="{{'entercompanynameTitle'| translate }}">
  16. </label>
  17. </div>
  18. <button type="submit" class="create-comp-button button button-block calm" ng-disabled="form.compname.$invalid||form.compname.$pristine" ng-click="createcomp()">{{'createcompTitle'| translate }}</button>
  19. </form>
  20. <!-- <div class="line-hr">
  21. <div>^[\a-\z\A-\Z0-9\u4E00-\u9FA5]
  22. <ion-item class=" comp-item item-avatar item-icon-right" type="item-text-wrap">
  23. <img ng-src="../../../img/panda.png">
  24. <label for="">聚福轩</label>
  25. <p><i class="ion-ios-person-outline icon-accessory ion-person"></i>管理员 李丽云</p>
  26. </ion-item>
  27. <div class="comp-op">
  28. <div>
  29. <label for="">已加入: 3人</label>
  30. <button class="button button-outline button-calm" ng-click="tocompinfo(0,0)">申请</button>
  31. </div>
  32. </div>
  33. </div>
  34. </div> -->
  35. </ion-content>
  36. </ion-modal-view>