Mantis #5 completed, needs testing

Monotone-Parent: bb2d11200e5d8cbdc9a740b2a9e019efed65432b
Monotone-Revision: 00f021939a59d6bcc0871dadde8fbc81c2d0b614

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-16T15:57:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-07-16 15:57:31 +00:00
parent dced0f231d
commit 5cf62a74a9
17 changed files with 364 additions and 5 deletions
@@ -80,6 +80,36 @@
const:id="firstWeek"
string="itemFirstWeekText" selection="userFirstWeek"
/></label><br/>
<label><var:string label:value="Categories"/></label><br/>
<div style="overflow:auto; height:230px; padding:2px;"
><table id="categoriesList" cellspacing="0" width="100%">
<thead>
<tr class="tableview"
><td const:class="tbtv_headercell" const:id="nameTableHeader"
><var:string var:value="nameLabel" /></td
><td const:class="tbtv_headercell" const:width="20%" const:id="colorTableHeader"
><var:string var:value="colorLabel" /></td
></tr
></thead>
<tbody>
<var:foreach list="categories" item="category">
<tr const:class="categoryListRow"
><td const:class="categoryListCell"
><var:string var:value="category.name"/></td
><td const:class="categoryListCell"
><div const:class="colorBox"><var:string var:value="category.color"
/></div></td
></tr>
</var:foreach>
</tbody>
</table></div>
<input type="hidden" const:id="categoriesValue"
const:name="categoriesValue" var:value="categoriesValue"/>
<br/>
<label><input type="button" class="button"
id="categoryAdd" label:value="Add"/></label>
<label><input type="button" class="button"
id="categoryDelete" label:value="Delete"/></label>
<!-- <br/> -->
<!-- <label><input class="checkBox" -->
<!-- type="checkbox" var:selection="reminderEnabled" -->