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

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

Rename Inventory Value report to Inventory Detailed Value.

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