]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxCalDayOverview.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1004 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / SchedulerUI / UIxCalDayOverview.wox
1 <?xml version="1.0" standalone="yes"?>
2 <var:component xmlns="http://www.w3.org/1999/xhtml"
3                xmlns:var="http://www.skyrix.com/od/binding"
4                xmlns:const="http://www.skyrix.com/od/constant"
5                xmlns:rsrc="OGo:url"
6                xmlns:label="OGo:label"
7                className="UIxPageFrame"
8                title="name"
9 >
10
11   <table id="skywintable" class="wintable" cellspacing="0" cellpadding="5" width="100%">
12     <tr>
13         <td class="window_label">
14           <var:component className="UIxCalDateLabel"
15             startDate="startDate"
16             endDate="endDate"
17             const:selection="day"
18             />
19         </td>
20     </tr>
21     <tr>
22       <td id="skywinbodycell" class="wincontent">
23         <table border="0" cellpadding="0" cellspacing="0" width="100%">
24           <tr bgcolor="#e8e8e0">
25             <td align="left"  >
26               <var:component className="UIxCalBackForthNavView"
27                              methodName="ownMethodName"
28                              prevQueryParameters="prevDayQueryParameters"
29                              currentQueryParameters="todayQueryParameters"
30                              nextQueryParameters="nextDayQueryParameters"
31                              label:label="today"
32               />
33             </td>
34             <td align="right" valign="middle" width="80%">
35                 <var:component className="UIxContactSelector"
36                   const:selectorId="uids" />
37             </td>
38           </tr>
39         </table>
40       </td>
41     </tr>
42     <tr>
43       <td id="skywinbodycell" class="wincontent">
44         <table border="0" width="100%" cellpadding="0" cellspacing="0">
45           <tr>
46             <td colspan="2">
47     <var:component className="UIxCalSelectTab"
48       const:selection="day"
49       currentDate="selectedDate"
50       >
51
52                 <table border="0" cellpadding="4" width="100%" cellspacing="2">
53                   <tr>
54                     <td width="1%" align="left" valign="middle" bgcolor="#e8e8e0">
55                       <table border='0' cellpadding='0' cellspacing='0'>
56                         <tr>
57                           <td><img rsrc:src="icon_view_overview_inactive.gif"
58                                    label:title="Overview"
59                                    label:alt="Overview"
60                                    border="0"
61                                    valign="top"
62                               /></td>
63                           <td><a href="daychartview"
64                                  var:queryDictionary="queryParameters"
65                               ><img rsrc:src="icon_view_chart.gif"
66                                     label:title="Chart"
67                                     label:alt="Chart"
68                                     border="0"
69                                     valign="top"
70                                /></a></td>
71                           <td><a href="daylistview"
72                                  var:queryDictionary="queryParameters"
73                               ><img rsrc:src="icon_view_list.gif"
74                                     label:title="List"
75                                     label:alt="List"
76                                     border="0"
77                                     valign="top"
78                                /></a></td>
79                         </tr>
80                       </table>
81                     </td>
82                     <td align="left" bgcolor="#e8e8e0" class="button_auto_env">
83                       <a var:href="ownMethodName"
84                          class="button_auto"
85                          var:queryDictionary="toggleShowRejectedAptsQueryParameters"
86                          label:string="$toggleShowRejectedAptsLabel"
87                       />
88                     </td>
89                     <td align="right" bgcolor="#e8e8e0">
90                       <table border="0" cellpadding="0" cellspacing="1">
91                         <tr>
92                           <td class="button_auto_env" nowrap="true" valign="middle" align="center">
93                             <!--<a class="button_auto"
94                                href="dayprintview"
95                                var:queryDictionary="queryParameters"
96                                target="SOGoPrintView"
97                             ><var:string label:value="printview"/></a>-->
98                           </td>
99                           <td class="button_auto_env" nowrap="true" valign="middle" align="center">
100                             <a class="button_auto"
101                                href="proposal"
102                                var:queryDictionary="queryParameters"
103                             ><var:string label:value="proposal"/></a>
104                           </td>
105                         </tr>
106                       </table>
107                     </td>
108                   </tr>
109                 </table>
110                 <table width="100%">
111                   <tr valign="top">
112                     <td>
113                       <table>
114                         <tr>
115                           <td>
116                              <var:component className="UIxCalInlineMonthOverview"
117                                             selectedDate="thisMonth"
118                                             const:showYear="1"
119                                             const:daySelectionHref="dayoverview"
120                                             const:showWeekColumn="0"
121                                             const:style="dayoverview_cal"
122                                             const:headerStyle="dayoverview_cal_title"
123                                             const:dayHeaderStyle="dayoverview_cal_day_header"
124                                             const:dayBodyStyle="dayoverview_cal_content"
125                                             const:todayBodyStyle="dayoverview_cal_content_hilite"
126                                             const:selectedDayExtraStyle="dayoverview_cal_content_selected"
127                                             const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
128                              />
129                           </td>
130                         </tr>
131                         <tr>
132                           <td>
133                              <var:component className="UIxCalInlineMonthOverview"
134                                             selectedDate="nextMonth"
135                                             const:showYear="1"
136                                             const:daySelectionHref="dayoverview"
137                                             const:showWeekColumn="0"
138                                             const:style="dayoverview_cal"
139                                             const:headerStyle="dayoverview_cal_title"
140                                             const:dayHeaderStyle="dayoverview_cal_day_header"
141                                             const:dayBodyStyle="dayoverview_cal_content"
142                                             const:todayBodyStyle="dayoverview_cal_content_hilite"
143                                             const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
144                              />
145                           </td>
146                         </tr>
147                       </table>
148                     </td>
149                     <td width="100%">
150                       <table class="dayoverview_content" width="100%">
151                         <var:if condition="hasHolidayInfo">
152                           <tr>
153                             <td class="dayoverview_content_time" colspan="2">
154                               <b><var:string value="holidayInfo.title" /></b>
155                             </td>
156                           </tr>
157                         </var:if>
158                         <var:foreach list="allDayApts" item="appointment">
159                           <tr>
160                             <td class="dayoverview_content_time">
161                               <var:entity name="nbsp" />
162                             </td>
163                             <td class="dayoverview_content_apts" width="90%">
164                               <var:foreach list="allDayApts" item="appointment">
165                                 <var:component className="UIxCalInlineAptView"
166                                                appointment="appointment"
167                                                formatter="aptFormatter"
168                                                tooltipFormatter="aptTooltipFormatter"
169                                                url="appointmentViewURL"
170                                                const:style="dayoverview"
171                                                queryDictionary="currentDateQueryParameters"
172                                                referenceDate="selectedDate"
173                                                canAccess="canAccessApt"
174                                 />
175                                 <br />
176                               </var:foreach>
177                             </td>
178                           </tr>
179                         </var:foreach>
180                         <var:foreach list="dateRange" item="currentDate">
181                           <tr>
182                             <td class="dayoverview_content_time">
183                               <var:string value="currentDate"
184                                           const:dateformat="%H:%M"
185                               />
186                               <br />
187                               <span class="dayoverview_content_time_link">
188                                 [<a href="new"
189                                     onclick="return newEvent(this);"
190                                     var:day="currentDayQueryParameters.day"
191                                     var:queryDictionary="currentDateQueryParameters"
192                                  ><var:string label:value="new" /></a>]
193                               </span>
194                             </td>
195                             <td class="dayoverview_content_apts" width="90%">
196                               <var:foreach list="aptsForCurrentDate"
197                                            item="appointment"
198                               >
199                                 <var:component className="UIxCalInlineAptView"
200                                                appointment="appointment"
201                                                formatter="aptFormatter"
202                                                tooltipFormatter="aptTooltipFormatter"
203                                                url="appointmentViewURL"
204                                                const:style="dayoverview"
205                                                queryDictionary="currentDayQueryParameters"
206                                                referenceDate="currentDate"
207                                                canAccess="canAccessApt"
208                                 />
209                                 <br />
210                               </var:foreach>
211                             </td>
212                           </tr>
213                         </var:foreach>
214                       </table>
215                     </td>
216                   </tr>
217                 </table>
218               </var:component>
219             </td>
220           </tr>
221           <tr bgcolor="#F5F5E9">
222             <td align="left" width="10">
223               <var:entity const:name="nbsp"/>
224             </td>
225             <td align="right">
226               <img border="0"
227                    alt=""
228                    rsrc:src="corner_right.gif"
229               />
230             </td>
231           </tr>
232           <tr>
233             <td colspan="2" bgcolor="#F5F5E9">
234               <table border="0" width="100%" cellpadding="10" cellspacing="0">
235                 <tr/>
236               </table>
237             </td>
238           </tr>
239         </table>
240       </td>
241     </tr>
242   </table>
243 </var:component>