source: trunk/grails-app/views/appCore/start.gsp @ 542

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

Start Immediate Callout report.

File size: 9.0 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>Start</title>
6    <nav:resources override="true"/>
7    <resource:tabView skin="tabviewCustom" />
8    <resource:dateChooser />
9</head>
10    <body>
11        <div class="nav">
12            <nav:renderSubItems group="nav"/>
13        </div>
14        <div class="body">
15            <g:if test="${flash.message}">
16                <div class="message">${flash.message}</div>
17            </g:if>
18            <g:hasErrors bean="${appCore}">
19                <div class="errors">
20                    <g:renderErrors bean="${appCore}" as="list" />
21                </div>
22            </g:hasErrors>
23
24            <richui:tabView id="tabView">
25
26                <richui:tabLabels>
27                    <richui:tabLabel selected="true" title="Quick Links" />
28                    <richui:tabLabel selected="${0}" title="Reports" />
29                    <richui:tabLabel selected="${0}" title="Options" />
30                    <richui:tabLabel selected="${0}" title="About" />
31                </richui:tabLabels>
32
33                <richui:tabContents>
34
35<!-- Tasks tab -->
36                    <richui:tabContent>
37                        <br />
38                        <br />
39                        <div class="dialog">
40                            <table>
41                                <tbody>
42
43                                    <tr class="prop">
44                                        <td valign="top" class="name">
45                                            <label>My Tasks:</label>
46                                        </td>
47                                        <td valign="top" class="value">
48                                            <g:link controller="taskDetailed"
49                                                            action="search"
50                                                            params="[quickSearch: 'myTodays']">
51                                                            Today
52                                            </g:link>
53                                        </td>
54                                    </tr>
55           
56                                    <tr class="prop">
57                                        <td valign="top" class="name">
58                                            <label>All Tasks:</label>
59                                        </td>
60                                        <td valign="top" class="value">
61                                            <g:link controller="taskDetailed"
62                                                            action="search"
63                                                            params="[quickSearch: 'pastWeek']">
64                                                            Past Week
65                                            </g:link>
66                                            <br />
67                                            <g:link controller="taskDetailed"
68                                                            action="searchCalendar"
69                                                            params="[quickSearch: 'searchPlannersRange']">
70                                                            Calendar
71                                            </g:link>
72                                        </td>
73                                    </tr>
74
75<!--                                    More Quick Links:
76                                    Open Tasks
77                                    Closed Tasks
78                                    Tasks I lead.
79                                    Week calender
80                                    Recent
81                                    Today's Entries
82                                    My Entries.
83                                    Date ranges-->
84
85                                </tbody>
86                            </table>
87                        </div> <!--End dialog-->
88                    </richui:tabContent>
89<!-- End Tasks tab -->
90
91<!-- Reports tab -->
92                    <richui:tabContent>
93                        <br />
94                        <br />
95                        <div class="dialog">
96                            <table>
97                                <tbody>
98
99                                    <tr class="prop">
100                                        <td valign="top" class="name">
101                                            <label>Frequently Used:</label>
102                                        </td>
103                                        <td valign="top" class="value">
104                                            <g:jasperReport controller="report"
105                                                                            action="reactiveRatio"
106                                                                            jasper="reactiveRatio"
107                                                                            name="Reactive Ratio"
108                                                                            format="PDF, XLS">
109                                                <richui:dateChooser name="startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
110                                                to
111                                                <richui:dateChooser name="endDate" format="dd-MM-yyyy" value="${new Date()}" />
112                                            </g:jasperReport>
113                                            <br />
114                                            <g:jasperReport controller="report"
115                                                                            action="immediateCallouts"
116                                                                            jasper="immediateCallouts"
117                                                                            name="Immediate Callouts"
118                                                                            format="PDF, XLS">
119                                                <richui:dateChooser name="startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
120                                                to
121                                                <richui:dateChooser name="endDate" format="dd-MM-yyyy" value="${new Date()}" />
122                                            </g:jasperReport>
123                                            <br />
124                                            <g:jasperReport controller="report"
125                                                                            action="templatePortrait"
126                                                                            jasper="templatePortrait"
127                                                                            name="Template (Portrait)"
128                                                                            format="PDF, XLS"/>
129                                            <br />
130                                            <g:jasperReport controller="report"
131                                                                            action="templateLandscape"
132                                                                            jasper="templateLandscape"
133                                                                            name="Template (Landscape)"
134                                                                            format="PDF, XLS"/>
135                                            <br />
136                                        </td>
137                                    </tr>
138
139                                </tbody>
140                            </table>
141                        </div> <!--End dialog-->
142                    </richui:tabContent>
143<!-- End Reports tab  -->
144
145<!-- Options tab -->
146                    <richui:tabContent>
147                        <br />
148                        <br />
149                        <div class="dialog">
150                            <table>
151                                <tbody>
152
153                                    <tr class="prop">
154                                        <td valign="top" class="name">
155                                            <label>Change:</label>
156                                        </td>
157                                        <td valign="top" class="value">
158                                            <a href="${createLink(action:'changePassword')}"> Password</a>
159                                            <br />
160                                            <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a>
161                                        </td>
162                                    </tr>
163
164                                </tbody>
165                            </table>
166                        </div> <!--End dialog-->
167                    </richui:tabContent>
168<!-- End Options tab -->
169
170<!-- About tab -->
171                    <richui:tabContent>
172                        <g:render template="/about" />
173                    </richui:tabContent>
174<!-- End About tab -->
175
176                </richui:tabContents>
177            </richui:tabView>
178
179        </div> <!--End body-->
180    </body>
181</html>
Note: See TracBrowser for help on using the repository browser.