]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxCalMonthOverview.wox
d591e09d50d4268caabae8af7bb2d52ac52aceeb
[scalable-opengroupware.org] / UI / Templates / UIxCalMonthOverview.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   <table id="skywintable"
11          class="wintable"
12          cellspacing="0"
13          cellpadding="5"
14          width="100%"
15   >
16     <tr>
17       <td class="wintitle">
18         <table cellpadding="0" cellspacing="0" width="100%">
19           <tr>
20             <td width="5"/>
21             <td class="wintitle">
22               <var:component className="UIxCalDateLabel"
23                              startDate="startDate"
24                              endDate="endDate"
25                              const:selection="month"
26               />
27             </td>
28             <td width="36" align="right" valign="center">
29               <var:component className="UIxWinClose"/>
30             </td>
31           </tr>
32         </table>
33       </td>
34     </tr>
35     <tr>
36       <td id="skywinbodycell" class="wincontent">
37         <table border="0" cellpadding="0" cellspacing="0" width="100%">
38           <tr bgcolor="#e8e8e0">
39             <td align="left">
40               <var:component className="UIxCalBackForthNavView"
41                              methodName="ownMethodName"
42                              prevQueryParameters="prevMonthQueryParameters"
43                              currentQueryParameters="todayQueryParameters"
44                              nextQueryParameters="nextMonthQueryParameters"
45                              label:label="this month"
46               />
47             </td>
48             <td align="right" valign="middle" width="80%">
49               <var:component className="AnaisUidSelector"
50                              calendarUIDs="clientObject.calendarUIDs"
51               />
52             </td>
53           </tr>
54         </table>
55       </td>
56     </tr>
57     <tr>
58       <td id="skywinbodycell" class="wincontent">
59         <table border="0" width="100%" cellpadding="0" cellspacing="0">
60           <tr>
61             <td colspan="2">
62               <var:component className="UIxCalSelectTab"
63                              const:selection="month"
64                              currentDate="selectedDate"
65               >
66                 <table border="0" cellpadding="4" width="100%" cellspacing="2">
67                   <tr>
68                     <td align="left" bgcolor="#e8e8e0" class="button_auto_env">
69                       <a var:href="ownMethodName"
70                          class="button_auto"
71                          var:queryDictionary="toggleShowRejectedAptsQueryParameters"
72                          label:string="$toggleShowRejectedAptsLabel"
73                       />
74                     </td>
75                     <td align="right" bgcolor="#e8e8e0">
76                       <table border="0" cellpadding="0" cellspacing="1">
77                         <tr>
78                           <td class="button_auto_env"
79                               nowrap="true"
80                               valign="middle"
81                               align="center"
82                           >
83                             <!--<a class="button_auto"
84                                href="monthprintview"
85                                var:queryDictionary="queryParameters"
86                                target="SOGoPrintView"
87                             ><var:string label:value="printview"/></a>-->
88                           </td>
89                           <td class="button_auto_env"
90                               nowrap="true"
91                               valign="middle"
92                               align="center"
93                           >
94                             <a class="button_auto"
95                                href="proposal"
96                                var:queryDictionary="queryParameters"
97                             ><var:string label:value="proposal"/></a>
98                           </td>
99                         </tr>
100                       </table>
101                     </td>
102                   </tr>
103                 </table>
104                 <var:month-overview list="appointments"
105                                     item="appointment"
106                                     currentDay="currentDay"
107                                     index="dayIndex"
108                                     year="year"
109                                     month="month"
110                                     const:startDateKey="startDate"
111                                     const:endDateKey="endDate"
112                                     const:class="monthoverview"
113                                     contentStyle="contentStyle"
114                                     const:width="100%"
115                 >
116                   <var:month-info>
117                     <var:if condition="hasHolidayInfo">
118                       <var:string value="holidayInfo"
119                                   const:class="monthoverview_holidayinfo"
120                       />
121                     </var:if>
122                     <var:foreach list="allDayApts" item="appointment">
123                       <var:component className="UIxCalInlineAptView"
124                                      appointment="appointment"
125                                      formatter="aptFormatter"
126                                      tooltipFormatter="aptTooltipFormatter"
127                                      url="appointmentViewURL"
128                                      const:style="monthoverview"
129                                      referenceDate="currentDay"
130                                      canAccess="canAccessApt"
131                       />
132                       <br />
133                     </var:foreach>
134                   </var:month-info>
135                   <var:month-label const:orientation="top"
136                                    dayOfWeek="dayOfWeek"
137                                    const:class="monthoverview_title"
138                   >
139                     <var:string value="localizedDayOfWeekName"/>
140                   </var:month-label>
141                   <var:month-label const:orientation="left"
142                                    weekOfYear="weekOfYear"
143                                    class="weekStyle"
144                   >
145                     <a href="weekoverview"
146                        var:queryDictionary="currentWeekQueryParameters"
147                     ><var:string value="weekOfYear"/></a>
148                   </var:month-label>
149                   <var:month-title class="contentStyle">
150                     <span class="monthoverview_day">
151                       <a href="dayoverview"
152                          var:queryDictionary="currentDayQueryParameters"
153                       ><var:string value="currentDay.dayOfMonth"/></a>
154                     </span>
155                     <!-- removed for 0.8
156                      <br/>
157                     <span class="monthoverview_day_new">
158                       <a href="new"
159                          var:queryDictionary="currentDayQueryParameters"
160                       >[<var:string label:value="new"/>]</a>
161                     </span>-->
162                   </var:month-title>
163                   <var:month class="contentStyle">
164                     <var:component className="UIxCalInlineAptView"
165                                    appointment="appointment"
166                                    formatter="aptFormatter"
167                                    tooltipFormatter="aptTooltipFormatter"
168                                    url="appointmentViewURL"
169                                    const:style="monthoverview"
170                                    referenceDate="currentDay"
171                                    canAccess="canAccessApt"
172                     />
173                     <br />
174                   </var:month>
175                 </var:month-overview>
176               </var:component>
177             </td>
178           </tr>
179           <tr bgcolor="#F5F5E9">
180             <td align="left" width="10">
181               <var:entity const:name="nbsp"/>
182             </td>
183             <td align="right">
184               <img border="0"
185                    alt=""
186                    rsrc:src="corner_right.gif"
187               />
188             </td>
189           </tr>
190           <tr>
191             <td colspan="2" bgcolor="#F5F5E9">
192               <table border="0" width="100%" cellpadding="10" cellspacing="0">
193                 <tr/>
194               </table>
195             </td>
196           </tr>
197         </table>
198       </td>
199     </tr>
200   </table>
201   <!--
202   <hr />
203   start: <var:string value="startDate" /><br />
204   end: <var:string value="endDate" /><br />
205   -->
206   <!--
207   SOGo Server - <var:string value="name"/>
208   <br />
209   Client: <var:string value="clientObject"/>
210   <br />
211   Appointments: #<var:string value="appointments.count"/>
212   from <var:string value="startDate" />
213   to   <var:string value="endDate" />
214   <br />
215
216
217   <hr />
218
219   Appointments: 
220   <var:component className="UIxAptTableView" appointments="appointments"/>
221   -->
222 <!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
223 </var:component>