2014-04-14 16:29:23 +02:00
|
|
|
<?xml version='1.0'?>
|
2014-04-03 22:47:02 +02:00
|
|
|
<!DOCTYPE var:component>
|
|
|
|
<var:component
|
2014-04-14 16:29:23 +02:00
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:uix="OGo:uix"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
className="UIxPageFrame"
|
2014-05-09 01:14:39 +02:00
|
|
|
const:popup="YES">
|
2014-08-26 19:36:42 +02:00
|
|
|
<style type="text/css">
|
|
|
|
<var:foreach list="calendars" item="currentCalendar">
|
|
|
|
DIV.borderCalendarFolder<var:string value="currentCalendar.folder" />
|
|
|
|
{ border: 1px solid <var:string value="currentCalendar.color" />; }
|
|
|
|
DIV.backgroundCalendarFolder<var:string value="currentCalendar.folder" />
|
|
|
|
{ background-color: <var:string value="currentCalendar.color" />; color: <var:string value="contrastingTextColor" />; }
|
|
|
|
</var:foreach>
|
|
|
|
</style>
|
2014-04-14 16:29:23 +02:00
|
|
|
<div id="leftSide" class="no-print">
|
|
|
|
<!-- Print settings -->
|
|
|
|
<span class="caption"><var:string label:value="Print Settings" /></span>
|
|
|
|
<table class="frame">
|
|
|
|
<tr>
|
|
|
|
<td style="width: 30%;">
|
2015-07-31 19:54:03 +02:00
|
|
|
<label id="labelTitle"><var:string label:value="Title" /></label></td>
|
2014-04-14 16:29:23 +02:00
|
|
|
<td>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="text" id="inputFieldTitle" value="" /></td>
|
2014-04-14 16:29:23 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2015-07-31 19:54:03 +02:00
|
|
|
<label><var:string label:value="Layout" /></label></td>
|
2014-04-14 16:29:23 +02:00
|
|
|
<td>
|
2014-04-17 23:33:30 +02:00
|
|
|
<var:popup list="printLayoutList" item="item"
|
|
|
|
const:id="printLayoutList"
|
2014-06-30 16:42:07 +02:00
|
|
|
string="itemPrintLayoutText" selection="parentPrintLayout" /></td>
|
2014-04-14 16:29:23 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
2014-06-30 16:42:07 +02:00
|
|
|
|
2014-04-14 16:29:23 +02:00
|
|
|
<!-- What to print -->
|
|
|
|
<span class="caption"><var:string label:value="What to Print" /></span>
|
|
|
|
<table class="frame">
|
|
|
|
<tr>
|
|
|
|
<td>
|
2014-08-26 19:36:42 +02:00
|
|
|
<input type="checkbox" id="printEvents" value="eventsSelected" checked="true" onChange="onEventsCheck(this);"/>
|
|
|
|
<var:string label:value="Events"/>
|
|
|
|
<input type="checkbox" id ="printTasks" value="tasksSelected" checked="true" onChange="onTasksCheck(this);"/>
|
|
|
|
<var:string label:value="Tasks"/></td></tr>
|
2014-05-09 01:14:39 +02:00
|
|
|
<!-- TODO
|
|
|
|
<tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-28 19:54:29 +02:00
|
|
|
<input type="radio" name="printView" id="currentView" value="currentViewSelected" checked="true" onChange="onPrintDateCheck();"/>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Current view" /></label></td></tr>
|
2014-05-09 01:14:39 +02:00
|
|
|
<tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-28 19:54:29 +02:00
|
|
|
<input type="radio" name="printView" id="eventsTasks" value="eventsTasksSelected" onChange="onPrintDateCheck();"/>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Selected events and tasks" /></label></td></tr>
|
|
|
|
|
2014-05-09 01:14:39 +02:00
|
|
|
<tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="radio" name="printView" id="customDate" value="customDateSelected" onChange="onPrintDateCheck();" />
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Custom date range" /></label></td></tr>
|
2014-05-09 01:14:39 +02:00
|
|
|
<tr>
|
2014-04-17 23:33:30 +02:00
|
|
|
<td id="dateRangeFrom" name="dateRange">
|
2015-07-31 19:54:03 +02:00
|
|
|
<label id="labelFrom"><var:string label:value="From" /></label>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:component className="UIxDatePicker"
|
|
|
|
const:dateID="startingDate"
|
|
|
|
day="startDay"
|
|
|
|
month="startMonth"
|
|
|
|
year="startYear"
|
|
|
|
label:label="Select starting date"/></td></tr>
|
2014-05-09 01:14:39 +02:00
|
|
|
<tr>
|
2014-04-17 23:33:30 +02:00
|
|
|
<td id="dateRangeTo" name="dateRange">
|
2015-07-31 19:54:03 +02:00
|
|
|
<label id="labelTo"><var:string label:value="To" /></label>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:component className="UIxDatePicker"
|
|
|
|
const:dateID="endingDate"
|
|
|
|
day="endDay"
|
|
|
|
month="endMonth"
|
|
|
|
year="endYear"
|
|
|
|
label:label="Select ending date"/></td></tr>
|
2014-05-09 01:14:39 +02:00
|
|
|
-->
|
2014-04-14 16:29:23 +02:00
|
|
|
</table>
|
2014-04-03 22:47:02 +02:00
|
|
|
|
2014-04-14 16:29:23 +02:00
|
|
|
<!-- Options -->
|
|
|
|
<span class="caption"><var:string label:value="Options" /></span>
|
|
|
|
<table class="frame">
|
2014-06-25 23:39:48 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-08-26 19:36:42 +02:00
|
|
|
<input type="checkbox" name="printWorkingHours" id="printHours" checked="true" onChange="onPrintWorkingHoursCheck(this);" />
|
|
|
|
<var:string label:value="Display working hours only" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<hr /></td></tr>
|
2014-06-25 23:39:48 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-08-26 19:36:42 +02:00
|
|
|
<input type="checkbox" id="printColors" checked="true" onChange="onPrintColorsCheck(this);" />
|
|
|
|
<var:string label:value="Display events and tasks colors" /></td></tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-08-26 19:36:42 +02:00
|
|
|
<input type="radio" name="printColors" id="printBorderColors" value="borders" onChange="onPrintColors(this);" selection="borders"/>
|
|
|
|
<var:string label:value="Borders" />
|
|
|
|
<input type="radio" name="printColors" id="printBackgroundColors" value="backgrounds" onChange="onPrintColors(this);" />
|
|
|
|
<var:string label:value="Backgrounds" /></td></tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
2014-08-26 19:36:42 +02:00
|
|
|
<hr /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="printOptions" id="selectNoDueDateTasks" checked="true" onChange="onPrintNoDueDateTasksCheck(this);" />
|
|
|
|
<var:string label:value="Tasks with no due date" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" name="printOptions" id="selectCompletedTasks" checked="true" onChange="onPrintCompletedTasksCheck(this);" />
|
|
|
|
<var:string label:value="Completed tasks" /></td></tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
</table>
|
2014-04-03 22:47:02 +02:00
|
|
|
</div>
|
2014-04-14 16:29:23 +02:00
|
|
|
<div id="rightSide">
|
|
|
|
<div id="rightFrame">
|
2014-04-22 23:47:29 +02:00
|
|
|
<div id="rightFrameTitle"><!-- Spacer --></div>
|
|
|
|
<div id="rightFrameEvents"><!-- Spacer --></div>
|
|
|
|
<div id="rightFrameTasks"><!-- Spacer --></div>
|
2014-04-14 16:29:23 +02:00
|
|
|
</div>
|
|
|
|
<div id="printButtons" class="no-print">
|
|
|
|
<a class="button" name="print" id="printButton">
|
2014-09-10 16:47:18 +02:00
|
|
|
<span><var:string label:value="Print view" /></span></a>
|
2014-04-14 16:29:23 +02:00
|
|
|
<a class="button" name="cancel" id="cancelButton">
|
|
|
|
<span><var:string label:value="Cancel"/></span></a>
|
2014-04-17 23:33:30 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-10 16:47:18 +02:00
|
|
|
</var:component>
|