createcomp-modaltemplate.html 1.9 KB

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