resourcesGet.jsp 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <%--
  2. time:2011-12-05 17:00:54
  3. --%>
  4. <%@page language="java" pageEncoding="UTF-8"%>
  5. <%@include file="/commons/include/html_doctype.html"%>
  6. <html>
  7. <head>
  8. <title>子系统资源明细</title>
  9. <%@include file="/commons/include/getById.jsp" %>
  10. </head>
  11. <body>
  12. <c:if test="${resources!=null}">
  13. <div class="panel">
  14. <div class="panel-top">
  15. <div class="tbar-title">
  16. <span class="tbar-label">${resources.resName}</span>
  17. </div>
  18. </div>
  19. <div class="panel-body">
  20. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  21. <tr>
  22. <th width="20%">资源名称:</th>
  23. <td>${resources.resName}</td>
  24. </tr>
  25. <tr>
  26. <th width="20%">资源别名:</th>
  27. <td>${resources.alias}</td>
  28. </tr>
  29. <tr>
  30. <th width="20%">资源图标:</th>
  31. <td>
  32. <img alt="" src="${resources.icon}">
  33. </td>
  34. </tr>
  35. <tr>
  36. <th width="20%">默认地址:</th>
  37. <td>${resources.defaultUrl}</td>
  38. </tr>
  39. <tr>
  40. <th width="20%">是否有子节点:</th>
  41. <td>
  42. <c:if test="${resources.isFolder==0}">否</c:if>
  43. <c:if test="${resources.isFolder==1}">是</c:if>
  44. </td>
  45. </tr>
  46. <tr>
  47. <th width="20%">显示到菜单:</th>
  48. <td>
  49. <c:if test="${resources.isDisplayInMenu==0}">否</c:if>
  50. <c:if test="${resources.isDisplayInMenu==1}">是</c:if>
  51. </td>
  52. </tr>
  53. <tr>
  54. <th width="20%">默认打开:</th>
  55. <td>
  56. <c:if test="${resources.isOpen==0}">否</c:if>
  57. <c:if test="${resources.isOpen==1}">是</c:if>
  58. </td>
  59. </tr>
  60. <tr>
  61. <th width="20%">是否打开新窗口:</th>
  62. <td>
  63. <c:if test="${resources.isNewOpen==0}">否</c:if>
  64. <c:if test="${resources.isNewOpen==1}">是</c:if>
  65. </td>
  66. </tr>
  67. <tr>
  68. <th width="20%">同层顺序:</th>
  69. <td>
  70. ${resources.sn}
  71. </td>
  72. </tr>
  73. </table>
  74. </div>
  75. <c:if test="${resources.isFolder==0}">
  76. <div class="panel-top">
  77. <div class="tbar-title">
  78. <span class="tbar-label">资源URL</span>
  79. </div>
  80. </div>
  81. <div class="panel-body">
  82. <table width="100%" id="resourcesUrlItem" class="table-grid table-list" id="0" cellpadding="1" cellspacing="1">
  83. <tr>
  84. <th width="25%">名称</th>
  85. <th width="35%">URL</th>
  86. <th width="10%">默认URL</th>
  87. </tr>
  88. <tbody>
  89. <c:forEach items="${resourcesUrlList}" var="resourcesUrlItem" varStatus="status">
  90. <tr class="${status.index%2==0?'even':'odd'}">
  91. <td style="text-align:left">
  92. ${resourcesUrlItem.name}
  93. </td>
  94. <td style="text-align:left">
  95. ${resourcesUrlItem.url}
  96. </td>
  97. <td>
  98. <c:if test="${resourcesUrlItem.url==resources.defaultUrl}">是</c:if>
  99. <c:if test="${resourcesUrlItem.url!=resources.defaultUrl}">否</c:if>
  100. </td>
  101. </tr>
  102. </c:forEach>
  103. </tbody>
  104. </table>
  105. <c:if test="${resourcesUrlList=='[]'}">
  106. <div width="90%">
  107. 当前没有设置资源URL
  108. </div>
  109. </c:if>
  110. </div>
  111. </c:if>
  112. </div>
  113. </c:if>
  114. </body>
  115. </html>