Monotone-Parent: 658963e600f4d6d7088cee8c93d7c681488aa9c4

Monotone-Revision: c033959aa88812d1a781175679569b9f48e74d12

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-26T16:43:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2006-10-26 16:43:39 +00:00
parent 385a6cadfe
commit 0f8f3baa33

View file

@ -8,53 +8,73 @@
xmlns:label="OGo:label">
<script type="text/javascript" rsrc:src="UIxFreeBusyUserSelector.js"><!-- space --></script>
<div class="freeBusyView">
<input type="hidden"
var:id="selectorId"
var:name="selectorId"
var:value="initialContactsAsString" />
<table class="freeBusy">
<thead>
<tr class="freeBusyHeader1">
<th class="attendees"></th>
<var:foreach list="daysToDisplay" item="currentDayToDisplay"
<tr class="freeBusyHeader1"
><th class="attendees"></th
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><th colspan="11"><var:string value="currentFormattedDay" /></th
></var:foreach>
</tr>
<tr class="freeBusyHeader2">
<th class="attendees"></th>
<var:foreach list="daysToDisplay" item="currentDayToDisplay"
></var:foreach
></tr>
<tr class="freeBusyHeader2"
><th class="attendees"></th
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><var:foreach list="hoursToDisplay" item="currentHourToDisplay"
><th><var:string value="currentHourToDisplay" const:numberformat="00:"/>00</th
></var:foreach
></var:foreach>
</tr>
<tr class="freeBusyHeader3">
<th class="attendees"></th>
<var:foreach list="daysToDisplay" item="currentDayToDisplay"
></var:foreach
></tr>
<tr class="freeBusyHeader3"
><th class="attendees"></th
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><var:foreach list="hoursToDisplay" item="currentHourToDisplay"
><th><span class="freeBusyZoneElement"><!-- space --></span><span class="freeBusyZoneElement"><!-- space --></span><span class="freeBusyZoneElement"><!-- space --></span><span class="freeBusyZoneElement"><!-- space --></span></th
></var:foreach
></var:foreach>
</tr>
></var:foreach
></tr>
</thead>
<tbody>
<tr class="futureAttendee">
<td class="attendees"><input type="text" class="textField"
<var:foreach list="contacts" item="currentContact"
><tr><td class="attendees"><input type="text"
var:value="currentContactName"
var:uid="currentContactId"
class="textField"
onkeyup="onContactKeyUp(this, event);"
onblur="checkAttendee(this);" /></td
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><var:foreach list="hoursToDisplay" item="currentHourToDisplay"
><td></td
></var:foreach
></var:foreach>
</tr></var:foreach>
<tr class="futureAttendee"
><td class="attendees"><input type="text" class="textField"
readonly="readonly"
onclick="newAttendee(this);" /></td>
<var:foreach list="daysToDisplay" item="currentDayToDisplay"
onclick="newAttendee(this);" /></td
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><var:foreach list="hoursToDisplay" item="currentHourToDisplay"
><td></td
></var:foreach
></var:foreach>
</tr>
<tr class="attendeeModel">
<td class="attendees"><input type="text" class="textField"
></var:foreach
></tr>
<tr class="attendeeModel"
><td class="attendees"><input type="text" class="textField"
onkeyup="onContactKeyUp(this, event);"
onblur="checkAttendee(this);" /></td>
<var:foreach list="daysToDisplay" item="currentDayToDisplay"
onblur="checkAttendee(this);" /></td
><var:foreach list="daysToDisplay" item="currentDayToDisplay"
><var:foreach list="hoursToDisplay" item="currentHourToDisplay"
><td></td
></var:foreach
></var:foreach>
</tr>
></var:foreach
></tr>
</tbody>
</table>
</div>
<script type="text/javascript">
initializeFreeBusyUserSelector('<var:string value="selectorId" />');
</script>
</container>