3 porting tst for layout classes from original roo library into bootstrap one.
9 <title>Nested Layout</title>
12 <link rel="stylesheet" href="../../css-bootstrap/bootstrap.min.css">
14 <link href="../../css-bootstrap/font-awesome.css" rel="stylesheet" type="text/css" />
16 <link href="../../css-bootstrap/roojs-bootstrap-debug.css" rel="stylesheet" type="text/css" />
18 <!-- <link href="../../../bootswatch/material-kit/css/material-kit.css" rel="stylesheet"> -->
22 <script type="text/javascript" src="../../roojs-core-debug.js"></script>
23 <!-- bootstrap js.. needs to compile it later.. -->
24 <script type="text/javascript" src="../../roojs-bootstrap-debug.js"></script>
26 <script type="text/javascript" src="../../Roo/bootstrap/layout/Border.js"></script>
27 <script type="text/javascript" src="../../Roo/bootstrap/panel/Content.js"></script>
29 <script type="text/javascript" src="../../Roo/bootstrap//Table.js"></script>
30 <script type="text/javascript" src="../../Roo/bootstrap//Table/AbstractSelectionModel.js"></script>
31 <script type="text/javascript" src="../../Roo/bootstrap//Table/RowSelectionModel.js"></script>
33 <script type="text/javascript" src="../../Roo/bootstrap/panel/Grid.js"></script>
36 <script type="text/javascript" src="../../Roo/bootstrap/Input.js"></script>
40 <script type="text/javascript">
42 Roo.namespace("Dashboard");
45 <script type="text/javascript" src="Dashboard.Header1.js"></script>
46 <script type="text/javascript" src="./nested-dialog.js"></script>
50 <style type="text/css">
56 .table-body-fixed tbody {
60 .table-body-fixed thead,
61 .table-body-fixed tbody,
63 .table-body-fixed th {
66 .table-body-fixed thead {
71 .table-body-fixed tbody td,
72 .table-body-fixed thead > tr> th {
74 border-bottom-width: 0;
76 .table-body-fixed thead > tr,
77 .table-body-fixed tbody > tr
84 <script type="text/javascript">
86 Roo.namespace("Example");
88 Example.Nested = new Roo.XComponent({
89 part : ["example", "nested" ],
90 order : '001-Example-Nested',
93 name : "unnamed module",
103 xns : Roo.bootstrap.layout,
104 el : document.body, // border layout can be applied to the outer one...
107 xns: Roo.bootstrap.layout,
112 // collapsible: true,
118 xns: Roo.bootstrap.layout,
119 overflow : 'visible',
127 xns: Roo.bootstrap.layout,
135 xns: Roo.bootstrap.panel,
136 title : "Title west" ,
143 position : 'static-top',
144 xtype : 'NavHeaderbar',
149 cls : 'navbar-btn sidebar-toggle',
152 html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
177 Example.NestedDialog.show({});
180 html : 'test dialog',
203 xns: Roo.bootstrap.panel,
204 title : "Title west" ,
208 html : 'some body west'
213 xns: Roo.bootstrap.panel,
219 activate : function()
221 this.grid.store.load.defer(100, this.grid.store);
225 xtype: 'NavSimplebar',
241 placeholder: 'a text input'
257 xtype : 'PagingToolbar',
260 '|xns' : 'Roo.bootstrap'
268 xtype : 'MemoryProxy',
270 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
271 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
272 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
273 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
274 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
275 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
276 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
277 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
278 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
279 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
280 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
281 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
282 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
283 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
289 xtype : 'ArrayReader',
292 {name: 'price', type: 'float'},
293 {name: 'change', type: 'float'},
294 {name: 'pctChange', type: 'float'},
295 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
307 dataIndex: 'company',
309 xtype : 'ColumnModel'
315 renderer: Roo.util.Format.usMoney,
318 xtype : 'ColumnModel'
328 xns: Roo.bootstrap.panel,
329 title : "Title Center",
333 html : 'some body center'
339 title : "Title Nest Center",
341 xns: Roo.bootstrap.panel,
346 xns: Roo.bootstrap.layout,
349 xns: Roo.bootstrap.layout,
360 xns: Roo.bootstrap.layout,
366 xns: Roo.bootstrap.panel,
369 html : 'some body south'
373 xns: Roo.bootstrap.panel,
376 html : 'some body center'
390 Roo.onReady(function() {
391 Roo.XComponent.is_alt = true;
392 Roo.XComponent.build();
393 //dRoo.bootstrap.Tooltip.init();
398 <body class="xtheme-gray">