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

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

New report "Equipment Register (Financial)".

File size: 15.8 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>
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 />
[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"
[652]140                                                                            action="assetDetail"
141                                                                            jasper="assetDetail"
142                                                                            name="Asset Detail"
143                                                                            format="PDF, XLS">
144                                                <g:select optionKey="id"
[687]145                                                                    from="${sections}"
146                                                                    name="section.id"
[652]147                                                                    noSelection="['all':/${g.message(code:'default.all.select.text')}/]">
148                                                </g:select>
149                                            </g:jasperReport>
[654]150                                            <br />
[652]151                                            <g:jasperReport controller="report"
152                                                                            action="assetRegister"
153                                                                            jasper="assetRegister"
154                                                                            name="Asset Register"
155                                                                            format="PDF, XLS">
156                                                <g:select optionKey="id"
[687]157                                                                    from="${sections}"
[681]158                                                                    name="section.id">
[652]159                                                </g:select>
160                                            </g:jasperReport>
161                                            <br />
162                                            <g:jasperReport controller="report"
[695]163                                                                            action="equipmentRegisterOhs"
164                                                                            jasper="equipmentRegisterOhs"
165                                                                            name="Equipment Register (OH&amp;S)"
[654]166                                                                            format="PDF, XLS">
167                                                <g:select optionKey="id"
[687]168                                                                    from="${sections}"
[679]169                                                                    name="section.id">
[654]170                                                </g:select>
171                                            </g:jasperReport>
172                                            <br />
173                                            <g:jasperReport controller="report"
[696]174                                                                            action="equipmentRegisterFinancial"
175                                                                            jasper="equipmentRegisterFinancial"
176                                                                            name="Equipment Register (Financial)"
177                                                                            format="PDF, XLS">
178                                                <g:select optionKey="id"
179                                                                    from="${sections}"
180                                                                    name="section.id">
181                                                </g:select>
182                                            </g:jasperReport>
183                                            <br />
184                                            <g:jasperReport controller="report"
[533]185                                                                            action="templatePortrait"
186                                                                            jasper="templatePortrait"
187                                                                            name="Template (Portrait)"
[546]188                                                                            format="PDF, XLS">
189                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templatePortrait.jrxml']">
190                                                    Download
191                                                </g:link>
192                                            </g:jasperReport>
[533]193                                            <br />
194                                            <g:jasperReport controller="report"
195                                                                            action="templateLandscape"
196                                                                            jasper="templateLandscape"
197                                                                            name="Template (Landscape)"
[546]198                                                                            format="PDF, XLS">
199                                                <g:link controller="report" action="downloadTemplate" params="[fileName: 'templateLandscape.jrxml']">
200                                                    Download
201                                                </g:link>
202                                            </g:jasperReport>
[533]203                                            <br />
204                                        </td>
[147]205                                    </tr>
206
[668]207                                    <tr class="prop">
208                                        <td valign="top" class="name">
209                                            <label>Inventory:</label>
210                                        </td>
211                                        <td valign="top" class="value">
[676]212                                                <g:link controller="report" action="inventoryValueOverviewGsp">
213                                                    Total Value (Overview)
214                                                </g:link>
215                                                <br />
216                                                <br />
[671]217                                                <g:link controller="report" action="inventoryValueDetailedGsp">
218                                                    Detailed Value
[668]219                                                </g:link>
220                                        </td>
221                                    </tr>
222
[147]223                                </tbody>
224                            </table>
225                        </div> <!--End dialog-->
[139]226                    </richui:tabContent>
227<!-- End Reports tab  -->
228
229<!-- Options tab -->
230                    <richui:tabContent>
231                        <br />
232                        <br />
[147]233                        <div class="dialog">
234                            <table>
235                                <tbody>
236
237                                    <tr class="prop">
238                                        <td valign="top" class="name">
239                                            <label>Change:</label>
240                                        </td>
241                                        <td valign="top" class="value">
242                                            <a href="${createLink(action:'changePassword')}"> Password</a>
243                                            <br />
244                                            <a href="${createLink(action:'changeSessionTimeout')}">Session Timeout</a>
245                                        </td>
246                                    </tr>
247
248                                </tbody>
249                            </table>
250                        </div> <!--End dialog-->
[139]251                    </richui:tabContent>
252<!-- End Options tab -->
253
254<!-- About tab -->
255                    <richui:tabContent>
256                        <g:render template="/about" />
257                    </richui:tabContent>
258<!-- End About tab -->
259
260                </richui:tabContents>
261            </richui:tabView>
[155]262
263        </div> <!--End body-->
[139]264    </body>
265</html>
Note: See TracBrowser for help on using the repository browser.