<?xml version="1.0" standalone="yes"?>
<!DOCTYPE container>
<container
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:var="http://www.skyrix.com/od/binding"
  xmlns:const="http://www.skyrix.com/od/constant"
  xmlns:rsrc="OGo:url"
  xmlns:label="OGo:label">
  <style type="text/css">
    <var:foreach list="calendars" item="currentCalendar">
.calendarFolder<var:string value="currentCalendar.folder" />
{ background-color: <var:string value="currentCalendar.color" /> !important; color: <var:string value="contrastingTextColor" /> !important; }
div.colorBox.calendarFolder<var:string value="currentCalendar.folder" />
{ color: <var:string value="currentCalendar.color" /> !important; }
    </var:foreach>
  </style>
  <div id="calendarSelector">
    <div id="calendarSelectorButtons">
      <a href="#" class="smallToolbarButton"
        ><span><img rsrc:src="add-calendar.png"
            label:title="New Calendar..."
            /></span></a>
      <a href="#" class="smallToolbarButton"
        ><span><img rsrc:src="add-web-calendar.png"
            label:title="Subscribe to a web calendar..."
            /></span></a>
      <a href="#" class="smallToolbarButton"
        ><span><img rsrc:src="add-user-calendar.png"
            label:title="Subscribe to a Calendar..."
            /></span></a>
      <a href="#" class="smallToolbarButton"
        ><span><img rsrc:src="remove-calendar.png"
            label:title="Remove the selected Calendar"
            /></span></a>
    </div>
    <div id="calendarListWrapper">
      <ul id="calendarList">
        <var:foreach list="calendars" item="currentCalendar"
          ><li class="denied" var:id="currentCalendar.id"
            var:owner="currentCalendar.owner" >
            <input type="checkbox" class="checkBox"
              const:disabled="disabled"
              var:checked="currentCalendar.active" />
            <div var:class="currentCalendarClass">OO</div
            ><var:string value="currentCalendar.displayName"
              /></li>
        </var:foreach>
      </ul>
    </div>
  </div>
</container>
