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"
|
|
|
|
const:popup="YES"
|
|
|
|
const:cssFiles="datepicker.css"
|
2014-04-17 23:33:30 +02:00
|
|
|
const:jsFiles="datepicker.js" >
|
|
|
|
|
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%;">
|
|
|
|
<label id="labelTitle"><var:string label:value="Title:" /></label></td>
|
|
|
|
<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>
|
|
|
|
<label><var:string label:value="Layout:" /></label></td>
|
|
|
|
<td>
|
2014-04-17 23:33:30 +02:00
|
|
|
<var:popup list="printLayoutList" item="item"
|
|
|
|
const:id="printLayoutList"
|
|
|
|
string="itemPrintLayoutText" /></td>
|
2014-04-14 16:29:23 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
2014-04-03 22:47:02 +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>
|
|
|
|
<label>
|
2014-04-17 23:33:30 +02:00
|
|
|
<input type="checkbox" id="printEvents" value="eventsSelected" checked="true" onChange="onEventsCheck(this);"/>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Events"/></label>
|
|
|
|
<label>
|
2014-04-17 23:33:30 +02:00
|
|
|
<input type="checkbox" id ="printTasks" value="tasksSelected" checked="true" onChange="onTasksCheck(this);"/>
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Tasks"/></label></td></tr>
|
|
|
|
<tr>
|
|
|
|
<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-04-28 19:54:29 +02:00
|
|
|
<tr class="todo">
|
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-04-28 19:54:29 +02:00
|
|
|
<tr class="todo">
|
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-04-28 19:54:29 +02:00
|
|
|
<tr class="todo">
|
2014-04-17 23:33:30 +02:00
|
|
|
<td id="dateRangeFrom" name="dateRange">
|
2014-04-14 16:29:23 +02:00
|
|
|
<label id="labelFrom"><var:string label:value="From:" /></label>
|
|
|
|
<var:component className="UIxDatePicker"
|
|
|
|
const:dateID="startingDate"
|
|
|
|
day="startDay"
|
|
|
|
month="startMonth"
|
|
|
|
year="startYear"
|
|
|
|
label:label="Select starting date"/></td></tr>
|
2014-04-28 19:54:29 +02:00
|
|
|
<tr class="todo">
|
2014-04-17 23:33:30 +02:00
|
|
|
<td id="dateRangeTo" name="dateRange">
|
2014-04-14 16:29:23 +02:00
|
|
|
<label id="labelTo"><var:string label:value="To:" /></label>
|
|
|
|
<var:component className="UIxDatePicker"
|
|
|
|
const:dateID="endingDate"
|
|
|
|
day="endDay"
|
|
|
|
month="endMonth"
|
|
|
|
year="endYear"
|
|
|
|
label:label="Select ending date"/></td></tr>
|
|
|
|
</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-04-17 23:33:30 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<var:string label:value="Display time:" /></td>
|
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="radio" name="printTimeFormat" value="localTimeSelected" onChange="onDisplayTimeFormatCheck();" checked="true"/>
|
2014-04-17 23:33:30 +02:00
|
|
|
<var:string label:value="Locale" /></label>
|
|
|
|
<label>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="radio" name="printTimeFormat" value="gmtTimeSelected" onChange="onDisplayTimeFormatCheck();"/>
|
2014-04-17 23:33:30 +02:00
|
|
|
<var:string label:value="GMT" /></label></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<hr><!-- spacer --></hr></td></tr>
|
2014-04-14 16:29:23 +02:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="checkbox" name="printOptions" id="selectNoDueDateTasks" checked="true" onChange="onPrintNoDueDateTasksCheck(this);" />
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Tasks with no due date" /></label></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<label>
|
2014-04-22 23:47:29 +02:00
|
|
|
<input type="checkbox" name="printOptions" id="selectCompletedTasks" checked="true" onChange="onPrintCompletedTasksCheck(this);" />
|
2014-04-14 16:29:23 +02:00
|
|
|
<var:string label:value="Completed tasks" /></label></td></tr>
|
|
|
|
</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">
|
|
|
|
<span><var:string label:value="Print" /></span></a>
|
|
|
|
<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>
|
|
|
|
</var:component>
|