source: trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp @ 199

Last change on this file since 199 was 199, checked in by gav, 14 years ago

Upgrade quartz plugin to 0.4.1 propper.
Refactor and enable quartz scheduling for recurring tasks.
Adjust svn ignores to ignore all log files.
Create a pseudo system person for automated insertions.

File size: 3.0 KB
Line 
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>TaskRecurringSchedule List</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span>
12        </div>
13        <div class="body">
14            <h1>TaskRecurringSchedule List</h1>
15            <g:if test="${flash.message}">
16            <div class="message">${flash.message}</div>
17            </g:if>
18            <div class="list">
19                <table>
20                    <thead>
21                        <tr>
22                       
23                                <g:sortableColumn property="id" title="Id" />
24                       
25                                <g:sortableColumn property="taskId" title="Recurring Schedule for Task" />
26                       
27                                <g:sortableColumn property="recurEvery" title="Recur Every" />
28                               
29                                <g:sortableColumn property="recurPeriod" title="Recur Period" />
30                               
31                                <g:sortableColumn property="enabled" title="Enabled" />
32
33                            <th></th>
34                           
35                        </tr>
36                    </thead>
37                    <tbody>
38                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>
40
41                       
42                            <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
43                       
44                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
45                       
46                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
47                       
48                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
49                       
50                            <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td>
51
52                            <td>
53                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
54                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
55                                </g:link>
56                            </td>
57                       
58                        </tr>
59                    </g:each>
60                    </tbody>
61                </table>
62            </div>
63            <div class="paginateButtons">
64                <g:paginate total="${taskRecurringScheduleInstanceTotal}" />
65            </div>
66        </div>
67    </body>
68</html>
Note: See TracBrowser for help on using the repository browser.