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

PlugIns编程

开发平台:

Java

  1.         <div id="checkinfo">
  2.             <div class="body">
  3.             <g:if test="${flash.message}">
  4.             <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
  5.             </g:if>
  6.             <div class="dialog">
  7.                 <h1><g:message code="roster.rosinfo" default="Show Roster Info" /></h1>
  8.                 <table style="width:500" >
  9.                     <tbody>
  10.                         <tr class="prop">
  11.                             <td valign="top" class="name"><g:message code="roster.id" default="Id" />:</td>
  12.                             <td valign="top" class="value">${roster.id}</td>
  13.                         </tr>
  14.                         <tr class="prop">
  15.                             <td valign="top" class="name"><g:message code="roster.rosRequestman" default="Ros Requestman" />:</td>
  16.                             <td valign="top" class="value"><g:link controller="staff" action="show" id="${roster?.rosRequestman?.id}">${roster?.rosRequestman}</g:link></td>
  17.                         </tr>
  18.                         <tr class="prop">
  19.                             <td valign="top" class="name"><g:message code="roster.rosFrom" default="Ros From" />:</td>
  20.                             <td valign="top" class="value">${roster.rosFrom}</td>
  21.                         </tr>
  22.                         <tr class="prop">
  23.                             <td valign="top" class="name"><g:message code="roster.rosTo" default="Ros To" />:</td>
  24.                             <td valign="top" class="value">${roster.rosTo}</td>
  25.                         </tr>
  26.                         <tr class="prop">
  27.                             <td valign="top" class="name"><g:message code="roster.rosState" default="Ros State" />:</td>
  28.                             <td valign="top" class="value">${roster?.rosState}</td>
  29.                         </tr>
  30.                         <tr class="prop">
  31.                             <td valign="top" class="name"><g:message code="roster.rosPlace" default="Ros Place" />:</td>
  32.                             <td valign="top" class="value">${roster.rosPlace}</td>
  33.                         </tr>
  34.                         <tr class="prop">
  35.                             <td valign="top" class="name"><g:message code="roster.rosMemo" default="Ros Memo" />:</td>
  36.                             <td valign="top" class="value">${roster.rosMemo}</td>
  37.                         </tr>
  38.                         <tr class="prop">
  39.                             <td valign="top" class="name"><g:message code="roster.rosCreatetime" default="Ros Createtime" />:</td>
  40.                             <td valign="top" class="value">${roster.rosCreatetime}</td>
  41.                         </tr>
  42.                         <tr class="prop">
  43.                             <td valign="top" class="name"><g:message code="roster.rosCreater" default="Ros Creater" />:</td>
  44.                             <td valign="top" class="value">${roster.rosCreater}</td>
  45.                         </tr>
  46.                         <tr class="prop">
  47.                             <td valign="top" class="name"><g:message code="roster.rosLastchange" default="Ros Lastchange" />:</td>
  48.                             <td valign="top" class="value">${roster.rosLastchange}</td>
  49.                         </tr>
  50.                         <tr class="prop">
  51.                             <td valign="top" class="name"><g:message code="roster.rosLastchanger" default="Ros Lastchanger" />:</td>
  52.                             <td valign="top" class="value">${roster.rosLastchanger}</td>
  53.                         </tr>
  54.                     </tbody>
  55.                 </table>
  56.             </div>
  57.             <div class="buttons">
  58.                 <g:formRemote name="adminpanel"  url="${[controller:'adminPanel',action:'rosterCheck']}" update="place" onComplete="afterSuccess();">
  59.                     <input type="hidden" name="id" value="${roster.id}" />
  60.                     <input type="hidden" id="state" name="state" value=""/>
  61.                     <span class="button"><g:actionSubmit class="edit" action="Agree" value="${message(code:'agree', 'default':'Agree')}" onclick="document.getElementById('state').value='Agree';return confirm('${message(code:'agree.confirm', 'default':'Are you Agree?')}');"/></span>
  62.                     <span class="button"><g:actionSubmit class="delete"  action="Disagree" onclick="document.getElementById('state').value='Disagree';" value="${message(code:'disagree', 'default':'Disagree')}" /></span>
  63.                     <span class="button"><input  class="delete" type="button" onclick="hideDiv();" value="${message(code:'close', 'default':'Close')}"/> </span>
  64.                 </g:formRemote>
  65.             </div>
  66.         </div>
  67.        </div>