sogo/UI/Templates/SchedulerUI/UIxTaskEditor.wox
Wolfgang Sourdeau d36413d01e Monotone-Parent: 10c4a8447f7a5c4890f7e2e2f63a908172490432
Monotone-Revision: 16fb66f0179e8a827bfa00706cecde4d330bcf4e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-18T21:48:52
Monotone-Branch: ca.inverse.sogo
2006-10-18 21:48:52 +00:00

137 lines
5.1 KiB
XML

<?xml version='1.0' standalone='yes'?>
<var:component className="UIxPageFrame"
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"
const:popup="YES"
title="name">
<script type="text/javascript" rsrc:src="skycalendar.js">
</script>
<form var:href="saveUrl" name="editform" onsubmit="return validateAptEditor();">
<var:if condition="hasErrorText">
<p style="background-color: #AA0000;">
<var:string value="errorText" />
</p>
<hr />
</var:if>
<div>
<label><var:string label:value="Title" />
<input type="text" name="summary" id="summary"
class="textField"
var:value="title"
/></label>
<label><var:string label:value="Location" />
<input type="text" name="location" id="location"
class="textField"
var:value="location"
/></label>
<label id="isPrivate"><input class="checkBox"
type="checkbox" var:selection="isPrivate"
var:checked="isPrivate"
/><var:string label:value="is private" /></label>
<span class="checkBoxList"><var:string label:value="Date" />
<span class="content"><var:component className="UIxTimeDateControl"
const:controlID="startTime"
date="taskStartDate"
const:dayStartHour="0"
const:dayEndHour="23"
/></span></span>
<a class="button" href="#" onclick="return toggleDetails();" id="detailsButton"
><var:string label:value="Show Details" /></a>
<span class="checkBoxList"><var:string label:value="Due Time" />
<span class="content"><var:component className="UIxTimeDateControl"
const:controlID="endTime"
date="taskDueDate"
const:dayStartHour="0"
const:dayEndHour="23"
/></span></span>
</div>
<div id="details">
<label id="conflictsLabel"><input type="checkbox"
class="checkBox"
var:selection="checkForConflicts"
var:checked="checkForConflicts"
/><var:string label:value="check for conflicts"
/></label>
<label><var:string label:value="Cycle"
/>
<span class="content"
><var:popup list="cycles" item="item"
label:string="$cycleLabel"
selection="cycle"
const:onChange="toggleCycleVisibility(this, 'cycleSelectionFirstLevel', 0);"
/><span id="cycleSelectionFirstLevel"
><var:popup list="cycleEnds" item="item"
label:string="$item" value="item"
selection="cycleEnd"
const:onChange="toggleCycleVisibility(this, 'cycleSelectionSecondLevel', 'cycle_end_never');"
const:id="cycle_end_mode_selection"
/><span id="cycleSelectionSecondLevel"
><var:component className="UIxTimeDateControl"
date="cycleUntilDate"
label="foo"
const:controlID="cycleUntilDate"
const:displayTimeControl="NO"
/></span
></span
></span
></label>
<span class="checkBoxList" id="participantsCB"><var:string label:value="Participants" />
<span class="content"><var:component className="UIxContactSelector"
const:selectorId="participants"
contacts="participants"
/></span></span>
<span class="checkBoxList"
><var:string label:value="Categories"
/><span class="content"><var:checkbox-list list="categoryItems"
item="item"
suffix="itemCategoryText"
selections="categories"
/></span></span>
<label><var:string label:value="Priority" />
<var:popup list="priorities" item="item"
string="itemPriorityText" selection="priority" /></label>
<label><var:string label:value="Comment"
/><textarea name="comment" var:value="comment" /></label>
</div>
<input type="hidden" name="ical" var:value="iCalString" />
<noscript><input type="hidden" name="nojs" const:value="1" /></noscript>
<div id="buttons">
<input
type="submit"
class="button"
label:value="Save"
name="submittask" />
<input
type="submit"
class="button"
label:value="Cancel"
name="cancel"
onclick="window.close(); return false;" />
<var:if condition="isUIxDebugEnabled">
<input type="submit"
class="button"
value="Test" name="test:method" />
</var:if>
</div>
<!-- input type="hidden" id="jsaction" -->
</form>
<!--
<var:if condition="canEditComponent" const:negate="YES">
Forbidden ... <var:redirect const:setURL="view" />
</var:if>
-->
</var:component>