source: trunk/grails-app/views/taskDetailed/list.gsp @ 141

Last change on this file since 141 was 139, checked in by gav, 15 years ago

Install Navigation plugin, work on navigation and hopefully fixed a few more IE vs Firefox CSS issues.
New skin for class-diagram plugin.
Adjust security config to suite.
Replace home.gsp with start.gsp, remove options.gsp and acknowledgements.gsp as they are now on start.gsp tabs.
Create search pages for Tasks, Assets and Inventory.
Change suggested login to manager.
Change all date formats to format="EEE, dd-MMM-yyyy".

File size: 2.7 KB
Line 
1<html>
2    <head>
3        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4        <meta name="layout" content="main" />
5        <title>Task List</title>
6        <nav:resources override="true"/>
7    </head>
8    <body>
9        <div class="nav">
10            <nav:renderSubItems group="nav"/>
11        </div>
12        <div class="body">
13            <g:if test="${flash.message}">
14                <div class="message">${flash.message}</div>
15            </g:if>
16            <div class="list">
17                <table>
18                    <thead>
19                        <tr>
20
21                            <g:sortableColumn defaultOrder="desc" property="id" title="Id"  />
22
23                            <g:sortableColumn property="targetStartDate" title="Target Start Date" />
24
25                            <g:sortableColumn property="description" title="Description" />
26
27                            <g:sortableColumn  property="leadPerson" title="Lead Person" />
28
29                            <g:sortableColumn  property="taskPriority" title="Task Priority" />
30
31                            <g:sortableColumn  property="taskStatus" title="Task Status" />
32
33                            <th></th>
34
35                        </tr>
36                    </thead>
37                    <tbody>
38                    <g:each in="${taskInstanceList}" status="i" var="taskInstance">
39                    <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/>
40
41                            <td>${fieldValue(bean:taskInstance, field:'id')}</td>
42
43                            <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>
44
45                            <td>${fieldValue(bean:taskInstance, field:'description')}</td>
46
47                            <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td>
48
49                            <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td>
50
51                            <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td>
52
53                            <td>
54                                <g:link action="show" id="${taskInstance.id}">
55                                    <img  src="${createLinkTo(dir:'images/skin',file:'database_go.png')}" alt="Show" />
56                                </g:link>
57                            </td>
58
59                        </tr>
60                    </g:each>
61                    </tbody>
62                </table>
63            </div>
64            <div class="paginateButtons">
65                <g:paginate total="${taskInstanceTotal}" />
66            </div>
67        </div>
68    </body>
69</html>
Note: See TracBrowser for help on using the repository browser.