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>InventoryItem Search</title> |
---|
8 | <nav:resources override="true"/> |
---|
9 | <filterpane:includes /> |
---|
10 | </head> |
---|
11 | <body> |
---|
12 | <div class="nav"> |
---|
13 | <nav:renderSubItems group="nav"/> |
---|
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="InventoryItem" |
---|
20 | action="search" |
---|
21 | dateFormat="${'EEE, dd-MMM-yyyy'}" |
---|
22 | removeImgDir="images" |
---|
23 | removeImgFile="bullet_delete.png" |
---|
24 | title="Search"/> |
---|
25 | |
---|
26 | <div class="paginateButtons"> |
---|
27 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
28 | Results:${inventoryItemInstanceTotal} |
---|
29 | </div> |
---|
30 | |
---|
31 | <div class="list"> |
---|
32 | <table> |
---|
33 | <thead> |
---|
34 | <tr> |
---|
35 | |
---|
36 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
37 | |
---|
38 | <g:sortableColumn property="name" title="Name" params="${filterParams}" /> |
---|
39 | |
---|
40 | <g:sortableColumn property="description" title="Description" params="${filterParams}" /> |
---|
41 | |
---|
42 | <g:sortableColumn property="enableReorder" title="Enable Reorder" params="${filterParams}" /> |
---|
43 | |
---|
44 | <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> |
---|
45 | |
---|
46 | <th></th> |
---|
47 | |
---|
48 | </tr> |
---|
49 | </thead> |
---|
50 | <tbody> |
---|
51 | <g:each in="${inventoryItemInstanceList}" status="i" var="inventoryItemInstance"> |
---|
52 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryItemDetailed/show/${inventoryItemInstance.id}"'/> |
---|
53 | |
---|
54 | <td>${fieldValue(bean:inventoryItemInstance, field:'id')}</td> |
---|
55 | |
---|
56 | <td>${fieldValue(bean:inventoryItemInstance, field:'name')}</td> |
---|
57 | |
---|
58 | <td>${fieldValue(bean:inventoryItemInstance, field:'description')}</td> |
---|
59 | |
---|
60 | <td>${fieldValue(bean:inventoryItemInstance, field:'enableReorder')}</td> |
---|
61 | |
---|
62 | <td>${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td> |
---|
63 | |
---|
64 | <td> |
---|
65 | <g:link action="show" id="${inventoryItemInstance.id}"> |
---|
66 | <img src="${resource(dir:'images/skin',file:'database_table.png')}" alt="Show" /> |
---|
67 | </g:link> |
---|
68 | </td> |
---|
69 | |
---|
70 | </tr> |
---|
71 | </g:each> |
---|
72 | </tbody> |
---|
73 | </table> |
---|
74 | </div> |
---|
75 | <div class="paginateButtons"> |
---|
76 | <g:paginate total="${inventoryItemInstanceTotal}" params="${filterParams}" /> |
---|
77 | </div> |
---|
78 | |
---|
79 | <filterpane:filterPane domainBean="InventoryItem" |
---|
80 | title="Search" |
---|
81 | action="search" |
---|
82 | class="overlayPane" |
---|
83 | excludeProperties="" /> |
---|
84 | </div> <!-- end body div --> |
---|
85 | </body> |
---|
86 | </html> |
---|