Gprs.js 1.14 KB




Ext.define('App.view.Gprs', {
    extend : 'Ext.form.Panel',
    xtype  : 'mvvm-GprsView',
    requires : [
      'App.view.GprsViewModel' 
    ],

    frame   : true,
    padding : 10,
    
    bind : {
    },
    
    viewModel: {
        type: 'gprsform'  
    },
    
    items : [
             	
{
    xtype: 'radiogroup',
    fieldLabel: 'Оператор связи',
    width:500,
    columns: 2,
    itemId: 'internetGprs',
    items: [  
             {
		            xtype: 'radiofield',
		            boxLabel: '<img src="resources/img/mts.jpg"/>',
		            name: 'framework',
		            checked: true,
		            width:100,
		            inputValue: 'mts'
		        },
		        {
		            xtype: 'radiofield',
		            boxLabel: 'Megafon',
		            name: 'framework',
		            width:100,
		            inputValue: 'megafon'
		        },
		        {
		            xtype: 'radiofield',
		            boxLabel: 'Beeline',
		            name: 'framework',
		            width:100,
		            inputValue: 'beeline'
		        }
		    ]
		},
		{
		    xtype: 'button',
		    text: 'Применить'
		}
		
    ]
});