sogo/UI/Templates/ContactsUI/UIxListEditor.wox
C Robert c6a6d7a460 Fixed typo...
Monotone-Parent: dfc37996359ac82f92b30c492175c516f038aa35
Monotone-Revision: a2f77c74b5edb6ba4c72880ef957354f05292c27

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-17T14:14:17
Monotone-Branch: ca.inverse.sogo
2009-09-17 14:14:17 +00:00

76 lines
2.8 KiB
XML

<?xml version='1.0' standalone='yes'?>
<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:rsrc="OGo:url"
xmlns:label="OGo:label"
xmlns:uix="OGo:uix"
className="UIxPageFrame"
title="name"
const:popup="YES"
const:jsFiles="UIxMailEditor.js,SOGoAutoCompletion.js"
>
<div class="popupMenu" id="contactsMenu">
<ul></ul>
</div>
<form var:href="saveURL" name="editform"
onsubmit="return validateListEditor();">
<div id="listEditor">
<h3><var:string label:value="List details" /></h3>
<table><tr><td width="20%"><var:string label:value="List name:"/></td>
<td><input type="text" const:id="listName" const:name="listName"
var:value="listName" class="textField" /></td></tr>
<tr><td><var:string label:value="List nickname:"/></td>
<td><input type="text" const:id="nickname" const:name="nickname"
var:value="nickname" class="textField" /></td></tr>
<tr><td><var:string label:value="List description:"/></td>
<td><input type="text" const:id="description" const:name="description"
var:value="description" class="textField" /></td></tr>
</table>
<h3><var:string label:value="Members" /></h3>
<div id="referenceListWrapper">
<table id="referenceList" cellspacing="0">
<thead>
<tr class="tableview">
<td const:class="tbtv_headercell" const:id="nameTableHeader">
<var:string label:value="Contacts" />
</td>
</tr>
</thead>
<tbody>
<var:foreach list="references" item="reference">
<tr const:class="referenceListRow">
<td const:class="referenceListCell" var:card="reference.id">
<var:string var:value="reference.name"/>
</td></tr>
</var:foreach>
</tbody>
</table>
</div>
</div>
<input type="hidden" name="referencesValue" id="referencesValue"
var:value="referencesValue" />
<div id="windowButtons">
<label><input type="button" class="button"
id="referenceAdd" label:value="Add"/></label>
<label><input type="button" class="button"
id="referenceDelete" label:value="Delete"/></label>
</div>
<div id="buttons">
<input
id="cancelButton"
type="button"
class="button"
label:value="Cancel"
name="cancel"/>
<var:if condition="canCreateOrModify"
><input
type="submit"
class="button"
label:value="Save"
name="submit" /></var:if>
</div>
</form>
</var:component>