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

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="roster.show" default="Show Roster" /></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="roster.list" default="Roster List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="roster.new" default="New Roster" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="roster.show" default="Show Roster" /></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="roster.id" default="Id" />:</td>
  24.                             
  25.                             <td valign="top" class="value">${roster.id}</td>
  26.                             
  27.                         </tr>
  28.                     
  29.                         <tr class="prop">
  30.                             <td valign="top" class="name"><g:message code="roster.rosRequestman" default="Ros Requestman" />:</td>
  31.                             
  32.                             <td valign="top" class="value"><g:link controller="staff" action="show" id="${roster?.rosRequestman?.id}">${roster?.rosRequestman}</g:link></td>
  33.                             
  34.                         </tr>
  35.                     
  36.                         <tr class="prop">
  37.                             <td valign="top" class="name"><g:message code="roster.rosFrom" default="Ros From" />:</td>
  38.                             
  39.                             <td valign="top" class="value">${roster.rosFrom}</td>
  40.                             
  41.                         </tr>
  42.                     
  43.                         <tr class="prop">
  44.                             <td valign="top" class="name"><g:message code="roster.rosTo" default="Ros To" />:</td>
  45.                             
  46.                             <td valign="top" class="value">${roster.rosTo}</td>
  47.                             
  48.                         </tr>
  49.                     
  50.                     
  51.                         <tr class="prop">
  52.                             <td valign="top" class="name"><g:message code="roster.rosState" default="Ros State" />:</td>
  53.                             
  54.                             <td valign="top" class="value">${roster?.rosState}</td>
  55.                             
  56.                         </tr>
  57.                     
  58.                         <tr class="prop">
  59.                             <td valign="top" class="name"><g:message code="roster.rosPlace" default="Ros Place" />:</td>
  60.                             
  61.                             <td valign="top" class="value">${roster.rosPlace}</td>
  62.                             
  63.                         </tr>
  64.                     
  65.                         <tr class="prop">
  66.                             <td valign="top" class="name"><g:message code="roster.rosPermitman" default="Ros Permitman" />:</td>
  67.                             
  68.                             <td valign="top" class="value"><g:link controller="staff" action="show" id="${roster?.rosPermitman?.id}">${roster?.rosPermitman}</g:link></td>
  69.                             
  70.                         </tr>
  71.                     
  72.                         <tr class="prop">
  73.                             <td valign="top" class="name"><g:message code="roster.rosMemo" default="Ros Memo" />:</td>
  74.                             
  75.                             <td valign="top" class="value">${roster.rosMemo}</td>
  76.                             
  77.                         </tr>
  78.                     
  79.                         <tr class="prop">
  80.                             <td valign="top" class="name"><g:message code="roster.rosCreatetime" default="Ros Createtime" />:</td>
  81.                             
  82.                             <td valign="top" class="value">${roster.rosCreatetime}</td>
  83.                             
  84.                         </tr>
  85.                     
  86.                         <tr class="prop">
  87.                             <td valign="top" class="name"><g:message code="roster.rosCreater" default="Ros Creater" />:</td>
  88.                             
  89.                             <td valign="top" class="value">${roster.rosCreater}</td>
  90.                             
  91.                         </tr>
  92.                     
  93.                         <tr class="prop">
  94.                             <td valign="top" class="name"><g:message code="roster.rosLastchange" default="Ros Lastchange" />:</td>
  95.                             
  96.                             <td valign="top" class="value">${roster.rosLastchange}</td>
  97.                             
  98.                         </tr>
  99.                     
  100.                         <tr class="prop">
  101.                             <td valign="top" class="name"><g:message code="roster.rosLastchanger" default="Ros Lastchanger" />:</td>
  102.                             
  103.                             <td valign="top" class="value">${roster.rosLastchanger}</td>
  104.                             
  105.                         </tr>
  106.                     
  107.                     </tbody>
  108.                 </table>
  109.             </div>
  110.             <div class="buttons">
  111.                 <g:form>
  112.                     <input type="hidden" name="id" value="${roster.id}" />
  113.                     <input type="hidden" name="_rosRequestman" value="${params._rosRequestman}" />
  114.                     <input type="hidden" name="_rosState_id" value="${params._rosState_id}" />
  115.                     <input type="hidden" name="_rosLastchangefrom" value="${params._rosLastchangefrom}" />
  116.                     <input type="hidden" name="_rosLastchangeto" value="${params._rosLastchangeto}" />
  117.                     <input type="hidden" name="_rosDel" value="${params._rosDel}" />
  118.                     <input type="hidden" name="offset" value="${params.offset}" />
  119.                     <input type="hidden" name="sort" value="${params.sort}" />
  120.                     <input type="hidden" name="order" value="${params.order}" />  
  121.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  122.                     <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>
  123.                     <span class="button"><g:link class="link" controller="roster" action="list" params="${[_rosRequestman:params._rosRequestman,_rosState_id:params._rosState_id,_rosLastchangefrom:params._rosLastchangefrom,_rosLastchangeto:params._rosLastchangeto,_rosDel:params._rosDel,max:params.max,offset:params.offset]}"><g:message code="back" default="Back" /></g:link></span>
  124.                 </g:form>
  125.             </div>
  126.         </div>
  127.     </body>
  128. </html>