1 | |
---|
2 | |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
6 | <meta name="layout" content="main" /> |
---|
7 | <title>TaskProcedure List</title> |
---|
8 | <filterpane:includes /> |
---|
9 | <nav:resources override="true"/> |
---|
10 | </head> |
---|
11 | <body> |
---|
12 | <div class="nav"> |
---|
13 | <nav:renderSubItems group="navAlt"/> |
---|
14 | </div> |
---|
15 | <div class="body"> |
---|
16 | <g:if test="${flash.message}"> |
---|
17 | <div class="message">${flash.message}</div> |
---|
18 | </g:if> |
---|
19 | <filterpane:currentCriteria domainBean="TaskProcedure" |
---|
20 | action="list" |
---|
21 | dateFormat="EEE, dd-MMM-yyyy" |
---|
22 | removeImgDir="images" |
---|
23 | removeImgFile="bullet_delete.png" |
---|
24 | title="Search"/> |
---|
25 | |
---|
26 | <div class="paginateButtons"> |
---|
27 | <span class="searchButtons"> |
---|
28 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
29 | </span> |
---|
30 | Results: ${taskProcedureInstanceList.size()} / ${taskProcedureInstanceTotal} |
---|
31 | </div> |
---|
32 | |
---|
33 | |
---|
34 | <g:if test="${taskProcedureInstanceList.size() > 0}"> |
---|
35 | <div class="list"> |
---|
36 | <table> |
---|
37 | <thead> |
---|
38 | <tr> |
---|
39 | |
---|
40 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
41 | <th>Description</th> |
---|
42 | <th>Asset</th> |
---|
43 | |
---|
44 | <th></th> |
---|
45 | |
---|
46 | </tr> |
---|
47 | </thead> |
---|
48 | <tbody> |
---|
49 | <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> |
---|
50 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> |
---|
51 | |
---|
52 | <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
53 | |
---|
54 | <td>${taskProcedureInstance.description.encodeAsHTML()}</td> |
---|
55 | |
---|
56 | <td>${taskProcedureInstance.asset?.encodeAsHTML()}</td> |
---|
57 | |
---|
58 | <td> |
---|
59 | <g:link action="show" id="${taskProcedureInstance.id}"> |
---|
60 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
61 | </g:link> |
---|
62 | </td> |
---|
63 | |
---|
64 | </tr> |
---|
65 | </g:each> |
---|
66 | </tbody> |
---|
67 | </table> |
---|
68 | </div> |
---|
69 | </g:if> |
---|
70 | |
---|
71 | <div class="paginateButtons"> |
---|
72 | <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> |
---|
73 | </div> |
---|
74 | |
---|
75 | <filterpane:filterPane domainBean="TaskProcedure" |
---|
76 | title="Search" |
---|
77 | action="list" |
---|
78 | class="overlayPane" |
---|
79 | additionalProperties="id" |
---|
80 | excludeProperties="" |
---|
81 | associatedProperties="linkedTask.description" /> |
---|
82 | </div> |
---|
83 | </body> |
---|
84 | </html> |
---|