view.jsp 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <%@ include file="../../common/head.jsp"%>
  8. <link rel="stylesheet" type="text/css" href="../res/js//plugins/webuploader/webuploader.css">
  9. <link rel="stylesheet" type="text/css" href="../res/css/demo/webuploader-demo.css">
  10. <script type="text/javascript" src="../res/js/plugins/webuploader/webuploader.js"></script>
  11. <script type="text/javascript" src="../res/js/plugins/webuploader/uploader.js"></script>
  12. <cs:initFile/>
  13. </head>
  14. <body>
  15. <div class="wrapper wrapper-content">
  16. <div class="row">
  17. <div class="col-sm-12">
  18. <cs:form_validate formId="editUserForm"/>
  19. <form class="form-horizontal" action="edit.cs" id="editUserForm" method="POST">
  20. <div class="form-group">
  21. <label class="col-sm-3 control-label">代码:</label>
  22. <div class="col-sm-6">
  23. <input id="code" name="code" class="form-control" validate="{required:true}" readonly="readonly" value="${user.code }" validateMessage="{required:'请输入code,不能重复'}" >
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="col-sm-3 control-label">姓名:</label>
  28. <div class="col-sm-6">
  29. <input id="name" name="name" class="form-control" validate="{required:true}" readonly="readonly" value="${user.name }" validateMessage="{required:'请输入名称'}" >
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="col-sm-3 control-label">账号:</label>
  34. <div class="col-sm-6">
  35. <input id="account" name="account" class="form-control" validate="{required:true}" readonly="readonly" value="${user.account }" validateMessage="{required:'请输入账号'}" >
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="col-sm-3 control-label">密码:</label>
  40. <div class="col-sm-6">
  41. <input id="pwd" name="pwd" class="form-control" validate="{required:true}" readonly="readonly" value="${user.pwd }" validateMessage="{required:'请输入密码'}" >
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="col-sm-3 control-label">性别:</label>
  46. <div class="col-sm-6">
  47. <select class="form-control" name="sex" readonly="readonly">
  48. <option value="1" <c:if test="${user.sex==1 }"> selected="selected" </c:if> >男</option>
  49. <option value="2" <c:if test="${user.sex==2 }"> sselected="selected" </c:if> >女</option>
  50. </select>
  51. </div>
  52. </div>
  53. <div class="form-group">
  54. <label class="col-sm-3 control-label">头像:</label>
  55. <div class="col-sm-6">
  56. <cs:file name="img" type="100" url="${user.img }" desc="${user.img }" action="view"></cs:file>
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="col-sm-3 control-label">描述:</label>
  61. <div class="col-sm-6">
  62. <input id="remark" name="remark" class="form-control" value="${user.remark }" readonly="readonly" >
  63. </div>
  64. </div>
  65. <!-- <div class="form-group"> -->
  66. <!-- <label class="col-sm-3 control-label">:</label> -->
  67. <!-- <div class="col-sm-6"> -->
  68. <!-- <input id="weight" name="weight" class="form-control" > -->
  69. <!-- </div> -->
  70. <!-- </div> -->
  71. <!-- <div class="form-group"> -->
  72. <!-- <div class="col-sm-4 col-sm-offset-3 pull-left"> -->
  73. <!-- <button class="btn btn-default btn-dlg-close">取消</button> -->
  74. <!-- <button class="btn btn-primary" type="submit">提交</button> -->
  75. <!-- </div> -->
  76. <!-- </div> -->
  77. </form>
  78. </div>
  79. </div>
  80. </div>
  81. </body>
  82. </html>