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

PlugIns编程

开发平台:

Java

  1. <%--
  2.   Created by IntelliJ IDEA.
  3.   User: Administrator
  4.   Date: 2008-4-15
  5.   Time: 22:54:56
  6.   To change this template use File | Settings | File Templates.
  7. --%>
  8. <%@ page contentType="text/html;charset=UTF-8" %>
  9. <html>
  10.   <head><title>applicatcheck</title>
  11.         <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'main.css')}" />
  12.         <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
  13. <style type="text/css">
  14. <!--
  15. #place {
  16. position:absolute;
  17. left:300px;
  18. top:20px;
  19. width:500px;
  20. height:500px;
  21. z-index:1;
  22. }
  23. #checkinfo {
  24.     background-color: #84756B;
  25.     border: 5px solid #4A3429;
  26.      width:480px;
  27. height:480px;
  28.     overflow: auto;
  29. }
  30. -->
  31. </style>
  32.       <script type="text/javascript">
  33.       function hideDiv(){
  34.       document.getElementById('place').innerHTML = '';
  35.       }
  36.       </script>
  37.         <g:javascript library="application" />
  38.         <g:javascript library="prototype" />
  39.   </head>
  40.   <body>
  41.     <div id="place"></div>
  42.                 <br>
  43.   <div class="list">
  44.                 <table>
  45.                     <thead>
  46.                         <tr>
  47.                             <g:sortableColumn property="id" title="Id" titleKey="applicat.id" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,offset:params.offset]}"/>
  48.                             <th><g:message code="applicat.appRequestman" default="App Requestman" /></th>
  49.                             <th><g:message code="applicat.appType" default="App Type" /></th>
  50.                             <g:sortableColumn property="appFrom" title="App From" titleKey="applicat.appFrom" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,offset:params.offset]}"/>
  51.                             <g:sortableColumn property="appTo" title="App To" titleKey="applicat.appTo" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,offset:params.offset]}"/>
  52.                             <g:sortableColumn property="appState" title="App State" titleKey="applicat.appState" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,offset:params.offset]}"/>
  53.                             <g:sortableColumn property="appDel" title="App appDel" titleKey="applicat.appDel" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,offset:params.offset]}"/>
  54.                             <th> </th>
  55.                         </tr>
  56.                     </thead>
  57.                     <tbody>
  58.                     <g:each in="${applicatList}" status="i" var="applicat">
  59.                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
  60.                             <td><g:link action="show" id="${applicat.id}" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel,max:params.max,sort:params.sort,offset:params.offset,order:params.order]}">${applicat.id?.encodeAsHTML()}</g:link></td>
  61.                             <td>${applicat.appRequestman?.encodeAsHTML()}</td>
  62.                             <td>${applicat.appType?.encodeAsHTML()}</td>
  63.                             <td>${applicat.appFrom?.encodeAsHTML()}</td>
  64.                             <td>${applicat.appTo?.encodeAsHTML()}</td>
  65.                             <td>${applicat.appState?.encodeAsHTML()}</td>
  66.                             <td><g:delState del="${applicat.appDel}"/></td>
  67.                             <td><g:remoteLink  action="showApplicatCheckinfo" id="${applicat.id}" update="place"><g:message code="check" default="Check"/></g:remoteLink> </td>
  68.                         </tr>
  69.                     </g:each>
  70.                     <% index = applicatList.size() %>
  71.                         <g:while test="${index < 10}">
  72.                             <% index++ %>
  73.                             <tr class="${(index % 2) == 1 ? 'odd' : 'even'}">
  74.                                 <td>&nbsp;</td>
  75.                                 <td>&nbsp;</td>
  76.                                 <td>&nbsp;</td>
  77.                                 <td>&nbsp;</td>
  78.                                 <td>&nbsp;</td>
  79.                                 <td>&nbsp;</td>
  80.                                 <td>&nbsp;</td>
  81.                                 <td>&nbsp;</td>
  82.                             </tr>
  83.                         </g:while>
  84.                     </tbody>
  85.                 </table>
  86.   </div>
  87.             <div class="paginateButtons">
  88.                 <g:paginate total="${params.count}" params="${[_Requestman:params._Requestman,_appType_id:params._appType_id,_appState_id:params._appState_id,_appLastchangefrom:params._appLastchangefrom,_appLastchangeto:params._appLastchangeto,_appDel:params._appDel]}"/>
  89.             </div>
  90.         
  91.   </body>
  92. </html>