host_detail.jsp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <%@ include file="../common/header.jsp"%>
  2. <script type="text/javascript" language="javascript">
  3. <!--
  4. function doBack(){
  5. document.forms.host.action.value="list";
  6. document.forms.host.submit();
  7. }
  8. function doEdit(id){
  9. document.forms.host.id.value=id;
  10. document.forms.host.action.value="edit";
  11. document.forms.host.submit();
  12. }
  13. -->
  14. </script>
  15. <!-- CONTENT -->
  16. <form name="host" method="post" action="host.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.host.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><b><bean:message key="host.id.key"/></b></td>
  31. <td>:</td>
  32. <td>
  33. <bean:write name="host" property="id"/>
  34. </td>
  35. <td>&nbsp;</td>
  36. <td>&nbsp;</td>
  37. <td>&nbsp;</td>
  38. </tr>
  39. <tr align = "left">
  40. <td><b><bean:message key="host.host.key"/></b></td>
  41. <td>:</td>
  42. <td align="left">
  43. <bean:write name="host" property="host"/>
  44. </td>
  45. <td>&nbsp;</td>
  46. <td>&nbsp;</td>
  47. <td>&nbsp;</td>
  48. </tr>
  49. <tr align = "left">
  50. <td><b><bean:message key="host.username.key"/></b></td>
  51. <td>:</td>
  52. <td align="left">
  53. <bean:write name="host" property="username"/>
  54. </td>
  55. <td>&nbsp;</td>
  56. <td>&nbsp;</td>
  57. <td>&nbsp;</td>
  58. </tr>
  59. <%/*<tr align = "left">
  60. <td><b><bean:message key="host.password.key"/></b></td>
  61. <td>:</td>
  62. <td align="left">
  63. <bean:write name="host" property="password"/>
  64. </td>
  65. <td>&nbsp;</td>
  66. <td>&nbsp;</td>
  67. <td>&nbsp;</td>
  68. </tr>*/%>
  69. <tr align = "left">
  70. <td><b><bean:message key="host.context.key"/></b></td>
  71. <td>:</td>
  72. <td align="left">
  73. <bean:write name="host" property="context"/>
  74. </td>
  75. <td>&nbsp;</td>
  76. <td>&nbsp;</td>
  77. <td>&nbsp;</td>
  78. </tr>
  79. <tr align = "left">
  80. <td><b><bean:message key="host.modifiedBy.key"/></b></td>
  81. <td>:</td>
  82. <td align="left">
  83. <bean:write name="host" property="modifiedBy"/>
  84. </td>
  85. <td>&nbsp;</td>
  86. <td>&nbsp;</td>
  87. <td>&nbsp;</td>
  88. </tr>
  89. <tr align = "left">
  90. <td><b><bean:message key="host.timestamp.key"/></b></td>
  91. <td>:</td>
  92. <td align="left">
  93. <logic:notEmpty name="host" property="timestamp">
  94. <bean:write name="host" property="timestamp.time" format="dd/MM/yyyy"/>
  95. </logic:notEmpty>
  96. </td>
  97. <td>&nbsp;</td>
  98. <td>&nbsp;</td>
  99. <td>&nbsp;</td>
  100. </tr>
  101. <tr>
  102. <td>&nbsp;</td>
  103. <td>&nbsp;</td>
  104. <td>&nbsp;</td>
  105. <td>&nbsp;</td>
  106. <td>&nbsp;</td>
  107. <td>&nbsp;</td>
  108. </tr>
  109. <tr>
  110. <td>&nbsp;</td>
  111. <td>&nbsp;</td>
  112. <td>
  113. <input type="button" value=<bean:message key="button.back" /> onclick="doBack();">
  114. <%/*<input type="button" value=<bean:message key="button.edit" /> onclick="doEdit('<bean:write name="host" property="id"/>');" />*/%>
  115. </td>
  116. <td>&nbsp;</td>
  117. <td>&nbsp;</td>
  118. <td>&nbsp;</td>
  119. </tr>
  120. <tr>
  121. <td>&nbsp;</td>
  122. <td>&nbsp;</td>
  123. <td>&nbsp;</td>
  124. <td>&nbsp;</td>
  125. <td>&nbsp;</td>
  126. <td>&nbsp;</td>
  127. </tr>
  128. </table>
  129. </td>
  130. </tr>
  131. </table>
  132. </form>
  133. <!-- END CONTENT -->
  134. <%@ include file="../common/footer.jsp"%>