]> err.no Git - scalable-opengroupware.org/blob - SOGo/UI/Templates/UIxCalWeekOverview.wox
changed "default.strings" to "Localizable.strings"
[scalable-opengroupware.org] / SOGo / UI / Templates / UIxCalWeekOverview.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                xmlns:uix="OGo:uix"
8                className="UIxPageFrame"
9                title="name"
10 >
11   <table id="skywintable" class="wintable" cellspacing="0" cellpadding="5" 
12          width="100%">
13   <tr>
14     <td class="wintitle">
15       <table cellpadding="0" cellspacing="0" width="100%">
16         <tr>
17           <td width="5"/>
18           <td class="wintitle"><var:component className="UIxCalDateLabel"
19                                               startDate="startDate"
20                                               endDate="endDate"
21                                               const:selection="week"
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
31   <tr>
32   <td id="skywinbodycell" class="wincontent">
33     <table border="0" cellpadding="0" cellspacing="0" width="100%">
34     <tr bgcolor="#e8e8e0">
35     <td align="left">
36       <var:component className="UIxCalBackForthNavView"
37                      methodName="ownMethodName"
38                      prevQueryParameters="prevWeekQueryParameters"
39                      currentQueryParameters="todayQueryParameters"
40                      nextQueryParameters="nextWeekQueryParameters"
41                      label:label="this week"
42       />
43     </td><!-- 99% -->
44     <td align="right" valign="middle" width="80%">
45       <var:component className="AnaisUidSelector"
46                      calendarUIDs="clientObject.calendarUIDs"
47       />
48     </td>
49     </tr>
50     </table>
51   </td>
52   </tr>
53
54   <tr>
55   <td id="skywinbodycell" class="wincontent">
56   <table border="0" width="100%" cellpadding="0" cellspacing="0">
57   <tr>
58   <td colspan="2">
59     <var:component className="UIxCalSelectTab"
60                    const:selection="week"
61                    currentDate="selectedDate"
62     >
63         <table border="0" cellpadding="4" width="100%" cellspacing="2">
64           <tr>
65             <td width="1%" align="left" valign="middle" bgcolor="#e8e8e0">
66               <table border='0' cellpadding='0' cellspacing='0'>
67                <tr>
68                   <td><img rsrc:src="icon_view_overview_inactive.gif"
69                            label:title="Overview" label:alt="Overview"
70                            border="0" valign="top" /></td>
71                   <td><a href="weekchartview"
72                          var:queryDictionary="queryParameters"
73                       ><img rsrc:src="icon_view_chart.gif"
74                             label:title="Chart" label:alt="Chart"
75                             border="0" valign="top" /></a></td>
76                   <td><a href="weeklistview"
77                          var:queryDictionary="queryParameters"
78                       ><img rsrc:src="icon_view_list.gif"
79                             label:title="List" label:alt="List"
80                             border="0" valign="top" /></a></td>
81                   <td>
82                     <a href="weekcolumnsview"
83                        var:queryDictionary="queryParameters"
84                     ><img rsrc:src="icon_view_columns.gif"
85                           label:title="Columns" label:alt="Columns"
86                           border="0" valign="top" /></a>
87                   </td>
88                </tr>
89               </table>
90             </td>
91           
92             <td align="right" bgcolor="#e8e8e0">
93               <table border='0' cellpadding='0' cellspacing='1'>
94                 <tr>
95                   <td class="button_auto_env" nowrap="true" valign='middle' 
96                       align='center'>
97                     <a class="button_auto"
98                        href="weekprintview"
99                        var:queryDictionary="queryParameters"
100                        target="SOGoPrintView"
101                     ><var:string label:value="printview" /></a>
102                   </td>
103                   <td class="button_auto_env" nowrap="true" valign='middle' 
104                       align='center'>
105                     <a class="button_auto"
106                        href="proposal"
107                        var:queryDictionary="queryParameters"
108                     ><var:string label:value="proposal" /></a>
109                   </td>
110                 </tr>
111               </table>
112             </td>
113           </tr>
114         </table>
115
116     <var:week-overview list="appointments"
117                        item="appointment"
118                        weekStart="startDate"
119                        dayIndex="dayIndex"
120                        const:startDateKey="startDate"
121                        const:endDateKey="endDate"
122                        const:titleStyle="weekoverview_title"
123                        hideWeekend="shouldHideWeekend"
124                        contentStyle="contentStyle"
125     >
126       <var:week-title>
127         <table cellpadding="0" width="100%" border="0" cellspacing="0"
128                var:class="titleStyle">
129           <tr>
130             <td align="left" valign="top">
131               <a href="dayoverview"
132                  var:queryDictionary="currentDayQueryParameters"
133                  class="weekoverview_title_daylink"
134                  ><var:string value="currentDay.dayOfMonth"
135                               const:numberformat="02"
136                   /></a>
137             </td>
138             <td align="center" valign="top" width="97%">
139               <var:string value="currentDayName" /><br />
140                 [<a href="new"
141                     var:queryDictionary="currentDayQueryParameters"
142                     class="weekoverview_title_newlink"
143                  ><var:string label:value="new" /></a>]
144             </td>
145           </tr>
146         </table>
147       </var:week-title>
148       <var:if condition="hasDayInfo">
149         <var:week-info>
150           <var:if condition="hasHolidayInfo">
151             <var:string value="holidayInfo" 
152                         const:class="weekoverview_holidayinfo" />
153           </var:if>
154           <var:foreach list="allDayApts" item="appointment">
155             <var:component className="UIxCalInlineAptView"
156                            appointment="appointment"
157                            formatter="aptFormatter"
158                            tooltipFormatter="aptTooltipFormatter"
159                            url="appointmentViewURL"
160                            style="aptStyle"
161                            queryDictionary="currentDayQueryParameters"
162                            canAccess="canAccessApt"
163             />
164             <br />
165           </var:foreach>
166         </var:week-info>
167       </var:if>
168       <var:week>
169         <var:component className="UIxCalInlineAptView"
170                        appointment="appointment"
171                        formatter="aptFormatter"
172                        tooltipFormatter="aptTooltipFormatter"
173                        url="appointmentViewURL"
174                        style="aptStyle"
175                        canAccess="canAccessApt"
176         />
177         <br />
178       </var:week>
179     </var:week-overview>
180   </var:component>
181   </td>
182   </tr>
183   <tr bgcolor="#F5F5E9"> <!-- use CSS -->
184   <td align="left" width="10"><var:entity const:name="nbsp"/></td>
185   <td align="right"
186   ><img border="0"
187         alt=""
188         src="/sogod/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"
189    /></td>
190   </tr>
191   <tr>
192   <td colspan="2" bgcolor="#F5F5E9"> <!-- use CSS -->
193   <table border="0" width="100%" cellpadding="10" cellspacing="0">
194   <tr />
195   </table>
196   </td>
197   </tr>
198   </table>
199   </td>
200   </tr>
201   </table>
202   <!--
203   <hr />
204   <var:string value="thisWeekQueryParameters" />
205   -->
206   <!--
207   <hr/>
208     
209     Appointments: 
210     <var:component className="UIxAptTableView" appointments="appointments"/>
211   -->
212     <!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
213 </var:component>