]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxFreeBusyUserSelector.wox
initial sync
[scalable-opengroupware.org] / UI / Templates / SchedulerUI / UIxFreeBusyUserSelector.wox
1 <?xml version='1.0' standalone='yes'?>
2   <container
3     xmlns="http://www.w3.org/1999/xhtml"
4     xmlns:var="http://www.skyrix.com/od/binding"
5     xmlns:const="http://www.skyrix.com/od/constant"
6     xmlns:uix="OGo:uix"
7     xmlns:rsrc="OGo:url"
8     xmlns:label="OGo:label">
9     <script type="text/javascript" rsrc:src="UIxFreeBusyUserSelector.js"><!-- space --></script>
10     <script type="text/javascript">
11       freeBusySelectorId = '<var:string value="selectorId" />';
12     </script>
13     <input type="hidden"
14       var:id="selectorId"
15       var:name="selectorId"
16       var:value="initialContactsAsString" />
17     <div class="freeBusyView" var:id="freeBusyViewId">
18       <var:component className="UIxFreeBusyUserSelectorTable"
19         contacts="contacts"
20         dayStartHour="dayStartHour"
21         dayEndHour="dayEndHour"
22         startDate="startDate"
23         endDate="endDate" />
24     </div>
25     <div class="legend" onmousedown="return false;">
26       <hr />
27       <ul>
28         <li><img rsrc:src="required-participant.png"
29             /><var:string label:value="Required participant" /></li>
30         <li><img rsrc:src="optional-participant.png"
31             /><var:string label:value="Optional participant" /></li>
32         <li><img rsrc:src="chair.png"
33             /><var:string label:value="Chair" /></li>
34       </ul>
35       <ul>
36         <li><img rsrc:src="needs-action.png"
37             /><var:string label:value="Needs action" /></li>
38         <li><img rsrc:src="accepted.png"
39             /><var:string label:value="Accepted" /></li>
40         <li><img rsrc:src="declined.png"
41             /><var:string label:value="Declined" /></li>
42         <li><img rsrc:src="tentative.png"
43             /><var:string label:value="Tentative" /></li>
44       </ul>
45       <ul>
46         <li><span class="colorBox free"><!-- spacer --></span><var:string label:value="Free" /></li>
47         <li><span class="colorBox busy"><!-- spacer --></span><var:string label:value="Busy" /></li>
48         <li><span class="colorBox maybe-busy"><!-- spacer --></span><var:string label:value="Maybe busy" /></li>
49         <li><span class="colorBox noFreeBusy"><!-- spacer --></span><var:string label:value="No free-busy information" /></li>
50       </ul>
51     </div>
52     <div id="freeBusyFooter">
53       <hr />
54       <div id="freeBusyButtons">
55         <a href="#" class="button _disabled"><var:string label:value="Previous slot" /></a>
56         <a href="#" class="button _disabled"><var:string label:value="Next slot" /></a><br />
57         <a href="#" class="button _disabled"><var:string label:value="Previous hour" /></a>
58         <a href="#" class="button _disabled"><var:string label:value="Next hour" /></a>
59       </div>
60       <div id="freeBusyReplicas">
61         <label><var:string label:value="From"
62             /><var:component className="UIxTimeDateControl"
63             const:disabled="yes"
64             const:controlID="FBStartTimeReplica"
65             date="startDate"
66             const:dayStartHour="0"
67             const:dayEndHour="23"
68             /></label>
69         <label><var:string label:value="To"
70             /><var:component className="UIxTimeDateControl"
71             const:disabled="yes"
72             const:controlID="FBEndTimeReplica"
73             date="endDate"
74             const:dayStartHour="0"
75             const:dayEndHour="23"
76             /></label>
77       </div>
78     </div>
79   </container>