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

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

Add ReportController, TaskReportService and start template reports.

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