1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
| var dispos = new Ext.form.CheckboxGroup(
{
xtype: 'checkboxgroup',
itemCls: 'x-check-group-alt',
//fieldLabel: 'Custom Layout<br />(w/ validation)',
allowBlank: false,
anchor: '95%',
items: [{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Lundi', cls:'lundi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'l_8_10'},
{boxLabel: '10h-12h', name: 'l_10_12'},
{boxLabel: '12h-14h', name: 'l_12_14'},
{boxLabel: '14h-16h', name: 'l_14_16'},
{boxLabel: '16h-18h', name: 'l_16_18'}
]
},{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Mardi', cls:'mardi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'cb-cust-6'},
{boxLabel: '10h-12h', name: 'cb-cust-7'},
{boxLabel: '12h-14h', name: 'cb-cust-8'},
{boxLabel: '14h-16h', name: 'cb-cust-9'},
{boxLabel: '16h-18h', name: 'cb-cust-10'}
]
},{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Mercredi', cls:'mercredi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'cb-cust-11'},
{boxLabel: '10h-12h', name: 'cb-cust-12'},
{boxLabel: '12h-14h', name: 'cb-cust-13'},
{boxLabel: '14h-16h', name: 'cb-cust-14'},
{boxLabel: '16h-18h', name: 'cb-cust-15'}
]
},{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Jeudi', cls:'jeudi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'cb-cust-16'},
{boxLabel: '10h-12h', name: 'cb-cust-17'},
{boxLabel: '12h-14h', name: 'cb-cust-18'},
{boxLabel: '14h-16h', name: 'cb-cust-19'},
{boxLabel: '16h-18h', name: 'cb-cust-20'}
]
},{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Vendredi', cls:'vendredi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'cb-cust-21'},
{boxLabel: '10h-12h', name: 'cb-cust-22'},
{boxLabel: '12h-14h', name: 'cb-cust-23'},
{boxLabel: '14h-16h', name: 'cb-cust-24'},
{boxLabel: '16h-18h', name: 'cb-cust-25'}
]
},{
columnWidth: '.16',
items: [
{xtype: 'label', text: 'Samedi', cls:'samedi-group', anchor:'-15'},
{boxLabel: '8h-10h', name: 'cb-cust-26'},
{boxLabel: '10h-13h', name: 'cb-cust-27'}
]
}]
}); |
Partager