view.jsp 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <%@ include file="../../common/head.jsp"%>
  9. </head>
  10. <body>
  11. <div class="wrapper wrapper-content">
  12. <div class="row">
  13. <div class="col-sm-12">
  14. <form class="form-horizontal" >
  15. <!-- <div class="form-group"> -->
  16. <!-- <label class="col-sm-3 control-label">id:</label> -->
  17. <!-- <div class="col-sm-6"> -->
  18. <%-- <input id="id" name="id" value="${menu.id }" class="form-control" type="text" readonly="readonly"> --%>
  19. <!-- </div> -->
  20. <!-- </div> -->
  21. <div class="form-group">
  22. <label class="col-sm-3 control-label">上级菜单:</label>
  23. <div class="col-sm-6">
  24. <select class="form-control m-b" id="pid" name="pid" disabled="disabled">
  25. <c:forEach items="${menuList }" var="superMenu">
  26. <option value="0">请选择</option>
  27. <option value="${superMenu.id }"
  28. <c:if test="${superMenu.id == menu.pid }"> selected</c:if>
  29. >${superMenu.name}</option>
  30. </c:forEach>
  31. </select>
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="col-sm-3 control-label">名称:</label>
  36. <div class="col-sm-6">
  37. <input id="name" name="name" value="${menu.name }" class="form-control" readonly="readonly">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="col-sm-3 control-label">代码:</label>
  42. <div class="col-sm-6">
  43. <input id="code" name="code" value="${menu.code }" class="form-control" readonly="readonly">
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="col-sm-3 control-label">url:</label>
  48. <div class="col-sm-6">
  49. <input id="url" name="url" value="${menu.url }" class="form-control" readonly="readonly" >
  50. </div>
  51. </div>
  52. <div class="form-group">
  53. <label class="col-sm-3 control-label">权重:</label>
  54. <div class="col-sm-6">
  55. <input id="weight" name="weight" value="${menu.weight }" class="form-control" readonly="readonly" >
  56. </div>
  57. </div>
  58. </form>
  59. </div>
  60. </div>
  61. </div>
  62. </body>
  63. </html>