hilight required fields

git-svn-id: svn://10.0.0.236/trunk@246473 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com
2008-02-25 21:39:58 +00:00
parent adb2ae99e6
commit edfe43ad70
3 changed files with 17 additions and 15 deletions

View File

@@ -643,7 +643,7 @@ NewCaseForm = function(plan_ids, product_id, run_id){
items: [{
id:'ncf-summary',
xtype:'textfield',
fieldLabel: 'Summary',
fieldLabel: '<b>Summary</b>',
name: 'summary',
allowBlank: false,
width: 800
@@ -672,13 +672,13 @@ NewCaseForm = function(plan_ids, product_id, run_id){
name: 'alias'
},
new PriorityCombo({
fieldLabel: 'Priority',
fieldLabel: '<b>Priority</b>&nbsp;&nbsp;<img src="images/help.png" id="priority_help" style="cursor:pointer" onclick=\'window.open("testing_priorities.html","Priority Definitions","resizable=no, scrollbars=yes, width=550,height=420");\'/>',
hiddenName: 'priority',
mode: 'local',
allowBlank: false
}),
new CaseCategoryCombo({
fieldLabel: 'Category',
fieldLabel: '<b>Category</b>',
hiddenName: 'category',
mode: 'local',
allowBlank: false,
@@ -704,7 +704,7 @@ NewCaseForm = function(plan_ids, product_id, run_id){
},{
layout: 'form',
items: [new CaseStatusCombo({
fieldLabel: 'Status',
fieldLabel: '<b>Status</b>',
hiddenName: 'status',
mode: 'local',
allowBlank: false,

View File

@@ -331,13 +331,13 @@ Ext.extend(PlanGrid, Ext.grid.EditorGridPanel, {
NewPlanForm = function(product_id){
var versionsBox = new ProductVersionCombo({
hiddenName: 'prod_version',
fieldLabel: "Product Version",
fieldLabel: "<b>Product Version</b>",
mode:'local',
params: {product_id: product_id}
});
var productsBox = new ProductCombo({
hiddenName: 'product_id',
fieldLabel: "Product",
fieldLabel: "<b>Product</b>",
mode:'local',
value: product_id
});
@@ -366,11 +366,11 @@ NewPlanForm = function(product_id){
layout: 'form',
items: [{
xtype:'textfield',
fieldLabel: 'Plan Name',
fieldLabel: '<b>Plan Name</b>',
name: 'plan_name',
anchor:'95%',
allowBlank: false
}, new PlanTypesCombo({mode: 'local', hiddenName: 'type', fieldLabel: 'Plan Type'})]
}, new PlanTypesCombo({mode: 'local', hiddenName: 'type', fieldLabel: '<b>Plan Type</b>'})]
},{
columnWidth: 0.5,
layout: 'form',

View File

@@ -481,7 +481,7 @@ var NewRunForm = function(plan){
layout: 'form',
items: [
new ProductVersionCombo({
fieldLabel: 'Product Version',
fieldLabel: '<b>Product Version</b>',
hiddenName: 'prod_version',
mode: 'local',
forceSelection: true,
@@ -492,7 +492,7 @@ var NewRunForm = function(plan){
new UserLookup({
id: 'new_run_manager',
hiddenName: 'manager',
fieldLabel: 'Run Manager',
fieldLabel: '<b>Run Manager</b>',
allowBlank: false
})
]
@@ -501,28 +501,30 @@ var NewRunForm = function(plan){
layout: 'form',
items: [
new BuildCombo({
fieldLabel: 'Build',
fieldLabel: '<b>Build</b>',
hiddenName: 'build',
mode: 'local',
forceSelection: false,
allowBlank: false,
typeAhead: true,
params: {product_id: plan.product_id}
params: {product_id: plan.product_id},
emptyText: 'Select or type a new name'
}),
new EnvironmentCombo({
fieldLabel: 'Environment',
fieldLabel: '<b>Environment</b>',
hiddenName: 'environment',
mode: 'local',
forceSelection: false,
allowBlank: false,
typeAhead: true,
params: {product_id: plan.product_id}
params: {product_id: plan.product_id},
emptyText: 'Select or type a new name'
})
]
}]
},{
xtype:'textfield',
fieldLabel: 'Summary',
fieldLabel: '<b>Summary</b>',
layout: 'fit',
id: 'run_summary',
name: 'summary',