1
0

role_detail.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doBack(){
  5. document.forms.role.action.value="list";
  6. document.forms.role.submit();
  7. }
  8. function doEdit(id){
  9. document.forms.role.id.value=id;
  10. document.forms.role.action.value="edit";
  11. document.forms.role.submit();
  12. }
  13. -->
  14. </script>
  15. <!-- CONTENT -->
  16. <form name="role" method="post" action="role.do">
  17. <input type="hidden" name="action" value ="">
  18. <input type="hidden" name="id" value ="">
  19. <!--td width="80%" valign="top"-->
  20. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  21. <tr>
  22. <td class="titleHeader"><bean:message key="project.role.key"/> - DETAIL</td>
  23. </tr>
  24. </table>
  25. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  26. <tr>
  27. <td align="center">
  28. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  29. <tr align="left">
  30. <td width="15%"><b><bean:message key="role.id.key"/></b></td>
  31. <td width="1%">:</td>
  32. <td width="84%" colspan="4">
  33. <bean:write name="role" property="id"/>
  34. </td>
  35. </tr>
  36. <tr align="left">
  37. <td width="15%"><b><bean:message key="role.name.key"/></b></td>
  38. <td width="1%">:</td>
  39. <td width="84%" colspan="4" align="left">
  40. <bean:write name="role" property="name"/>
  41. </td>
  42. </tr>
  43. <tr align="left">
  44. <td width="15%"><b><bean:message key="role.type.key"/></b></td>
  45. <td width="1%">:</td>
  46. <td width="84%" colspan="4" align="left">
  47. <bean:write name="role" property="type"/>
  48. </td>
  49. </tr>
  50. <tr align ="left">
  51. <td width="15%" valign="top"><b><bean:message key="role.privilege.key"/></b></td>
  52. <td width="1%" valign="top">:</td>
  53. <td width="84%" colspan="4" align="left">
  54. <logic:notEmpty name="role" property="privileges">
  55. <logic:iterate id="element_privileges" name="role" property="privileges">
  56. <bean:write name="element_privileges" property="name"/>
  57. <br>
  58. </logic:iterate>
  59. </logic:notEmpty>
  60. </td>
  61. </tr>
  62. <tr align ="left">
  63. <td width="15%"><b><bean:message key="role.status.key"/></b></td>
  64. <td width="1%">:</td>
  65. <td width="84%" colspan="4" align="left">
  66. <bean:write name="role" property="status"/>
  67. </td>
  68. </tr>
  69. <tr align="left">
  70. <td width="15%"><b><bean:message key="role.modifiedBy.key"/></b></td>
  71. <td width="1%">:</td>
  72. <td width="84%" colspan="4" align="left">
  73. <bean:write name="role" property="modifiedBy"/>
  74. </td>
  75. </tr>
  76. <tr align="left">
  77. <td width="15%"><b><bean:message key="role.timestamp.key"/></b></td>
  78. <td width="15%">:</td>
  79. <td width="84%" colspan="4" align="left">
  80. <logic:notEmpty name="role" property="timestamp">
  81. <bean:write name="role" property="timestamp.time" format="dd/MM/yyyy hh:mm:ss:SSS"/>
  82. </logic:notEmpty>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td>&nbsp;</td>
  87. <td>&nbsp;</td>
  88. <td>&nbsp;</td>
  89. <td>&nbsp;</td>
  90. <td>&nbsp;</td>
  91. <td>&nbsp;</td>
  92. </tr>
  93. <tr>
  94. <td>&nbsp;</td>
  95. <td>&nbsp;</td>
  96. <td>
  97. <input type="button" value=<bean:message key="button.back" /> onclick="doBack();">
  98. <%/*<input type="button" value=<bean:message key="button.edit" /> onclick="doEdit('<bean:write name="role" property="id"/>');" />*/%>
  99. </td>
  100. <td>&nbsp;</td>
  101. <td>&nbsp;</td>
  102. <td>&nbsp;</td>
  103. </tr>
  104. </table>
  105. </td>
  106. </tr>
  107. <tr>
  108. <td>&nbsp;</td>
  109. </tr>
  110. </table>
  111. </form>
  112. <!-- END CONTENT -->
  113. <%@ include file="../common/footer.jsp"%>