]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/UIxCalDayChartview.wox
some more work on the Kolab viewers
[scalable-opengroupware.org] / UI / Templates / UIxCalDayChartview.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="day"
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="prevDayQueryParameters"
43                              currentQueryParameters="todayQueryParameters"
44                              nextQueryParameters="nextDayQueryParameters"
45                              label:label="today"
46               />
47             </td>
48             <td align="right" valign="middle" width="80%">
49               <var:component className="AnaisUidSelector" />
50             </td>
51           </tr>
52         </table>
53       </td>
54     </tr>
55     <tr>
56       <td id="skywinbodycell" class="wincontent">
57         <table border="0" width="100%" cellpadding="0" cellspacing="0">
58           <tr>
59             <td colspan="2">
60               <var:component className="UIxCalSelectTab"
61                              const:selection="day"
62                              currentDate="selectedDate"
63               >
64                 <table border="0"
65                        cellpadding="4"
66                        width="100%"
67                        cellspacing="2"
68                 >
69                   <tr>
70                     <td width="1%"
71                         align="left"
72                         valign="middle"
73                         bgcolor="#e8e8e0"
74                     >
75                       <table border='0' cellpadding='0' cellspacing='0'>
76                         <tr>
77                           <td><a href="dayoverview"
78                                  var:queryDictionary="queryParameters"
79                               ><img rsrc:src="icon_view_overview.gif"
80                                     label:title="Overview"
81                                     label:alt="Overview"
82                                     border="0"
83                                     valign="top"
84                                /></a> </td>
85                           <td><img rsrc:src="icon_view_chart_inactive.gif"
86                                    label:title="Chart"
87                                    label:alt="Chart"
88                                    border="0"
89                                    valign="top"
90                               /></td>
91                           <td><a href="daylistview"
92                                  var:queryDictionary="queryParameters"
93                               ><img rsrc:src="icon_view_list.gif"
94                                     label:title="List"
95                                     label:alt="List"
96                                     border="0"
97                                     valign="top"
98                                /></a></td>
99                         </tr>
100                       </table>
101                     </td>
102                     <td align="left" bgcolor="#e8e8e0" class="button_auto_env">
103                       <a var:href="ownMethodName"
104                          class="button_auto"
105                          var:queryDictionary="toggleShowRejectedAptsQueryParameters"
106                          label:string="$toggleShowRejectedAptsLabel"
107                       />
108                     </td>
109                     <td align="right" bgcolor="#e8e8e0">
110                       <table border="0" cellpadding="0" cellspacing="1">
111                         <tr>
112                           <td class="button_auto_env"
113                               nowrap="true"
114                               valign="middle"
115                               align="center"
116                           >
117                             <!--<a class="button_auto"
118                                href="dayprintview"
119                                var:queryDictionary="queryParameters"
120                                target="SOGoPrintView"
121                             ><var:string label:value="printview"/></a>-->
122                           </td>
123                           <td class="button_auto_env"
124                               nowrap="true"
125                               valign="middle"
126                               align="center"
127                           >
128                             <a class="button_auto"
129                                href="proposal"
130                                var:queryDictionary="queryParameters"
131                             ><var:string label:value="proposal"/></a>
132                           </td>
133                         </tr>
134                       </table>
135                     </td>
136                   </tr>
137                 </table>
138                 <table>
139                   <tr valign="top">
140                     <td>
141                       <table>
142                         <tr>
143                           <td>
144                              <var:component className="UIxCalInlineMonthOverview"
145                                             selectedDate="thisMonth"
146                                             const:showYear="1"
147                                             const:daySelectionHref="daychartview"
148                                             const:showWeekColumn="0"
149                                             const:style="dayoverview_cal"
150                                             const:headerStyle="dayoverview_cal_title"
151                                             const:dayHeaderStyle="dayoverview_cal_day_header"
152                                             const:dayBodyStyle="dayoverview_cal_content"
153                                             const:todayBodyStyle="dayoverview_cal_content_hilite"
154                                             const:selectedDayExtraStyle="dayoverview_cal_content_selected"
155                                             const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
156                              />
157                           </td>
158                         </tr>
159                         <tr>
160                           <td>
161                              <var:component className="UIxCalInlineMonthOverview"
162                                             selectedDate="nextMonth"
163                                             const:showYear="1"
164                                             const:daySelectionHref="daychartview"
165                                             const:showWeekColumn="0"
166                                             const:style="dayoverview_cal"
167                                             const:headerStyle="dayoverview_cal_title"
168                                             const:dayHeaderStyle="dayoverview_cal_day_header"
169                                             const:dayBodyStyle="dayoverview_cal_content"
170                                             const:todayBodyStyle="dayoverview_cal_content_hilite"
171                                             const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
172                              />
173                           </td>
174                         </tr>
175                       </table>
176                     </td>
177                     <td width="100%">
178                       <table class="dayoverview_content" width="100%">
179                         <td width="100%" valign="top">
180                           <var:vspan-matrix list="appointments"
181                                             item="appointment"
182                                             rows="dateRange"
183                                             row="currentDate"
184                                             columns="columns"
185                                             column="isPadColumn"
186                                             itemActive="isCurrentDateInApt"
187                                             const:rowHeight="8"
188                                             const:width="100%"
189                                             const:border="0"
190                                             const:cellpadding="5"
191                                             const:cellspacing="2"
192                           >
193                             <var:matrix-label const:elementName="td"
194                                               const:position="left"
195                                               const:bgcolor="#d6d6ce"
196                                               const:width="2"
197                             >
198                               <span class="dayoverview_content_time_link">
199                                 <var:string value="currentDate"
200                                             const:dateformat="%H:%M"
201                                 />
202                                 [<a href="new"
203                                     var:queryDictionary="currentDateQueryParameters"
204                                  ><var:string label:value="new" /></a>]
205                               </span>
206                             </var:matrix-label>
207                             <!-- TODO: use css instead! -->
208                             <var:matrix-empty const:elementName="td"
209                                               const:bgcolor="#efefe7"
210                             >
211                             </var:matrix-empty>
212                             <!-- TODO: use css instead! -->
213                             <var:matrix-cell const:elementName="td"
214                                              const:bgcolor="#d6d6ce"
215                                              const:valign="top"
216                             >
217                               <span class="dayoverview_content_time_link">
218                                 <var:component className="UIxCalInlineAptView"
219                                                appointment="appointment"
220                                                formatter="aptFormatter"
221                                                tooltipFormatter="aptTooltipFormatter"
222                                                url="appointmentViewURL"
223                                                const:style="daychartview"
224                                                queryDictionary="currentDayQueryParameters"
225                                                referenceDate="currentDate"
226                                                canAccess="canAccessApt"
227                                 />
228                               </span>
229                             </var:matrix-cell>
230                           </var:vspan-matrix>
231                         </td>
232                       </table>
233                     </td>
234                   </tr>
235                 </table>
236               </var:component>
237             </td>
238           </tr>
239           <tr bgcolor="#F5F5E9">
240             <td align="left" width="10">
241               <var:entity const:name="nbsp"/>
242             </td>
243             <td align="right">
244               <img border="0"
245                    alt=""
246                    rsrc:src="corner_right.gif"
247               />
248             </td>
249           </tr>
250           <tr>
251             <td colspan="2" bgcolor="#F5F5E9">
252               <table border="0" width="100%" cellpadding="10" cellspacing="0">
253                 <tr/>
254               </table>
255             </td>
256           </tr>
257         </table>
258       </td>
259     </tr>
260   </table>
261 </var:component>