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:render template="/shared/messages" /> |
---|
17 | <filterpane:currentCriteria domainBean="TaskProcedure" |
---|
18 | action="list" |
---|
19 | dateFormat="EEE, dd-MMM-yyyy" |
---|
20 | removeImgDir="images" |
---|
21 | removeImgFile="bullet_delete.png" |
---|
22 | title="Search"/> |
---|
23 | |
---|
24 | <div class="paginateButtons"> |
---|
25 | <span class="searchButtons"> |
---|
26 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
27 | </span> |
---|
28 | Results: ${taskProcedureInstanceList.size()} / ${taskProcedureInstanceTotal} |
---|
29 | </div> |
---|
30 | |
---|
31 | |
---|
32 | <g:if test="${taskProcedureInstanceList.size() > 0}"> |
---|
33 | <div class="list"> |
---|
34 | <table> |
---|
35 | <thead> |
---|
36 | <tr> |
---|
37 | |
---|
38 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
39 | <th>Description</th> |
---|
40 | <th>Asset</th> |
---|
41 | |
---|
42 | <th></th> |
---|
43 | |
---|
44 | </tr> |
---|
45 | </thead> |
---|
46 | <tbody> |
---|
47 | <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> |
---|
48 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> |
---|
49 | |
---|
50 | <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
51 | |
---|
52 | <td>${taskProcedureInstance.description.encodeAsHTML()}</td> |
---|
53 | |
---|
54 | <td>${taskProcedureInstance.asset?.encodeAsHTML()}</td> |
---|
55 | |
---|
56 | <td> |
---|
57 | <g:link action="show" id="${taskProcedureInstance.id}"> |
---|
58 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
59 | </g:link> |
---|
60 | </td> |
---|
61 | |
---|
62 | </tr> |
---|
63 | </g:each> |
---|
64 | </tbody> |
---|
65 | </table> |
---|
66 | </div> |
---|
67 | </g:if> |
---|
68 | |
---|
69 | <div class="paginateButtons"> |
---|
70 | <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> |
---|
71 | </div> |
---|
72 | |
---|
73 | <filterpane:filterPane domainBean="TaskProcedure" |
---|
74 | title="Search" |
---|
75 | action="list" |
---|
76 | class="overlayPane" |
---|
77 | additionalProperties="id" |
---|
78 | excludeProperties="" |
---|
79 | associatedProperties="linkedTask.description" /> |
---|
80 | </div> |
---|
81 | </body> |
---|
82 | </html> |
---|