]> err.no Git - scalable-opengroupware.org/blob - SOGo/UI/Scheduler/UIxCalMonthOverview.wox
331aa8f27b60eab8cf39ab573849c9e37c8dff65
[scalable-opengroupware.org] / SOGo / UI / Scheduler / 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" 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="month"
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" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
35             <td align="right">
36               <var:component className="UIxCalBackForthNavView"
37                              methodName="ownMethodName"
38                              prevQueryParameters="prevMonthQueryParameters"
39                              currentQueryParameters="todayQueryParameters"
40                              nextQueryParameters="nextMonthQueryParameters"
41                              label:label="this month"
42               />
43             </td>
44           </tr>
45         </table>
46       </td>
47     </tr>
48     <tr>
49       <td id="skywinbodycell" class="wincontent">
50         <table border="0" width="100%" cellpadding="0" cellspacing="0">
51           <tr>
52             <td colspan="2">
53               <var:component className="UIxCalSelectTab"
54                              const:selection="month"
55                              currentDate="selectedDate"
56               >
57                 <table border="0" cellpadding="4" width="100%" cellspacing="2">
58                   <tr>
59                     <td align="right" bgcolor="#e8e8e0">
60                       <table border="0" cellpadding="0" cellspacing="1">
61                         <tr>
62                           <td class="button_auto_env" nowrap="true" valign="middle" align="center">
63                             <a class="button_auto"
64                                href="monthprintview"
65                                var:queryDictionary="queryParameters"
66                                target="SOGoPrintView"
67                             ><var:string label:value="printview"/></a>
68                           </td>
69                           <td class="button_auto_env" nowrap="true" valign="middle" align="center">
70                             <a class="button_auto"
71                                href="proposal"
72                                var:queryDictionary="queryParameters"
73                             ><var:string label:value="proposal"/></a>
74                           </td>
75                         </tr>
76                       </table>
77                     </td>
78                   </tr>
79                 </table>
80                 <var:month-overview list="appointments"
81                                     item="appointment"
82                                     currentDay="currentDay"
83                                     index="dayIndex"
84                                     year="year"
85                                     month="month"
86                                     const:startDateKey="startDate"
87                                     const:endDateKey="endDate"
88                                     const:class="monthoverview"
89                                     contentStyle="contentStyle"
90                                     const:width="100%"
91                 >
92                   <var:month-info>
93                     <var:if condition="hasHolidayInfo">
94                       <var:string value="holidayInfo" const:class="monthoverview_holidayinfo"/>
95                     </var:if>
96                     <var:foreach list="allDayApts" item="appointment">
97                       <a var:href="appointmentViewURL"
98                       ><var:string value="shortTextForApt"/></a>
99                     </var:foreach>
100                   </var:month-info>
101                   <var:month-label const:orientation="top" dayOfWeek="dayOfWeek" const:class="monthoverview_title">
102                     <var:string value="localizedDayOfWeekName"/>
103                   </var:month-label>
104                   <var:month-label const:orientation="left" weekOfYear="weekOfYear" class="weekStyle">
105                     <a href="weekoverview"
106                        var:queryDictionary="currentWeekQueryParameters"
107                     ><var:string value="weekOfYear"/></a>
108                   </var:month-label>
109                   <var:month-title class="contentStyle">
110                     <span class="monthoverview_day">
111                       <a href="dayoverview"
112                          var:queryDictionary="currentDayQueryParameters"
113                       ><var:string value="currentDay.dayOfMonth"/></a>
114                     </span>
115                     <br/>
116                     <span class="monthoverview_day_new">
117                       <a href="new"
118                          var:queryDictionary="currentDayQueryParameters"
119                       >[<var:string label:value="new"/>]</a>
120                     </span>
121                   </var:month-title>
122                   <var:month>
123                     <a var:href="appointmentViewURL"
124                        class="monthoverview_content_link"
125                        var:title="shortTextForApt"
126                        var:queryDictionary="currentDayQueryParameters"
127                     ><var:string value="shortTitleForApt"/></a>
128                   </var:month>
129                 </var:month-overview>
130               </var:component>
131             </td>
132           </tr>
133           <tr bgcolor="#F5F5E9">
134             <td align="left" width="10">
135               <var:entity const:name="nbsp"/>
136             </td>
137             <td align="right">
138               <img border="0"
139                    alt=""
140                    src="/sogod.woa/so/ControlPanel/Products/CommonUI/Resources/corner_right.gif"
141               />
142             </td>
143           </tr>
144           <tr>
145             <td colspan="2" bgcolor="#F5F5E9">
146               <table border="0" width="100%" cellpadding="10" cellspacing="0">
147                 <tr/>
148               </table>
149             </td>
150           </tr>
151         </table>
152       </td>
153     </tr>
154   </table>
155   <!--
156   <hr />
157   SOGo Server - <var:string value="name"/>
158   <br />
159   Client: <var:string value="clientObject"/>
160   <br />
161   Appointments: #<var:string value="appointments.count"/>
162   from <var:string value="startDate" />
163   to   <var:string value="endDate" />
164   <br />
165
166
167   <hr />
168
169   Appointments: 
170   <var:component className="UIxAptTableView" appointments="appointments"/>
171   -->
172 <!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
173 </var:component>