-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
42 lines (42 loc) · 929 Bytes
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<head>
<title>Ext sample</title>
<link rel="stylesheet" type="text/css" href="ext-3.3.0/resources/css/ext-all.css" />
<script src="ext-3.3.0/adapter/ext/ext-base-debug.js" type="text/javascript"></script>
<script src="ext-3.3.0/ext-all-debug.js" type="text/javascript"></script>
<script>
Ext.onReady(function() {
viewport = new Ext.Viewport({
layout: 'border',
items: [{
region: 'north',
html: 'North',
height: 60
},{
region: 'west',
split: true,
width: 200,
html: 'West'
},{
region: 'center',
layout: 'accordion',
items: [{
html: 'center 1'
},{
html: 'center 2'
}],
bodyStyle: 'background-color: #eee;'
},{
region: 'east',
split: true,
width: 200,
html: 'East'
},{
region: 'south',
html: 'South'
}]
});
});
</script>
</head>
<body></body></html>