8c61abcdb9a50aa25b694d4a501414057785a063
[Packages/TYPO3.CMS.git] / typo3 / js / extjs / viewportConfiguration.js
1 /***************************************************************
2 * Copyright notice
3 *
4 * (c) 2010 Stefan Galinski <stefan.galinski@gmail.com>
5 * All rights reserved
6 *
7 * This script is part of the TYPO3 project. The TYPO3 project is
8 * free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * The GNU General Public License can be found at
14 * http://www.gnu.org/copyleft/gpl.html.
15 * A copy is found in the textfile GPL.txt and important notices to the license
16 * from the author is found in LICENSE.txt distributed with these scripts.
17 *
18 *
19 * This script is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * This copyright notice MUST APPEAR in all copies of the script!
25 ***************************************************************/
26
27 Ext.ns('TYPO3');
28
29 /**
30 * The backend viewport configuration
31 *
32 * @author Stefan Galinski <stefan.galinski@gmail.com>
33 */
34 TYPO3.Viewport.configuration = {
35 layout: 'border',
36 id: 'typo3-viewport',
37 renderTo: Ext.getBody(),
38 border: false,
39 items: [{
40 region: 'north',
41 id: 'typo3-topbar',
42 contentEl: 'typo3-top-container',
43 border: false
44 }, {
45 layout: 'absolute',
46 region: 'west',
47 id: 'typo3-module-menu',
48 contentEl: 'typo3-side-menu',
49 width: 159,
50 anchor: '100% 100%',
51 border: false
52 }, {
53 region: 'center',
54 layout: 'border',
55 border: false,
56 items: [{
57 region: 'west',
58 layout: 'absolute',
59 id: 'typo3-navigationContainer',
60 width: 300,
61 anchor: '100% 100%',
62 collapsible: true,
63 collapseMode: 'mini',
64 hideCollapseTool: true,
65 animCollapse: false,
66 split: true,
67 autoScroll: true,
68 hidden: true,
69 border: false
70 }, {
71 region: 'center',
72 layout: 'absolute',
73 id: 'typo3-contentContainer',
74 contentEl: 'typo3-content',
75 anchor: '100% 100%',
76 border: false
77 }]
78 }, {
79 region: 'south',
80 xtype: 'typo3DebugPanel',
81 collapsible: true,
82 collapseMode: 'mini',
83 hideCollapseTool: true,
84 animCollapse: false,
85 split: true,
86 autoScroll: true,
87 hidden: true,
88 height: 200,
89 id: 'typo3-debug-console',
90 border: false
91 }]
92 };