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

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

Add regulatoryRequirements report.

File size: 16.0 KB
RevLine 
[139]1<html>
2<head>
[155]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" />
[535]8    <resource:dateChooser />
[139]9</head>
10    <body>
11        <div class="nav">
12            <nav:renderSubItems group="nav"/>
13        </div>
14        <div class="body">
[548]15            <g:render template="/shared/messages" />
[139]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>
[707]25                    <richui:tabLabel selected="${showTab.quickLinks}" title="Quick Links" />
26                    <richui:tabLabel selected="${showTab.reports}" title="Reports" />
27                    <richui:tabLabel selected="${showTab.Options}" title="Options" />
28                    <richui:tabLabel selected="${showTab.about}" title="About" />
[139]29                </richui:tabLabels>
30
31                <richui:tabContents>
32
33<!-- Tasks tab -->
34                    <richui:tabContent>
35                        <br />
36                        <br />
[140]37                        <div class="dialog">
38                            <table>
39                                <tbody>
[155]40
[140]41                                    <tr class="prop">
42                                        <td valign="top" class="name">
43                                            <label>My Tasks:</label>
44                                        </td>
45                                        <td valign="top" class="value">
[155]46                                            <g:link controller="taskDetailed"
[143]47                                                            action="search"
[476]48                                                            params="[quickSearch: 'myTodays']">
49                                                            Today
[140]50                                            </g:link>
51                                        </td>
52                                    </tr>
[155]53           
[140]54                                    <tr class="prop">
55                                        <td valign="top" class="name">
[476]56                                            <label>All Tasks:</label>
[140]57                                        </td>
58                                        <td valign="top" class="value">
59                                            <g:link controller="taskDetailed"
[476]60                                                            action="search"
61                                                            params="[quickSearch: 'pastWeek']">
62                                                            Past Week
63                                            </g:link>
64                                            <br />
65                                            <g:link controller="taskDetailed"
[155]66                                                            action="searchCalendar"
[476]67                                                            params="[quickSearch: 'searchPlannersRange']">
[155]68                                                            Calendar
[140]69                                            </g:link>
70                                        </td>
71                                    </tr>
[155]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
[140]83                                </tbody>
84                            </table>
[155]85                        </div> <!--End dialog-->
[139]86                    </richui:tabContent>
87<!-- End Tasks tab -->
88
89<!-- Reports tab -->
90                    <richui:tabContent>
91                        <br />
92                        <br />
[147]93                        <div class="dialog">
94                            <table>
95                                <tbody>
96
97                                    <tr class="prop">
98                                        <td valign="top" class="name">
[535]99                                            <label>Frequently Used:</label>
[147]100                                        </td>
[533]101                                        <td valign="top" class="value">
102                                            <g:jasperReport controller="report"
103                                                                            action="reactiveRatio"
104                                                                            jasper="reactiveRatio"
105                                                                            name="Reactive Ratio"
[535]106                                                                            format="PDF, XLS">
[544]107                                                <richui:dateChooser name="startDate" id="reactiveRatio_startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
[535]108                                                to
[544]109                                                <richui:dateChooser name="endDate" id="reactiveRatio_endDate" format="dd-MM-yyyy" value="${new Date()}" />
[535]110                                            </g:jasperReport>
[147]111                                            <br />
[533]112                                            <g:jasperReport controller="report"
[542]113                                                                            action="immediateCallouts"
114                                                                            jasper="immediateCallouts"
115                                                                            name="Immediate Callouts"
116                                                                            format="PDF, XLS">
[544]117                                                <richui:dateChooser name="startDate" id="immediateCallouts_startDate" format="dd-MM-yyyy" value="${new Date()-7}" />
[542]118                                                to
[544]119                                                <richui:dateChooser name="endDate" id="immediateCallouts_endDate" format="dd-MM-yyyy" value="${new Date()}" />
[542]120                                            </g:jasperReport>
121                                            <br />
122                                            <g:jasperReport controller="report"
[546]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"
[706]140                                                                            action="templatePortrait"
141                                                                            jasper="templatePortrait"
142                                                                            name="Template (Portrait)"
[652]143                                                                            format="PDF, XLS">
[706]144                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templatePortrait.jrxml']">
145                                                    Download
146                                                </g:link>
[652]147                                            </g:jasperReport>
[654]148                                            <br />
[652]149                                            <g:jasperReport controller="report"
[706]150                                                                            action="templateLandscape"
151                                                                            jasper="templateLandscape"
152                                                                            name="Template (Landscape)"
[652]153                                                                            format="PDF, XLS">
[706]154                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templateLandscape.jrxml']">
155                                                    Download
156                                                </g:link>
[652]157                                            </g:jasperReport>
158                                            <br />
[706]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 />
[740]172                                            <g:link controller="report" action="regulatoryRequirementsGsp">
173                                                Regulatory Requirements
174                                            </g:link>
175                                            <br />
176                                            <br />
[652]177                                            <g:jasperReport controller="report"
[706]178                                                                            action="equipmentRegisterFinancial"
179                                                                            jasper="equipmentRegisterFinancial"
180                                                                            name="Equipment Register (Financial)"
[654]181                                                                            format="PDF, XLS">
182                                                <g:select optionKey="id"
[687]183                                                                    from="${sections}"
[679]184                                                                    name="section.id">
[654]185                                                </g:select>
186                                            </g:jasperReport>
187                                            <br />
188                                            <g:jasperReport controller="report"
[706]189                                                                            action="assetRegister"
190                                                                            jasper="assetRegister"
191                                                                            name="Asset Register"
[696]192                                                                            format="PDF, XLS">
193                                                <g:select optionKey="id"
194                                                                    from="${sections}"
195                                                                    name="section.id">
196                                                </g:select>
197                                            </g:jasperReport>
198                                            <br />
199                                            <g:jasperReport controller="report"
[706]200                                                                            action="assetDetail"
201                                                                            jasper="assetDetail"
202                                                                            name="Asset Detail"
[546]203                                                                            format="PDF, XLS">
[706]204                                                <g:select optionKey="id"
205                                                                    from="${sections}"
206                                                                    name="section.id"
207                                                                    noSelection="['all':/${g.message(code:'default.all.select.text')}/]">
208                                                </g:select>
[546]209                                            </g:jasperReport>
[533]210                                            <br />
[147]211                                    </tr>
212
[668]213                                    <tr class="prop">
214                                        <td valign="top" class="name">
215                                            <label>Inventory:</label>
216                                        </td>
217                                        <td valign="top" class="value">
[676]218                                                <g:link controller="report" action="inventoryValueOverviewGsp">
219                                                    Total Value (Overview)
220                                                </g:link>
221                                                <br />
222                                                <br />
[671]223                                                <g:link controller="report" action="inventoryValueDetailedGsp">
224                                                    Detailed Value
[668]225                                                </g:link>
226                                        </td>
227                                    </tr>
228
[147]229                                </tbody>
230                            </table>
231                        </div> <!--End dialog-->
[139]232                    </richui:tabContent>
233<!-- End Reports tab  -->
234
235<!-- Options tab -->
236                    <richui:tabContent>
237                        <br />
238                        <br />
[147]239                        <div class="dialog">
240                            <table>
241                                <tbody>
242
243                                    <tr class="prop">
244                                        <td valign="top" class="name">
245                                            <label>Change:</label>
246                                        </td>
247                                        <td valign="top" class="value">
248                                            <a href="${createLink(action:'changePassword')}"> Password</a>
249                                            <br />
250                                            <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a>
251                                        </td>
252                                    </tr>
253
254                                </tbody>
255                            </table>
256                        </div> <!--End dialog-->
[139]257                    </richui:tabContent>
258<!-- End Options tab -->
259
260<!-- About tab -->
261                    <richui:tabContent>
262                        <g:render template="/about" />
263                    </richui:tabContent>
264<!-- End About tab -->
265
266                </richui:tabContents>
267            </richui:tabView>
[155]268
269        </div> <!--End body-->
[139]270    </body>
271</html>
Note: See TracBrowser for help on using the repository browser.