forget.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <div ng-controller="LoginCtrl" class="box" cg-busy="{promise:myPromise,message:'请稍后,正在处理...'}">
  2. <!--
  3. <div class="left">
  4. <img src="image/tu.png"/>
  5. </div>
  6. -->
  7. <div class="right clearfix">
  8. <form name="resetForm" id="resetForm" class="login-form form-horizontal" novalidate ng-submit="reset(resetForm.$valid)">
  9. <div class="title">
  10. 重置考生密码
  11. </div>
  12. <div class="input-box" ng-if="loginActive">
  13. <div class="form-group">
  14. <label class="control-label col-md-3">高考报名号</label>
  15. <div class="col-md-9" ng-class="{ 'has-error' : resetForm.exam_id.$invalid && resetFormSubmitted }">
  16. <input class="form-control input-lg" placeholder="请输入高考报名号" type="text" ng-model="ruser.exam_id" name="exam_id" required ng-minlength="14" ng-maxlength="14">
  17. <p ng-show="resetForm.exam_id.$error.required && resetFormSubmitted" class="help-block">请输入高考报名号</p>
  18. <p ng-show="(resetForm.exam_id.$error.minlength || resetForm.exam_id.$error.maxlength) && resetFormSubmitted " class="help-block">高考报名号应为14位</p>
  19. </div>
  20. </div>
  21. <div class="form-group" >
  22. <label class="control-label col-md-3">身份证号</label>
  23. <div class="col-md-9" ng-class="{ 'has-error' : resetForm.cert_id.$invalid && resetFormSubmitted }">
  24. <input class="form-control input-lg" placeholder="请输入身份证号" type="text" ng-model="ruser.cert_id" name="cert_id" required ng-minlength="18" ng-maxlength="18">
  25. <p ng-show="resetForm.cert_id.$error.required && resetFormSubmitted" class="help-block">请输入身份证号</p>
  26. <p ng-show="(resetForm.cert_id.$error.minlength || resetForm.cert_id.$error.maxlength) && resetFormSubmitted " class="help-block">身份证号应为18位</p>
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="control-label col-md-3">验证码</label>
  31. <div class="col-md-9 row" ng-class="{ 'has-error' : resetForm.valid_code.$invalid && resetFormSubmitted }">
  32. <div class="col-md-8">
  33. <input class="form-control input-lg ng-pristine ng-valid-maxlength ng-valid-minlength ng-invalid ng-invalid-required" placeholder="请输入验证码" type="text" ng-model="ruser.valid_code" name="valid_code" required ng-minlength="4" ng-maxlength="4">
  34. <p ng-show="resetForm.valid_code.$error.required && resetFormSubmitted" class="help-block ng-hide">请输入验证码</p>
  35. <p ng-show="(resetForm.valid_code.$error.minlength || resetForm.valid_code.$error.maxlength) && resetFormSubmitted" class="help-block ng-hide">验证码长度应为4位</p>
  36. </div>
  37. <div class="col-xs-4 " style="padding: 0">
  38. <img id="imgCode" ng-click="changeCode('imgCode')" style="margin-top:15px;" src="../frame/verification/random.htm?verify=0.6073802952985135&amp;img_width=120&amp;font_size=30&amp;margin_left=15&amp;font_interval=20&amp;img_height=40&amp;margin_top=25">
  39. </div>
  40. </div>
  41. </div>
  42. <div class="form-group as-box">
  43. <div class="col-md-12">
  44. <button class="login-btn " type="submit" >重置密码</button>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="input-box" ng-if="!loginActive">
  49. 服务器正常维护,网站开放时间为:{{openTime}} - {{closeTime}}
  50. </div>
  51. </form>
  52. </div>
  53. </div>