show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:6k
源码类别:

PlugIns编程

开发平台:

Java

  1. <html>
  2.     <head>
  3.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  4.         <meta name="layout" content="main" />
  5.         <title><g:message code="rtu.show" default="Show Rtu" /></title>
  6.     </head>
  7.     <body>
  8.         <div class="nav">
  9.             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
  10.             <span class="menuButton"><g:link class="list" action="list"><g:message code="rtu.list" default="Rtu List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="rtu.new" default="New Rtu" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="rtu.show" default="Show Rtu" /></h1>
  15.             <g:if test="${flash.message}">
  16.             <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
  17.             </g:if>
  18.             <div class="dialog">
  19.                 <table>
  20.                     <tbody>
  21.                     
  22.                         <tr class="prop">
  23.                             <td valign="top" class="name"><g:message code="rtu.id" default="Id" />:</td>
  24.                             
  25.                             <td valign="top" class="value">${rtuInstance.id}</td>
  26.                             
  27.                         </tr>
  28.                         <tr class="prop">
  29.                             <td valign="top" class="name"><g:message code="rtu.rtu_nb" default="Rtunb" />:</td>
  30.                             <td valign="top" class="value">${rtuInstance.rtu_nb}</td>
  31.                             <td valign="top" class="name"><g:message code="rtu.rtu_name" default="Rtuname" />:</td>
  32.                             <td valign="top" class="value">${rtuInstance.rtu_name}</td>
  33.                         </tr>
  34.                         <tr class="prop">
  35.                             <td valign="top" class="name"><g:message code="rtu.rtu_type" default="rtu_type" />:</td>
  36.                             <td valign="top" class="value">${rtuInstance.rtu_type}</td>
  37.                             <td valign="top" class="name"><g:message code="rtu.line_nb" default="Linenb" />:</td>
  38.                             <td valign="top" class="value">${rtuInstance.line_nb}</td>
  39.                         </tr>
  40.                     
  41.                         <tr class="prop">
  42.                             <td valign="top" class="name"><g:message code="rtu.password_type" default="Passwordtype" />:</td>
  43.                             <td valign="top" class="value">${rtuInstance.password_type}</td>
  44.                             <td valign="top" class="name"><g:message code="rtu.password" default="Password" />:</td>
  45.                             
  46.                             <td valign="top" class="value">${rtuInstance.password}</td>
  47.                         </tr>
  48.                     
  49.                         <tr class="prop">
  50.                             <td valign="top" class="name"><g:message code="rtu.phone_nb" default="Phonenb" />:</td>
  51.                             
  52.                             <td valign="top" class="value">${rtuInstance.phone_nb}</td>
  53.                             <td valign="top" class="name"><g:message code="rtu.rtuoverride" default="Rtuoverride" />:</td>
  54.                             <td valign="top" class="value">${rtuInstance.rtuoverride}</td>
  55.                         </tr>
  56.                     
  57.                         <tr class="prop">
  58.                             <td valign="top" class="name"><g:message code="rtu.rtusync" default="Rtusync" />:</td>
  59.                             
  60.                             <td valign="top" class="value">${rtuInstance.rtusync}</td>
  61.                             <td valign="top" class="name"><g:message code="rtu.send_block_time" default="Sendblocktime" />:</td>
  62.                             <td valign="top" class="value">${rtuInstance.send_block_time}</td>
  63.                         </tr>
  64.                     
  65.                         <tr class="prop">
  66.                             <td valign="top" class="name"><g:message code="rtu.station_nb" default="Stationnb" />:</td>
  67.                             
  68.                             <td valign="top" class="value">${rtuInstance.station_nb}</td>
  69.                             <td valign="top" class="name"><g:message code="rtu.stay_in_db" default="Stayindb" />:</td>
  70.                             <td valign="top" class="value">${rtuInstance.stay_in_db}</td>                            
  71.                         </tr>
  72.                     
  73.                         <tr class="prop">
  74.                             <td valign="top" class="name"><g:message code="rtu.sync_window" default="Syncwindow" />:</td>
  75.                             
  76.                             <td valign="top" class="value">${rtuInstance.sync_window}</td>
  77.                             
  78.                         </tr>
  79.                     
  80.                     </tbody>
  81.                 </table>
  82.             </div>
  83.             <div class="buttons">
  84.                 <g:form>
  85.                     <input type="hidden" name="id" value="${rtuInstance?.id}" />
  86.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  87.                     <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${message(code:'delete.confirm', 'default':'Are you sure?')}');" action="Delete" value="${message(code:'delete', 'default':'Delete')}" /></span>
  88.                 </g:form>
  89.             </div>
  90.         </div>
  91.     </body>
  92. </html>