BUG 8875 "ExtJS based Login & Main ProcessMaker interface" (1st commit)
This commit is contained in:
36
workflow/engine/templates/main/systemInfo.js
Normal file
36
workflow/engine/templates/main/systemInfo.js
Normal file
@@ -0,0 +1,36 @@
|
||||
Ext.onReady(function(){
|
||||
|
||||
var store = new Ext.data.ArrayStore({
|
||||
fields: ['name', 'value'],
|
||||
idIndex: 0
|
||||
});
|
||||
var propsGrid = new Ext.grid.GridPanel({
|
||||
store : store,
|
||||
columns : [{
|
||||
id : 'name',
|
||||
header : '',
|
||||
width : 150,
|
||||
sortable : false,
|
||||
dataIndex : 'name',
|
||||
renderer: function(v){return '<b><font color="#465070">'+v+'</font></b>'},
|
||||
align: 'right'
|
||||
},
|
||||
{
|
||||
header : '',
|
||||
width : 350,
|
||||
sortable : false,
|
||||
dataIndex : 'value'
|
||||
}],
|
||||
stripeRows : true,
|
||||
autoHeight : true,
|
||||
width : 480,
|
||||
columnLines: true,
|
||||
enableColumnHide: false,
|
||||
enableColumnResize: false,
|
||||
enableHdMenu: false
|
||||
});
|
||||
|
||||
store.loadData(properties);
|
||||
propsGrid.render(document.body);
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user