source: trunk/web/addons/job_monarch/lib/extjs/air/samples/tasks/js/Templates.js @ 619

Last change on this file since 619 was 619, checked in by ramonb, 15 years ago

lib/:

  • added new AJAX dependancies: ExtJS, pChart, Lightbox2
File size: 995 bytes
Line 
1/*
2 * Ext JS Library 0.30
3 * Copyright(c) 2006-2009, Ext JS, LLC.
4 * licensing@extjs.com
5 *
6 * http://extjs.com/license
7 */
8
9// In AIR, XTemplates must be created at load time
10Templates = {
11        categoryCombo: new Ext.XTemplate(
12                '<tpl for="."><div class="x-combo-list-item">{listName}</div></tpl>'
13        ),
14        timeField: new Ext.XTemplate(
15                '<tpl for="."><div class="x-combo-list-item">{text}</div></tpl>'
16        ),
17
18        gridHeader : new Ext.Template(
19        '<table border="0" cellspacing="0" cellpadding="0" style="{tstyle}">',
20        '<thead><tr class="x-grid3-hd-row">{cells}</tr></thead>',
21        '<tbody><tr class="new-task-row">',
22            '<td><div id="new-task-icon"></div></td>',
23            '<td><div class="x-small-editor" id="new-task-title"></div></td>',
24            '<td><div class="x-small-editor" id="new-task-cat"></div></td>',
25            '<td><div class="x-small-editor" id="new-task-due"></div></td>',
26        '</tr></tbody>',
27        "</table>"
28    )
29};
Note: See TracBrowser for help on using the repository browser.