sogo/UI/Templates/UIxCalDayPrintview.wox
Wolfgang Sourdeau b653b4d8e2 - new toolbar code and images;
Monotone-Parent: cd6e43ebd8d873923fb9ad3c40158a6ce63a1f09
Monotone-Revision: 21ae9d2d632db73281a8277df02900d3e48a6e98

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-07-05T21:15:21
Monotone-Branch: ca.inverse.sogo
2006-07-05 21:15:21 +00:00

119 lines
3.6 KiB
XML

<?xml version="1.0" standalone="yes"?>
<var:component 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"
className="UIxPrintPageFrame"
title="title"
>
<div class="toolbar">
<var:component className="UIxToolbarButton"
const:buttonLink="new"
const:buttonLabel="New Event"
rsrc:buttonImage="new-event.png" />
<var:component className="UIxToolbarButton"
const:buttonLink="new_task"
const:buttonLabel="New Task"
rsrc:buttonImage="new-task.png" />
<var:component className="UIxToolbarButton"
const:buttonLink="edit"
const:buttonLabel="Edit"
rsrc:buttonImage="edit.png" />
<var:component className="UIxToolbarButton"
const:buttonLink="delete"
const:buttonLabel="Delete"
rsrc:buttonImage="delete.png" />
<var:component className="UIxToolbarSeparator" />
<var:component className="UIxToolbarButton"
const:buttonLink="today"
const:buttonLabel="Go to Today"
rsrc:buttonImage="goto-today.png" />
<var:component className="UIxToolbarSeparator" />
<var:component className="UIxToolbarButton"
const:buttonLink="dayoverview"
const:buttonLabel="Day View"
rsrc:buttonImage="day-view.png" />
<var:component className="UIxToolbarButton"
const:buttonLink="weekoverview"
const:buttonLabel="Week View"
rsrc:buttonImage="week-view.png" />
<var:component className="UIxToolbarButton"
const:buttonLink="monthoverview"
const:buttonLabel="Month View"
rsrc:buttonImage="month-view.png" />
</div>
<table border="1" cellpadding="5" cellspacing="0" width="100%">
<tr>
<td colspan="2" align="center">
<h1 class="dayprintview"><var:string value="title" /></h1>
<h2 class="dayprintview"
><var:string value="formattedCalendarUIDs"/></h2>
</td>
</tr>
<tr valign="top">
<var:if condition="hasHolidayInfo">
<tr>
<td colspan="2" align="left">
<b><var:string value="holidayInfo.title" /></b>
</td>
</tr>
</var:if>
<var:foreach list="allDayApts" item="appointment">
<tr>
<td width="10%">
<var:entity name="nbsp" />
</td>
<td class="dayprintview_content">
<var:foreach list="allDayApts" item="appointment">
<var:string value="appointment"
formatter="aptFormatter"
const:escapeHTML="NO"
/>
<br />
</var:foreach>
</td>
</tr>
</var:foreach>
<var:foreach list="dateRange" item="currentDate">
<tr>
<td width="10%" rowspan="minRequiredRowSpan" class="dayprintview_time">
<var:string value="currentDate"
const:dateformat="%H:%M"
/>
</td>
<var:foreach list="aptsForCurrentDate" item="appointment">
<td class="dayprintview_content">
<var:string value="appointment"
formatter="aptFormatter"
const:escapeHTML="NO"
style="aptStyle"
/>
</td>
<var:if condition="minRequiredRowSpan"
const:value="1"
const:negate="YES"
>
</var:if>
</var:foreach>
<var:if condition="hasNoAptsForCurrentDate">
<td><var:entity const:name="nbsp" /></td>
</var:if>
</tr>
</var:foreach>
</tr>
</table>
</var:component>