Commit 17b8286e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Restore the look of the wizard Harvester.

parent 2cc550c0
......@@ -310,6 +310,7 @@ Ext.define('Limbra.wizard.Harvester', {
selectFirst: true,
store: categories,
valueField: 'automaton',
width: '98%',
xtype: 'xcombobox'
}]
};
......@@ -333,6 +334,7 @@ Ext.define('Limbra.wizard.Harvester', {
allowBlank: false,
itemId: 'fieldCollection',
name: 'collection',
width: '98%',
xtype: 'textfield'
}, {
border: false,
......@@ -360,11 +362,13 @@ Ext.define('Limbra.wizard.Harvester', {
allowBlank: false,
itemId: 'fieldCollaboration',
name: 'collaboration',
width: '98%',
xtype: 'textfield'
}, {
border: false,
html: me.textCollaboration2.join(" ")
}]
}],
layout: 'column'
};
return cfg;
......@@ -410,11 +414,13 @@ Ext.define('Limbra.wizard.Harvester', {
itemId: 'fieldPeople',
minimumRows: 4,
name: 'people',
width: 300,
xtype: 'xlistfield'
}, {
border: false,
html: me.textPeople2.join(" ")
}]
}],
layout: 'column'
};
return cfg;
......@@ -446,6 +452,7 @@ Ext.define('Limbra.wizard.Harvester', {
name: 'producer'
}],
vertical: true,
width: '98%',
xtype: 'radiogroup'
}]
};
......@@ -474,6 +481,7 @@ Ext.define('Limbra.wizard.Harvester', {
name: 'project',
store: 'projectsStore',
valueField: 'ProjectsId',
width: '98%',
xtype: 'xcombobox'
}, {
border: false,
......@@ -492,15 +500,13 @@ Ext.define('Limbra.wizard.Harvester', {
cfg,
stores;
stores = {
stores = Ext.create('Ext.data.Store' , {
fields: ['store'],
data: [{
"store": "cds.cern.ch"
}, {
"store": "inspirehep.net"
}],
xtype: 'array'
};
data: [
{"store": "cds.cern.ch"},
{"store": "inspirehep.net"}
]
});
cfg = {
itemId: 'pageStore',
......@@ -516,6 +522,7 @@ Ext.define('Limbra.wizard.Harvester', {
name: 'store',
store: stores,
valueField: 'store',
width: '98%',
xtype: 'combobox'
}]
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment