epay_privilege_detail.jsp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doUpdateStatus(code,status){
  5. var x = (status == 'ACTIVE' ? window.confirm("<bean:message key="confirm.activate"/>"):window.confirm("<bean:message key="confirm.inactivate"/>"));
  6. if(x){
  7. document.forms.epayPrivilege.code.value=code;
  8. document.forms.epayPrivilege.status.value=status;
  9. document.forms.epayPrivilege.action.value="update_status";
  10. document.forms.epayPrivilege.submit();
  11. doDisable(document.forms.epayPrivilege, "button");
  12. }
  13. }
  14. function doBack(){
  15. document.forms.epayPrivilege.action.value="list";
  16. document.forms.epayPrivilege.submit();
  17. }
  18. function doEdit(code){
  19. document.forms.epayPrivilege.code.value=code;
  20. document.forms.epayPrivilege.action.value="edit";
  21. document.forms.epayPrivilege.submit();
  22. }
  23. -->
  24. </script>
  25. <!-- CONTENT -->
  26. <form name="epayPrivilege" method="post" action="epayPrivilege.do">
  27. <input type="hidden" name="action" value =""/>
  28. <input type="hidden" name="code">
  29. <input type="hidden" name="status">
  30. <!--td width="80%" valign="top"-->
  31. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  32. <tr>
  33. <td class="titleHeader"><bean:message key="project.privilege.key"/> - DETAIL</td>
  34. </tr>
  35. </table>
  36. <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
  37. <tr>
  38. <td align="center">
  39. <table width="100%" border="0" cellspacing="1" cellpadding="2">
  40. <tr align = "left">
  41. <td width="15%"><b><bean:message key="privilege.id.key"/></b></td>
  42. <td width="1%">:</td>
  43. <td width="34%">
  44. <bean:write name="nhprivilege" property="code"/>
  45. </td>
  46. <td width="5%">&nbsp;</td>
  47. <td width="15%">&nbsp;</td>
  48. <td width="30%">&nbsp;</td>
  49. </tr>
  50. <tr align = "left">
  51. <td width="15%"><b><bean:message key="privilege.name.key"/></b></td>
  52. <td width="1%">:</td>
  53. <td align="left" width="34%">
  54. <bean:write name="nhprivilege" property="name"/>
  55. </td>
  56. <td width="5%">&nbsp;</td>
  57. <td width="15%">&nbsp;</td>
  58. <td width="30%">&nbsp;</td>
  59. </tr>
  60. <tr align = "left">
  61. <td width="15%"><b><bean:message key="privilege.type.key"/></b></td>
  62. <td width="1%">:</td>
  63. <td align="left" width="34%">
  64. <bean:write name="nhprivilege" property="type"/>
  65. </td>
  66. <td width="5%">&nbsp;</td>
  67. <td width="15%">&nbsp;</td>
  68. <td width="30%">&nbsp;</td>
  69. </tr>
  70. <tr align = "left">
  71. <td width="15%"><b><bean:message key="privilege.path.key"/></b></td>
  72. <td width="1%">:</td>
  73. <td align="left" width="34%">
  74. <bean:write name="nhprivilege" property="path"/>
  75. </td>
  76. <td width="5%">&nbsp;</td>
  77. <td width="15%">&nbsp;</td>
  78. <td width="30%">&nbsp;</td>
  79. </tr>
  80. <tr align = "left">
  81. <td width="15%"><b><bean:message key="privilege.parent.key"/></b></td>
  82. <td width="1%">:</td>
  83. <td align="left" width="34%">
  84. <logic:notEmpty name="nhprivilege" property="parent">
  85. <bean:write name="nhprivilege" property="parent.name"/>
  86. </logic:notEmpty>
  87. </td>
  88. <td width="5%">&nbsp;</td>
  89. <td width="15%">&nbsp;</td>
  90. <td width="30%">&nbsp;</td>
  91. </tr>
  92. <tr align = "left">
  93. <td width="15%"><b><bean:message key="privilege.priority.key"/></b></td>
  94. <td width="1%">:</td>
  95. <td align="left" width="34%">
  96. <bean:write name="nhprivilege" property="priority"/>
  97. </td>
  98. <td width="5%">&nbsp;</td>
  99. <td width="15%">&nbsp;</td>
  100. <td width="30%">&nbsp;</td>
  101. </tr>
  102. <tr align = "left">
  103. <td width="15%"><b><bean:message key="privilege.status.key"/></b></td>
  104. <td width="1%">:</td>
  105. <td align="left" width="34%"><bean:write name="nhprivilege" property="status"/></td>
  106. <td width="5%">&nbsp;</td>
  107. <td width="15%">&nbsp;</td>
  108. <td width="30%">&nbsp;</td>
  109. </tr>
  110. <tr align = "left">
  111. <td width="15%"><b><bean:message key="privilege.modifiedBy.key"/></b></td>
  112. <td width="1%">:</td>
  113. <td align="left" width="34%">
  114. <bean:write name="nhprivilege" property="modifiedBy"/>
  115. </td>
  116. <td width="5%">&nbsp;</td>
  117. <td width="15%">&nbsp;</td>
  118. <td width="30%">&nbsp;</td>
  119. </tr>
  120. <tr align = "left">
  121. <td width="15%"><b><bean:message key="privilege.timestamp.key"/></b></td>
  122. <td width="1%">:</td>
  123. <td align="left" width="30%">
  124. <logic:notEmpty name="nhprivilege" property="modifiedDate">
  125. <bean:write name="nhprivilege" property="modifiedDate.time" format="dd/MM/yyyy hh:mm:ss:SSS"/>
  126. </logic:notEmpty>
  127. </td>
  128. <td width="5%">&nbsp;</td>
  129. <td width="15%">&nbsp;</td>
  130. <td width="30%">&nbsp;</td>
  131. </tr>
  132. <tr>
  133. <td>&nbsp;</td>
  134. <td>&nbsp;</td>
  135. <td>&nbsp;</td>
  136. <td>&nbsp;</td>
  137. <td>&nbsp;</td>
  138. <td>&nbsp;</td>
  139. </tr>
  140. <tr>
  141. <td>&nbsp;</td>
  142. <td>&nbsp;</td>
  143. <td>
  144. <input type="button" value=<bean:message key="button.back" /> onclick="doBack();">
  145. <%/*<logic:equal name="nhprivilege_status" value="ACTIVE">
  146. <input type="button" value=<bean:message key="button.inactive" /> onclick="doUpdateStatus('<bean:write name="nhprivilege" property="code"/>','INACTIVE');">
  147. <input type="button" value=<bean:message key="button.edit" /> onclick="doEdit('<bean:write name="nhprivilege" property="code"/>');">
  148. </logic:equal>
  149. <logic:equal name="nhprivilege_status" value="INACTIVE">
  150. <input type="button" value=<bean:message key="button.active" /> onclick="doUpdateStatus('<bean:write name="nhprivilege" property="code"/>','ACTIVE');">
  151. </logic:equal>*/%>
  152. </td>
  153. <td>&nbsp;</td>
  154. <td>&nbsp;</td>
  155. <td>&nbsp;</td>
  156. </tr>
  157. <tr>
  158. <td>&nbsp;</td>
  159. <td>&nbsp;</td>
  160. <td>&nbsp;</td>
  161. <td>&nbsp;</td>
  162. <td>&nbsp;</td>
  163. <td>&nbsp;</td>
  164. </tr>
  165. </table>
  166. </td>
  167. </tr>
  168. <tr>
  169. <td>&nbsp;</td>
  170. </tr>
  171. </table>
  172. </td>
  173. </form>
  174. <!-- END CONTENT -->
  175. <%@ include file="../common/footer.jsp"%>