2011-07-29 18:37:11 +00:00
|
|
|
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
2011-05-25 19:42:45 +00:00
|
|
|
pandora.ui.mainPanel = function() {
|
2011-06-19 17:49:25 +00:00
|
|
|
var that = Ox.SplitPanel({
|
2011-05-25 19:42:45 +00:00
|
|
|
elements: [
|
|
|
|
{
|
|
|
|
collapsible: true,
|
2011-06-06 15:48:11 +00:00
|
|
|
collapsed: !pandora.user.ui.showSidebar,
|
|
|
|
element: pandora.$ui.leftPanel = pandora.ui.leftPanel(),
|
2011-05-25 19:42:45 +00:00
|
|
|
resizable: true,
|
|
|
|
resize: [192, 256, 320, 384],
|
2011-06-06 15:48:11 +00:00
|
|
|
size: pandora.user.ui.sidebarSize
|
2011-05-25 19:42:45 +00:00
|
|
|
},
|
|
|
|
{
|
2011-06-06 15:48:11 +00:00
|
|
|
element: pandora.$ui.rightPanel = pandora.ui.rightPanel()
|
2011-05-25 19:42:45 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
orientation: 'horizontal'
|
|
|
|
})
|
|
|
|
return that;
|
|
|
|
};
|
|
|
|
|