]> err.no Git - scalable-opengroupware.org/blob - UI/Templates/SchedulerUI/UIxCalendarSelector.wox
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1263 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Templates / SchedulerUI / UIxCalendarSelector.wox
1 <?xml version="1.0" standalone="yes"?>
2 <!DOCTYPE container>
3 <container
4   xmlns="http://www.w3.org/1999/xhtml"
5   xmlns:var="http://www.skyrix.com/od/binding"
6   xmlns:const="http://www.skyrix.com/od/constant"
7   xmlns:rsrc="OGo:url"
8   xmlns:label="OGo:label">
9   <style type="text/css">
10     <var:foreach list="calendars" item="currentCalendar">
11 .calendarFolder<var:string value="currentCalendar.folder" />
12 { background-color: <var:string value="currentCalendar.color" /> !important; }
13 div.colorBox.calendarFolder<var:string value="currentCalendar.folder" />
14 { color: <var:string value="currentCalendar.color" /> !important; }
15     </var:foreach>
16   </style>
17   <div id="calendarSelector">
18     <span id="calendarSelectorButtons">
19       <a href="#" class="toolbarButton"
20         ><span class="toolbarButton"><img rsrc:src="add-calendar.png"
21             label:title="New Calendar..."
22             /></span></a>
23       <a href="#" class="toolbarButton"
24         ><span class="toolbarButton"><img rsrc:src="add-user-calendar.png"
25             label:title="Subscribe to a Calendar..."
26             /></span></a>
27       <a href="#" class="toolbarButton"
28         ><span class="toolbarButton"><img rsrc:src="remove-calendar.png"
29             label:title="Remove the selected Calendar"
30             /></span></a>
31     </span>
32     <ul id="calendarList">
33       <var:foreach list="calendars" item="currentCalendar"
34         ><li class="denied" var:id="currentCalendar.id"
35           var:owner="currentCalendar.owner" var:roles="currentCalendar.roles" >
36           <input type="checkbox" class="checkBox"
37             const:disabled="disabled"
38             var:checked="currentCalendar.active" />
39           <div var:class="currentCalendarClass">OO</div
40           ><var:string value="currentCalendar.displayName"
41             /></li>
42       </var:foreach>
43     </ul>
44   </div>
45 </container>