2006-08-19 00:42:53 +02:00
|
|
|
<?xml version="1.0" standalone="yes"?>
|
2007-06-19 20:00:08 +02:00
|
|
|
<!DOCTYPE var:component>
|
|
|
|
<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:uix="OGo:uix"
|
|
|
|
xmlns:rsrc="OGo:url"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
className="UIxPageFrame"
|
2011-09-23 21:25:56 +02:00
|
|
|
const:userDefaultsKeys="SOGoCalendarCategoriesColors,SOGoDefaultCalendar"
|
2010-08-09 16:17:22 +02:00
|
|
|
const:userSettingsKeys="Calendar,ShowCompletedTasks"
|
2010-02-11 03:36:43 +01:00
|
|
|
const:jsFiles="SchedulerUIDnD.js"
|
2007-10-18 23:54:24 +02:00
|
|
|
title="title">
|
2008-07-18 21:25:26 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
var firstDayOfWeek = <var:string value="firstDayOfWeek"/>;
|
2008-07-25 20:44:31 +02:00
|
|
|
var dayStartHour = <var:string value="dayStartHour"/>;
|
2009-06-09 23:25:41 +02:00
|
|
|
var currentView = '<var:string value="currentView"/>';
|
2008-07-18 21:25:26 +02:00
|
|
|
</script>
|
2008-03-25 20:59:13 +01:00
|
|
|
<style type="text/css">
|
|
|
|
<var:if condition="horizontalDragHandleStyle">
|
|
|
|
DIV#verticalDragHandle, DIV#rightPanel
|
|
|
|
{ left: <var:string value="horizontalDragHandleStyle" />; }
|
|
|
|
DIV#leftPanel
|
|
|
|
{ width: <var:string value="horizontalDragHandleStyle" />; }
|
|
|
|
</var:if><var:if condition="verticalDragHandleStyle">
|
|
|
|
DIV#rightDragHandle, DIV#calendarView
|
|
|
|
{ top: <var:string value="verticalDragHandleStyle" />; }
|
|
|
|
</var:if><var:if condition="eventsListViewStyle">
|
|
|
|
DIV#eventsListView
|
|
|
|
{ height: <var:string value="eventsListViewStyle" />; }
|
|
|
|
</var:if>
|
|
|
|
</style>
|
2007-06-19 20:00:08 +02:00
|
|
|
<div class="preload" style="visibility: hidden;">
|
|
|
|
<img rsrc:src="event-gradient.png"/>
|
|
|
|
</div>
|
|
|
|
<div class="menu" id="monthListMenu">
|
|
|
|
<ul>
|
|
|
|
<var:foreach list="monthMenuItems" item="monthMenuItem"
|
|
|
|
><li var:month="monthMenuItem"
|
|
|
|
><var:string value="monthMenuItemLabel" /></li>
|
|
|
|
</var:foreach
|
|
|
|
></ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="menu" id="yearListMenu">
|
|
|
|
<ul>
|
|
|
|
<var:foreach list="yearMenuItems" item="yearMenuItem"
|
|
|
|
><li><var:string value="yearMenuItem" /></li>
|
|
|
|
</var:foreach
|
2006-08-22 21:22:42 +02:00
|
|
|
></ul>
|
2007-06-19 20:00:08 +02:00
|
|
|
</div>
|
2006-08-22 21:22:42 +02:00
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div class="menu" id="eventsListMenu">
|
|
|
|
<ul>
|
|
|
|
<li><var:string label:value="New Event..."/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="New Task..."/></li>
|
|
|
|
<li><var:string label:value="Edit Selected Event..."/></li>
|
|
|
|
<li><var:string label:value="Delete Selected Event"/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Select All"/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Workweek days only"/></li>
|
|
|
|
<li><var:string label:value="Tasks in View"/></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2009-08-25 19:34:37 +02:00
|
|
|
<div class="menu" id="tasksListMenu">
|
|
|
|
<ul>
|
|
|
|
<li><var:string label:value="Open Task..."/></li>
|
|
|
|
<li><var:string label:value="New Task..."/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Mark Completed"/></li>
|
|
|
|
<li><var:string label:value="Delete Task"/></li>
|
2012-07-09 16:17:07 +02:00
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="View Raw Source"/></li>
|
2009-08-25 19:34:37 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div class="menu" id="calendarsMenu">
|
|
|
|
<ul>
|
2009-09-11 21:56:21 +02:00
|
|
|
<li><var:string label:value="Properties"/></li>
|
2007-09-15 04:31:34 +02:00
|
|
|
<li><!-- separator --></li>
|
2007-06-19 20:00:08 +02:00
|
|
|
<li><var:string label:value="New Calendar..."/></li>
|
2010-03-31 00:01:15 +02:00
|
|
|
<li id="deleteCalendarMenuItem"><var:string label:value="Delete Calendar"/></li>
|
2007-06-19 20:00:08 +02:00
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Export Calendar..."/></li>
|
2009-09-02 21:14:15 +02:00
|
|
|
<li><var:string label:value="Import Events..."/></li>
|
2007-06-19 20:00:08 +02:00
|
|
|
<li><var:string label:value="Publish Calendar..."/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Reload Remote Calendars"/></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Sharing..." /></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2008-08-19 00:45:59 +02:00
|
|
|
|
2009-09-02 21:14:15 +02:00
|
|
|
<div id="eventDialog" style="display: none;" class="dialog">
|
2008-08-19 00:45:59 +02:00
|
|
|
<div>
|
|
|
|
<h1><!-- space --></h1>
|
2012-01-30 21:12:18 +01:00
|
|
|
<p><span><!-- space --></span></p>
|
2009-12-22 22:07:06 +01:00
|
|
|
<p><span class="label"><var:string label:value="Calendar:" /></span> <span><!-- space --></span></p>
|
|
|
|
<p><span class="label"><var:string label:value="Location:" /></span> <span><!-- space --></span></p>
|
2010-01-06 23:16:24 +01:00
|
|
|
<p><!-- space --></p>
|
2008-08-19 00:45:59 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2006-12-14 22:20:13 +01:00
|
|
|
|
2009-09-02 21:14:15 +02:00
|
|
|
<div id="uploadDialog" style="display: none" class="dialog left">
|
|
|
|
<div>
|
2009-10-28 18:48:22 +01:00
|
|
|
<h3><var:string label:value="Import Events"/></h3>
|
|
|
|
<p><var:string label:value="Select an iCalendar file (.ics)."/></p>
|
2009-12-23 22:14:18 +01:00
|
|
|
<form const:href="" name="uploadForm" id="uploadForm" method="post"
|
2009-09-02 21:14:15 +02:00
|
|
|
enctype="multipart/form-data"
|
2009-09-03 19:53:38 +02:00
|
|
|
onsubmit="return AIM.submit(this, {'onStart' : validateUploadForm,
|
|
|
|
'onComplete' : uploadCompleted})">
|
2009-09-02 21:14:15 +02:00
|
|
|
<p><input type="file" name="calendarFile" id="calendarFile" /></p>
|
2009-11-04 23:13:20 +01:00
|
|
|
<p><a href="#" class="button actionButton" id="uploadSubmit"
|
|
|
|
onclick="if($('uploadForm').onsubmit()) $('uploadForm').submit()">
|
|
|
|
<span><var:string label:value="Upload" /></span></a>
|
|
|
|
<a href="#" class="button" const:id="uploadCancel">
|
|
|
|
<span><var:string label:value="Cancel" /></span></a></p>
|
2009-09-02 21:14:15 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2009-09-03 19:53:38 +02:00
|
|
|
<div id="uploadResults" style="display: none" class="dialog left">
|
|
|
|
<div>
|
2009-10-28 18:48:22 +01:00
|
|
|
<h3><var:string label:value="Import Events"/></h3>
|
2009-10-06 15:08:16 +02:00
|
|
|
<p id="uploadResultsContent"><!-- empty --></p>
|
2009-11-04 23:13:20 +01:00
|
|
|
<p><a href="#" class="button" const:id="uploadOK">
|
|
|
|
<span><var:string label:value="Done" /></span></a></p>
|
2009-09-03 19:53:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div id="leftPanel">
|
|
|
|
<div class="tabsContainer" id="schedulerTabs">
|
2006-12-14 22:20:13 +01:00
|
|
|
<ul>
|
2009-11-04 23:13:20 +01:00
|
|
|
<li target="dateSelectorView"
|
|
|
|
><span><var:string label:value="Date" /></span></li>
|
|
|
|
<li target="calendarSelectorView"
|
|
|
|
><span><var:string label:value="Calendars" /></span></li>
|
2006-08-19 00:42:53 +02:00
|
|
|
</ul>
|
2010-04-12 19:51:59 +02:00
|
|
|
<div class="tabs">
|
|
|
|
<div id="dateSelectorView" class="tab"
|
|
|
|
><var:component className="UIxCalDateSelector"
|
|
|
|
selectedDate="thisMonth"
|
2009-11-04 23:13:20 +01:00
|
|
|
/></div>
|
2010-04-12 19:51:59 +02:00
|
|
|
<div id="calendarSelectorView" class="tab"
|
|
|
|
><var:component className="UIxCalendarSelector"
|
|
|
|
var:calendarFolders="calendarFolders" /></div>
|
|
|
|
</div>
|
2007-06-19 20:00:08 +02:00
|
|
|
</div>
|
2006-08-19 00:42:53 +02:00
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div id="tasksListView">
|
|
|
|
<label><input id="showHideCompletedTasks"
|
2009-11-04 23:13:20 +01:00
|
|
|
type="checkbox" class="checkBox"
|
|
|
|
/><var:string label:value="Show completed tasks"/></label>
|
2007-06-19 20:00:08 +02:00
|
|
|
<ul id="tasksList"><!-- space --></ul>
|
2006-08-19 00:42:53 +02:00
|
|
|
</div>
|
2007-06-19 20:00:08 +02:00
|
|
|
</div>
|
2006-08-19 00:42:53 +02:00
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div id="verticalDragHandle" class="dragHandle"><!-- space --></div>
|
2006-08-19 00:42:53 +02:00
|
|
|
|
2007-06-19 20:00:08 +02:00
|
|
|
<div id="rightPanel">
|
|
|
|
<var:component className="UIxCalFilterPanel" />
|
|
|
|
<div id="eventsListView">
|
2007-11-12 21:04:42 +01:00
|
|
|
<table id="eventsList" cellspacing="0">
|
2007-10-02 17:29:16 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2007-12-06 18:29:32 +01:00
|
|
|
<td id="titleHeader" class="headerCell headerTitle sortableTableHeader"><var:string label:value="Title"/></td>
|
|
|
|
<td id="startHeader" class="headerCell headerDateTime sortableTableHeader"><var:string label:value="Start"/></td>
|
|
|
|
<td id="endHeader" class="headerCell headerDateTime sortableTableHeader"><var:string label:value="End"/></td>
|
|
|
|
<td id="locationHeader" class="headerCell headerLocation sortableTableHeader"><var:string label:value="Location"/></td>
|
2010-10-13 17:02:39 +02:00
|
|
|
<td id="calendarNameHeader" class="headerCell headerCalendarName sortableTableHeader"><var:string label:value="Calendar"/></td>
|
2007-10-02 17:29:16 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2009-07-14 18:57:57 +02:00
|
|
|
<tbody><!-- events list --></tbody>
|
2007-06-19 20:00:08 +02:00
|
|
|
</table>
|
2006-08-19 00:42:53 +02:00
|
|
|
</div>
|
2007-06-19 20:00:08 +02:00
|
|
|
<div id="rightDragHandle" class="dragHandle"><!-- space --></div>
|
|
|
|
<div id="calendarView"><!-- space --></div>
|
|
|
|
</div>
|
|
|
|
</var:component>
|