add.html 1014 B

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('新增魅力活动')" />
  5. </head>
  6. <body class="white-bg">
  7. <div class="wrapper wrapper-content animated fadeInRight ibox-content">
  8. <form class="form-horizontal m" id="form-notice-add">
  9. <div class="form-group">
  10. <label class="col-sm-2 control-label">卿卿号:</label>
  11. <div class="col-sm-10">
  12. <input id="uid" name="uid" class="form-control" type="number" min="1" placeholder="请输入卿卿号" required/>
  13. </div>
  14. </div>
  15. </form>
  16. </div>
  17. <th:block th:include="include :: footer" />
  18. <th:block th:include="include :: summernote-js" />
  19. <script type="text/javascript">
  20. var prefix = ctx + "activity/charm";
  21. $("#form-notice-add").validate({
  22. focusCleanup: true
  23. });
  24. function submitHandler() {
  25. if ($.validate.form()) {
  26. $.operate.save(prefix + "/add", $('#form-notice-add').serialize());
  27. }
  28. }
  29. </script>
  30. </body>
  31. </html>