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

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="line.show" default="Show Line" /></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="line.list" default="Line List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="line.new" default="New Line" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="line.show" default="Show Line" /></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.                         <tr class="prop">
  22.                             <td valign="top" class="name"><g:message code="line.id" default="Id" />:</td>
  23.                             
  24.                             <td valign="top" class="value">${lineInstance.id}</td>
  25.                             
  26.                         </tr>
  27.                         <tr class="prop">
  28.                             <td valign="top" class="name"><g:message code="line.line_nb" default="Linenb" />:</td>
  29.                             <td valign="top" class="value">${lineInstance.line_nb}</td>
  30.                             <td valign="top" class="name"><g:message code="line.line_name" default="Linename" />:</td>
  31.                             <td valign="top" class="value">${lineInstance.line_name}</td>
  32.                         </tr>
  33.                         <tr class="prop">
  34.                             <td valign="top" class="name"><g:message code="line.com_nb" default="Comnb" />:</td>
  35.                             <td valign="top" class="value">${lineInstance.com_nb}</td>
  36.                             <td valign="top" class="name"><g:message code="line.baudrate" default="Baudrate" />:</td>
  37.                             
  38.                             <td valign="top" class="value">${lineInstance.baudrate}</td>
  39.                         </tr>
  40.                     
  41.                         <tr class="prop">
  42.                             <td valign="top" class="name"><g:message code="line.halfDuplex" default="Half Duplex" />:</td>
  43.                             
  44.                             <td valign="top" class="value">${lineInstance.halfDuplex}</td>
  45.                             <td valign="top" class="name"><g:message code="line.initString" default="Init String" />:</td>
  46.                             <td valign="top" class="value">${lineInstance.initString}</td>
  47.                         </tr>
  48.                     
  49.                         <tr class="prop">
  50.                             <td valign="top" class="name"><g:message code="line.line_type" default="Linetype" />:</td>
  51.                             
  52.                             <td valign="top" class="value">${lineInstance.line_type}</td>
  53.                             <td valign="top" class="name"><g:message code="line.max_repeats" default="Maxrepeats" />:</td>
  54.                             <td valign="top" class="value">${lineInstance.max_repeats}</td>
  55.                         </tr>
  56.                     
  57.                         <tr class="prop">
  58.                             <td valign="top" class="name"><g:message code="line.timeBetweenDiff" default="Time Between Diff" />:</td>
  59.                             
  60.                             <td valign="top" class="value">${lineInstance.timeBetweenDiff}</td>
  61.                             <td valign="top" class="name"><g:message code="line.timeBetweenSame" default="Time Between Same" />:</td>
  62.                             <td valign="top" class="value">${lineInstance.timeBetweenSame}</td>
  63.                         </tr>
  64.                     
  65.                         <tr class="prop">
  66.                             <td valign="top" class="name"><g:message code="line.toneDial" default="Tone Dial" />:</td>
  67.                             
  68.                             <td valign="top" class="value">${lineInstance.toneDial}</td>
  69.                             
  70.                         </tr>
  71.                     
  72.                     </tbody>
  73.                 </table>
  74.             </div>
  75.             <div class="buttons">
  76.                 <g:form>
  77.                     <input type="hidden" name="id" value="${lineInstance?.id}" />
  78.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  79.                     <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>
  80.                 </g:form>
  81.             </div>
  82.         </div>
  83.     </body>
  84. </html>