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

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

Improvements to Reactive Ratio Report.

File size: 8.1 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="templatePortrait"
116                                                                            jasper="templatePortrait"
117                                                                            name="Template (Portrait)"
118                                                                            format="PDF, XLS"/>
119                                            <br />
120                                            <g:jasperReport controller="report"
121                                                                            action="templateLandscape"
122                                                                            jasper="templateLandscape"
123                                                                            name="Template (Landscape)"
124                                                                            format="PDF, XLS"/>
125                                            <br />
126                                        </td>
127                                    </tr>
128
129                                </tbody>
130                            </table>
131                        </div> <!--End dialog-->
132                    </richui:tabContent>
133<!-- End Reports tab  -->
134
135<!-- Options tab -->
136                    <richui:tabContent>
137                        <br />
138                        <br />
139                        <div class="dialog">
140                            <table>
141                                <tbody>
142
143                                    <tr class="prop">
144                                        <td valign="top" class="name">
145                                            <label>Change:</label>
146                                        </td>
147                                        <td valign="top" class="value">
148                                            <a href="${createLink(action:'changePassword')}"> Password</a>
149                                            <br />
150                                            <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a>
151                                        </td>
152                                    </tr>
153
154                                </tbody>
155                            </table>
156                        </div> <!--End dialog-->
157                    </richui:tabContent>
158<!-- End Options tab -->
159
160<!-- About tab -->
161                    <richui:tabContent>
162                        <g:render template="/about" />
163                    </richui:tabContent>
164<!-- End About tab -->
165
166                </richui:tabContents>
167            </richui:tabView>
168
169        </div> <!--End body-->
170    </body>
171</html>
Note: See TracBrowser for help on using the repository browser.