3 porting tst for layout classes from original roo library into bootstrap one.
9 <title>Nested Layout</title>
12 <link href="../../css-bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css" />
13 <link href="../../css-bootstrap/font-awesome.css" rel="stylesheet" type="text/css" />
14 <link href="../../css-bootstrap/roojs-bootstrap-debug.css" rel="stylesheet" type="text/css" />
16 <!-- <link href="../../../bootswatch/material-kit/css/material-kit.css" rel="stylesheet"> -->
20 <script type="text/javascript" src="../../roojs-core-debug.js"></script>
21 <!-- bootstrap js.. needs to compile it later.. -->
22 <script type="text/javascript" src="../../roojs-bootstrap-debug.js"></script>
28 <script type="text/javascript">
30 Roo.namespace("Dashboard");
33 <script type="text/javascript" src="Dashboard.Header1.js"></script>
34 <script type="text/javascript" src="./nested-dialog.js"></script>
38 <style type="text/css">
44 .table-body-fixed tbody {
48 .table-body-fixed thead,
49 .table-body-fixed tbody,
51 .table-body-fixed th {
54 .table-body-fixed thead {
59 .table-body-fixed tbody td,
60 .table-body-fixed thead > tr> th {
62 border-bottom-width: 0;
64 .table-body-fixed thead > tr,
65 .table-body-fixed tbody > tr
72 <script type="text/javascript">
74 Roo.namespace("Example");
76 Example.Nested = new Roo.XComponent({
77 part : ["example", "nested" ],
78 order : '001-Example-Nested',
81 name : "unnamed module",
91 xns : Roo.bootstrap.layout,
92 el : document.body, // border layout can be applied to the outer one...
95 xns: Roo.bootstrap.layout,
100 // collapsible: true,
106 xns: Roo.bootstrap.layout,
107 overflow : 'visible',
115 xns: Roo.bootstrap.layout,
123 xns: Roo.bootstrap.panel,
124 title : "Title west" ,
131 position : 'static-top',
132 xtype : 'NavHeaderbar',
137 cls : 'navbar-btn sidebar-toggle',
140 html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
165 Example.NestedDialog.show({});
168 html : 'test dialog',
191 xns: Roo.bootstrap.panel,
192 title : "Title west" ,
196 html : 'some body west'
201 xns: Roo.bootstrap.panel,
207 activate : function()
209 this.grid.store.load.defer(100, this.grid.store);
213 xtype: 'NavSimplebar',
229 placeholder: 'a text input'
245 xtype : 'PagingToolbar',
248 '|xns' : 'Roo.bootstrap'
256 xtype : 'MemoryProxy',
258 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
259 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
260 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
261 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
262 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
263 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
264 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
265 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
266 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
267 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
268 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
269 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
270 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
271 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
277 xtype : 'ArrayReader',
280 {name: 'price', type: 'float'},
281 {name: 'change', type: 'float'},
282 {name: 'pctChange', type: 'float'},
283 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
295 dataIndex: 'company',
297 xtype : 'ColumnModel'
303 renderer: Roo.util.Format.usMoney,
306 xtype : 'ColumnModel'
316 xns: Roo.bootstrap.panel,
317 title : "Title Center",
321 html : 'some body center'
327 title : "Title Nest Center",
329 xns: Roo.bootstrap.panel,
334 xns: Roo.bootstrap.layout,
337 xns: Roo.bootstrap.layout,
348 xns: Roo.bootstrap.layout,
354 xns: Roo.bootstrap.panel,
357 html : 'some body south'
361 xns: Roo.bootstrap.panel,
364 html : 'some body center'
378 Roo.onReady(function() {
379 Roo.XComponent.is_alt = true;
380 Roo.XComponent.build();
381 //dRoo.bootstrap.Tooltip.init();
386 <body class="xtheme-gray">