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

Last change on this file since 706 was 706, checked in by gav, 13 years ago

Implement ticket #88 - "Implement Regulatory Task Completion on Equipmet Register Report OH&S"

File size: 15.6 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:render template="/shared/messages" />
16            <g:hasErrors bean="${appCore}">
17                <div class="errors">
18                    <g:renderErrors bean="${appCore}" as="list" />
19                </div>
20            </g:hasErrors>
21
22            <richui:tabView id="tabView">
23
24                <richui:tabLabels>
25                    <richui:tabLabel selected="true" title="Quick Links" />
26                    <richui:tabLabel selected="${0}" title="Reports" />
27                    <richui:tabLabel selected="${0}" title="Options" />
28                    <richui:tabLabel selected="${0}" title="About" />
29                </richui:tabLabels>
30
31                <richui:tabContents>
32
33<!-- Tasks tab -->
34                    <richui:tabContent>
35                        <br />
36                        <br />
37                        <div class="dialog">
38                            <table>
39                                <tbody>
40
41                                    <tr class="prop">
42                                        <td valign="top" class="name">
43                                            <label>My Tasks:</label>
44                                        </td>
45                                        <td valign="top" class="value">
46                                            <g:link controller="taskDetailed"
47                                                            action="search"
48                                                            params="[quickSearch: 'myTodays']">
49                                                            Today
50                                            </g:link>
51                                        </td>
52                                    </tr>
53           
54                                    <tr class="prop">
55                                        <td valign="top" class="name">
56                                            <label>All Tasks:</label>
57                                        </td>
58                                        <td valign="top" class="value">
59                                            <g:link controller="taskDetailed"
60                                                            action="search"
61                                                            params="[quickSearch: 'pastWeek']">
62                                                            Past Week
63                                            </g:link>
64                                            <br />
65                                            <g:link controller="taskDetailed"
66                                                            action="searchCalendar"
67                                                            params="[quickSearch: 'searchPlannersRange']">
68                                                            Calendar
69                                            </g:link>
70                                        </td>
71                                    </tr>
72
73<!--                                    More Quick Links:
74                                    Open Tasks
75                                    Closed Tasks
76                                    Tasks I lead.
77                                    Week calender
78                                    Recent
79                                    Today's Entries
80                                    My Entries.
81                                    Date ranges-->
82
83                                </tbody>
84                            </table>
85                        </div> <!--End dialog-->
86                    </richui:tabContent>
87<!-- End Tasks tab -->
88
89<!-- Reports tab -->
90                    <richui:tabContent>
91                        <br />
92                        <br />
93                        <div class="dialog">
94                            <table>
95                                <tbody>
96
97                                    <tr class="prop">
98                                        <td valign="top" class="name">
99                                            <label>Frequently Used:</label>
100                                        </td>
101                                        <td valign="top" class="value">
102                                            <g:jasperReport controller="report"
103                                                                            action="reactiveRatio"
104                                                                            jasper="reactiveRatio"
105                                                                            name="Reactive Ratio"
106                                                                            format="PDF, XLS">
107                                                <richui:dateChooser name="startDate" id="reactiveRatio_startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
108                                                to
109                                                <richui:dateChooser name="endDate" id="reactiveRatio_endDate" format="dd-MM-yyyy" value="${new Date()}" />
110                                            </g:jasperReport>
111                                            <br />
112                                            <g:jasperReport controller="report"
113                                                                            action="immediateCallouts"
114                                                                            jasper="immediateCallouts"
115                                                                            name="Immediate Callouts"
116                                                                            format="PDF, XLS">
117                                                <richui:dateChooser name="startDate" id="immediateCallouts_startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
118                                                to
119                                                <richui:dateChooser name="endDate" id="immediateCallouts_endDate" format="dd-MM-yyyy" value="${new Date()}" />
120                                            </g:jasperReport>
121                                            <br />
122                                            <g:jasperReport controller="report"
123                                                                            action="stockTakeOverview"
124                                                                            jasper="stockTakeOverview"
125                                                                            name="Stock Take (Overview)"
126                                                                            format="PDF, XLS">
127                                                <g:helpBalloon class="helpballoon" code="report.stock.take.overview" />
128                                            </g:jasperReport>
129                                            <br />
130                                            <g:jasperReport controller="report"
131                                                                            action="stockTakeByLocation"
132                                                                            jasper="stockTakeByLocation"
133                                                                            name="Stock Take (By Location)"
134                                                                            format="PDF, XLS">
135                                                <g:textField name="locationString" value="e.g: A1%, C55" />
136                                                <g:helpBalloon class="helpballoon" code="report.stock.take.by.location" />
137                                            </g:jasperReport>
138                                            <br />
139                                            <g:jasperReport controller="report"
140                                                                            action="templatePortrait"
141                                                                            jasper="templatePortrait"
142                                                                            name="Template (Portrait)"
143                                                                            format="PDF, XLS">
144                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templatePortrait.jrxml']">
145                                                    Download
146                                                </g:link>
147                                            </g:jasperReport>
148                                            <br />
149                                            <g:jasperReport controller="report"
150                                                                            action="templateLandscape"
151                                                                            jasper="templateLandscape"
152                                                                            name="Template (Landscape)"
153                                                                            format="PDF, XLS">
154                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templateLandscape.jrxml']">
155                                                    Download
156                                                </g:link>
157                                            </g:jasperReport>
158                                            <br />
159                                        </td>
160                                    </tr>
161
162                                    <tr class="prop">
163                                        <td valign="top" class="name">
164                                            <label>Assets:</label>
165                                        </td>
166                                        <td valign="top" class="value">
167                                            <g:link controller="report" action="equipmentRegisterOhsGsp">
168                                                Equipment Register (OH&amp;S)
169                                            </g:link>
170                                            <br />
171                                            <br />
172                                            <g:jasperReport controller="report"
173                                                                            action="equipmentRegisterFinancial"
174                                                                            jasper="equipmentRegisterFinancial"
175                                                                            name="Equipment Register (Financial)"
176                                                                            format="PDF, XLS">
177                                                <g:select optionKey="id"
178                                                                    from="${sections}"
179                                                                    name="section.id">
180                                                </g:select>
181                                            </g:jasperReport>
182                                            <br />
183                                            <g:jasperReport controller="report"
184                                                                            action="assetRegister"
185                                                                            jasper="assetRegister"
186                                                                            name="Asset Register"
187                                                                            format="PDF, XLS">
188                                                <g:select optionKey="id"
189                                                                    from="${sections}"
190                                                                    name="section.id">
191                                                </g:select>
192                                            </g:jasperReport>
193                                            <br />
194                                            <g:jasperReport controller="report"
195                                                                            action="assetDetail"
196                                                                            jasper="assetDetail"
197                                                                            name="Asset Detail"
198                                                                            format="PDF, XLS">
199                                                <g:select optionKey="id"
200                                                                    from="${sections}"
201                                                                    name="section.id"
202                                                                    noSelection="['all':/${g.message(code:'default.all.select.text')}/]">
203                                                </g:select>
204                                            </g:jasperReport>
205                                            <br />
206                                    </tr>
207
208                                    <tr class="prop">
209                                        <td valign="top" class="name">
210                                            <label>Inventory:</label>
211                                        </td>
212                                        <td valign="top" class="value">
213                                                <g:link controller="report" action="inventoryValueOverviewGsp">
214                                                    Total Value (Overview)
215                                                </g:link>
216                                                <br />
217                                                <br />
218                                                <g:link controller="report" action="inventoryValueDetailedGsp">
219                                                    Detailed Value
220                                                </g:link>
221                                        </td>
222                                    </tr>
223
224                                </tbody>
225                            </table>
226                        </div> <!--End dialog-->
227                    </richui:tabContent>
228<!-- End Reports tab  -->
229
230<!-- Options tab -->
231                    <richui:tabContent>
232                        <br />
233                        <br />
234                        <div class="dialog">
235                            <table>
236                                <tbody>
237
238                                    <tr class="prop">
239                                        <td valign="top" class="name">
240                                            <label>Change:</label>
241                                        </td>
242                                        <td valign="top" class="value">
243                                            <a href="${createLink(action:'changePassword')}"> Password</a>
244                                            <br />
245                                            <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a>
246                                        </td>
247                                    </tr>
248
249                                </tbody>
250                            </table>
251                        </div> <!--End dialog-->
252                    </richui:tabContent>
253<!-- End Options tab -->
254
255<!-- About tab -->
256                    <richui:tabContent>
257                        <g:render template="/about" />
258                    </richui:tabContent>
259<!-- End About tab -->
260
261                </richui:tabContents>
262            </richui:tabView>
263
264        </div> <!--End body-->
265    </body>
266</html>
Note: See TracBrowser for help on using the repository browser.