2006-08-24 20:51:12 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
2007-06-11 23:29:40 +02:00
|
|
|
<!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">
|
|
|
|
<div id="calendarHeader" var:class="daysViewClasses">
|
|
|
|
|
2014-06-20 19:16:55 +02:00
|
|
|
<!-- MultiColumnView -->
|
|
|
|
<!-- Display the name of the calendar -->
|
|
|
|
<var:if condition="isMultiColumnView">
|
|
|
|
<div class="calendarLabels">
|
|
|
|
<var:foreach list="calendarsToDisplay" item="currentCalendar">
|
|
|
|
<div class="calendarsToDisplay">
|
|
|
|
<var:string value="labelForCalendar"/>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Display today abreviation and date -->
|
|
|
|
<div class="dayLabels">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
|
|
|
<div var:class="dayClasses">
|
|
|
|
<var:string value="labelForDate"/><br/>
|
|
|
|
<span class="dayOfWeek"><var:string value="labelForDay"/></span>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- All day cells -->
|
|
|
|
<div class="days">
|
|
|
|
<var:foreach list="calendarsToDisplay" item="currentCalendar">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
2014-07-09 22:47:13 +02:00
|
|
|
<div var:class="dayClasses" var:day="currentTableDay.shortDateString" var:id="currentAllDayId" var:calendar="currentCalendar.folder" hour="allday"><!-- space --></div>
|
2014-06-20 19:16:55 +02:00
|
|
|
</var:foreach>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
</var:if>
|
2010-02-12 18:23:47 +01:00
|
|
|
|
2014-06-20 19:16:55 +02:00
|
|
|
<!-- DayView or WeekView -->
|
|
|
|
<var:if condition="isNotMultiColumnView">
|
|
|
|
<!-- Display today abreviation and date -->
|
|
|
|
<div class="dayLabels">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
|
|
|
<div var:class="dayClasses">
|
|
|
|
<var:string value="labelForDate"/><br/>
|
|
|
|
<span class="dayOfWeek"><var:string value="labelForDay"/></span>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- All day cells -->
|
|
|
|
<div class="days">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
|
|
|
<div var:class="dayClasses" var:day="currentTableDay.shortDateString" var:id="currentAllDayId" hour="allday"><!-- space --></div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
</var:if>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- The hours cells -->
|
|
|
|
<div id="daysView" var:class="daysViewClasses">
|
|
|
|
<div class="hours">
|
|
|
|
<var:foreach list="hoursToDisplay" item="currentTableHour">
|
|
|
|
<div class="hour" var:id="currentHourId">
|
|
|
|
<var:string value="currentTableHour"/>
|
2010-02-13 17:54:21 +01:00
|
|
|
</div>
|
2007-06-11 23:29:40 +02:00
|
|
|
</var:foreach>
|
2006-11-15 01:06:21 +01:00
|
|
|
</div>
|
2014-06-20 19:16:55 +02:00
|
|
|
<div class="days">
|
|
|
|
<!-- MultiColumnView -->
|
|
|
|
<var:if condition="isMultiColumnView">
|
|
|
|
<var:foreach list="calendarsToDisplay" item="currentCalendar">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
2014-07-09 22:47:13 +02:00
|
|
|
<div var:class="dayClasses" var:id="currentDayId" var:day-number="currentDayNumber" var:calendar="currentCalendar.folder" var:day="currentTableDay.shortDateString">
|
2014-06-20 19:16:55 +02:00
|
|
|
<div class="hourCells">
|
|
|
|
<var:foreach list="hoursToDisplay" item="currentTableHour">
|
|
|
|
<div var:class="clickableHourCellClass" var:day="currentTableDay.shortDateString" var:hour="currentAppointmentHour">
|
|
|
|
<span class="minutes15"><!-- space --></span>
|
|
|
|
<span class="minutes30"><!-- space --></span>
|
|
|
|
<span class="minutes45"><!-- space --></span>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
<div class="events"><!-- space --></div>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</var:foreach>
|
|
|
|
</var:if>
|
|
|
|
<var:if condition="isNotMultiColumnView">
|
|
|
|
<var:foreach list="daysToDisplay" item="currentTableDay">
|
|
|
|
<div var:class="dayClasses" var:id="currentDayId" var:day-number="currentDayNumber" var:day="currentTableDay.shortDateString">
|
|
|
|
<div class="hourCells">
|
|
|
|
<var:foreach list="hoursToDisplay" item="currentTableHour">
|
|
|
|
<div var:class="clickableHourCellClass" var:day="currentTableDay.shortDateString" var:hour="currentAppointmentHour">
|
|
|
|
<span class="minutes15"><!-- space --></span>
|
|
|
|
<span class="minutes30"><!-- space --></span>
|
|
|
|
<span class="minutes45"><!-- space --></span>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</div>
|
|
|
|
<div class="events"><!-- space --></div>
|
|
|
|
</div>
|
|
|
|
</var:foreach>
|
|
|
|
</var:if>
|
|
|
|
</div>
|
2007-06-11 23:29:40 +02:00
|
|
|
</div>
|
|
|
|
</container>
|