Monotone-Parent: 6cb31dde3ea4f2f37178b5dc2a27db4889ceea3f Monotone-Revision: e651fed8888008a467a9b28a214fa7dcb82e0472 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-11T19:56:21 Monotone-Branch: ca.inverse.sogo
170 lines
6.2 KiB
XML
170 lines
6.2 KiB
XML
<?xml version="1.0" standalone="yes"?>
|
|
<!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"
|
|
title="title">
|
|
<script type="text/javascript">
|
|
var firstDayOfWeek = <var:string value="firstDayOfWeek"/>;
|
|
var dayStartHour = <var:string value="dayStartHour"/>;
|
|
var currentView = '<var:string value="currentView"/>';
|
|
</script>
|
|
<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>
|
|
<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
|
|
></ul>
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="menu" id="calendarsMenu">
|
|
<ul>
|
|
<li><var:string label:value="Properties"/></li>
|
|
<li><!-- separator --></li>
|
|
<li><var:string label:value="New Calendar..."/></li>
|
|
<li><var:string label:value="Delete Calendar"/></li>
|
|
<li><!-- separator --></li>
|
|
<li><var:string label:value="Export Calendar..."/></li>
|
|
<li><var:string label:value="Import Events..."/></li>
|
|
<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>
|
|
|
|
<div id="eventDialog" style="display: none;" class="dialog">
|
|
<div>
|
|
<h1><!-- space --></h1>
|
|
<p id="startTime"><span class="label"><var:string label:value="Start:" /></span> <span><!-- space --></span></p>
|
|
<p id="location"><span class="label"><var:string label:value="Location:" /></span> <span><!-- space --></span></p>
|
|
<p id="description"><!-- space --></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="uploadDialog" style="display: none" class="dialog left">
|
|
<div>
|
|
<h3><var:string label:value="Select file..."/></h3>
|
|
<form name="uploadForm" id="uploadForm" method="post"
|
|
enctype="multipart/form-data"
|
|
onsubmit="return AIM.submit(this, {'onStart' : validateUploadForm,
|
|
'onComplete' : uploadCompleted})">
|
|
<p><input type="file" name="calendarFile" id="calendarFile" /></p>
|
|
<p><input class="button" type="submit" const:id="uploadSubmit" label:value="Upload"/>
|
|
<input class="button" type="button" const:id="uploadCancel" label:value="Cancel"/></p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="uploadResults" style="display: none" class="dialog left">
|
|
<div>
|
|
<h3><var:string label:value="Import"/></h3>
|
|
<p id="uploadResultsContent"></p>
|
|
<p><input class="button" type="button" const:id="uploadOK"
|
|
label:value="OK"/></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="leftPanel">
|
|
<div class="tabsContainer" id="schedulerTabs">
|
|
<ul>
|
|
<li target="dateSelectorView"><var:string label:value="Date" /></li>
|
|
<li target="calendarSelectorView"><var:string label:value="Calendars" /></li>
|
|
</ul>
|
|
|
|
<div id="dateSelectorView"
|
|
class="tab"
|
|
><var:component className="UIxCalDateSelector"
|
|
selectedDate="thisMonth"
|
|
/></div>
|
|
<div id="calendarSelectorView" class="tab"
|
|
><var:component className="UIxCalendarSelector"
|
|
var:calendarFolders="calendarFolders" /></div>
|
|
</div>
|
|
|
|
<div id="tasksListView">
|
|
<label><input id="showHideCompletedTasks"
|
|
type="checkbox" class="checkBox"
|
|
/><var:string label:value="Show completed tasks"/></label>
|
|
<ul id="tasksList"><!-- space --></ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="verticalDragHandle" class="dragHandle"><!-- space --></div>
|
|
|
|
<div id="rightPanel">
|
|
<var:component className="UIxCalFilterPanel" />
|
|
<div id="eventsListView">
|
|
<table id="eventsList" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tbody><!-- events list --></tbody>
|
|
</table>
|
|
</div>
|
|
<div id="rightDragHandle" class="dragHandle"><!-- space --></div>
|
|
<div id="calendarView"><!-- space --></div>
|
|
</div>
|
|
</var:component>
|