Bug 82807 - Fix layout in RunPanel/CaseRunPanel
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1351 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
7b418c494a
commit
0cfa0d717a
|
@ -75,9 +75,15 @@ Testopia.TestCaseRun.Panel = function(params, run){
|
|||
this.store = cgrid.store;
|
||||
this.params = params;
|
||||
this.caserun = cr;
|
||||
|
||||
filter.flex = 1;
|
||||
cgrid.flex = 1;
|
||||
cr.flex = 2;
|
||||
Testopia.TestCaseRun.Panel.superclass.constructor.call(this, {
|
||||
layout: 'border',
|
||||
layout: 'vbox',
|
||||
layoutConfig: {
|
||||
align : 'stretch',
|
||||
pack : 'start',
|
||||
},
|
||||
title: 'Test Cases',
|
||||
id: 'caserun-panel',
|
||||
border: false,
|
||||
|
|
|
@ -178,19 +178,30 @@ Ext.onReady(function(){
|
|||
[% END %]
|
||||
);
|
||||
var runpanel = new Ext.Panel({
|
||||
layout: 'border',
|
||||
layout: 'vbox',
|
||||
layoutConfig: {
|
||||
align : 'stretch',
|
||||
pack : 'start',
|
||||
},
|
||||
applyTo: 'run-body-div',
|
||||
monitorResize: true,
|
||||
id: 'runpanel',
|
||||
height: Ext.state.Manager.get('run_height', 1200),
|
||||
footer: true,
|
||||
items:[{
|
||||
split: true,
|
||||
region: 'north',
|
||||
layout: 'hbox',
|
||||
layoutConfig: {
|
||||
align : 'stretch',
|
||||
pack : 'start',
|
||||
},
|
||||
flex: 3,
|
||||
items:[{
|
||||
xtype: 'tabpanel',
|
||||
flex: 10,
|
||||
activeTab: 0,
|
||||
id: 'object_panel',
|
||||
items: [new Testopia.TestCaseRun.Panel(Testopia.Util.urlQueryToJSON(window.location.search), run),
|
||||
items: [
|
||||
new Testopia.TestCaseRun.Panel(Testopia.Util.urlQueryToJSON(window.location.search), run),
|
||||
{
|
||||
title: 'Notes',
|
||||
layout: 'fit',
|
||||
|
@ -211,33 +222,25 @@ Ext.onReady(function(){
|
|||
]
|
||||
},{
|
||||
split: true,
|
||||
id: 'run_overview_pane',
|
||||
title: '[% title FILTER js %]',
|
||||
headerAsText: true,
|
||||
region: 'center',
|
||||
collapsible: true,
|
||||
contentEl: 'run_overview',
|
||||
height: 'auto'
|
||||
},{
|
||||
collapsible: true,
|
||||
title: ' ',
|
||||
split: true,
|
||||
region:'east',
|
||||
layout: 'fit',
|
||||
width: 200,
|
||||
items: [{
|
||||
xtype: 'tabpanel',
|
||||
activeTab: 0,
|
||||
id: 'run_east_panel',
|
||||
items:[
|
||||
new Testopia.Tags.ObjectTags('run', [% run.id FILTER none %]),
|
||||
// {
|
||||
// title: 'CC List'
|
||||
// },
|
||||
//{ title: 'CC List' },
|
||||
new Testopia.TestRun.FiltersList(run)
|
||||
|
||||
]
|
||||
}]
|
||||
},{
|
||||
split: true,
|
||||
flex: 1,
|
||||
id: 'run_overview_pane',
|
||||
title: '[% title FILTER js %]',
|
||||
headerAsText: true,
|
||||
collapsible: true,
|
||||
contentEl: 'run_overview',
|
||||
height: 'auto'
|
||||
}]
|
||||
});
|
||||
[% IF run.canedit %]
|
||||
|
|
|
@ -2735,9 +2735,15 @@ Testopia.TestCaseRun.Panel = function(params, run){
|
|||
this.store = cgrid.store;
|
||||
this.params = params;
|
||||
this.caserun = cr;
|
||||
|
||||
filter.flex = 1;
|
||||
cgrid.flex = 1;
|
||||
cr.flex = 2;
|
||||
Testopia.TestCaseRun.Panel.superclass.constructor.call(this, {
|
||||
layout: 'border',
|
||||
layout: 'vbox',
|
||||
layoutConfig: {
|
||||
align : 'stretch',
|
||||
pack : 'start',
|
||||
},
|
||||
title: 'Test Cases',
|
||||
id: 'caserun-panel',
|
||||
border: false,
|
||||
|
|
|
@ -2529,8 +2529,15 @@ this.cgrid = cgrid;
|
|||
this.store = cgrid.store;
|
||||
this.params = params;
|
||||
this.caserun = cr;
|
||||
filter.flex = 1;
|
||||
cgrid.flex = 1;
|
||||
cr.flex = 2;
|
||||
Testopia.TestCaseRun.Panel.superclass.constructor.call(this, {
|
||||
layout: 'border',
|
||||
layout: 'vbox',
|
||||
layoutConfig: {
|
||||
align : 'stretch',
|
||||
pack : 'start',
|
||||
},
|
||||
title: 'Test Cases',
|
||||
id: 'caserun-panel',
|
||||
border: false,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
perl ycomp.pl testopia.all.js > testopia.all.ycomp.js
|
||||
cat js/vars.js js/attachments.js js/build.js js/case.js js/caserun.js js/category.js js/diff-tabs.js js/environment.js js/plan.js js/product.js js/run.js js/search.js js/strings.js js/tags.js js/util.js > testopia-new.all.js
|
||||
perl ycomp.pl testopia-new.all.js > testopia-new.all.ycomp.js
|
||||
echo Check testopia-new.all[ycomp].js and copy them over testopia.all[.ycomp].js
|
||||
|
|
Loading…
Reference in New Issue