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