1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 dashboard3 = new Roo.XComponent({
8 '1f9ff97aa2f49a79388004e1e57f2320' :"New Orders ",
9 'fc0d5184491559c092364744b2247373' :"first tab",
10 '30bd2ce65d1e43e9c498b7d5d49f3b78' :"Dashboard <small> Example Control panel </small>",
11 'b73ce398c39f506af761d2277d853a92' :"160",
12 '7ef605fc8dba5425d6965fbd4c8fbe1f' :"150",
13 '70ce2e7a27cab2a670ca954f8362e19f' :"tab 2 content",
14 'f3ff0ceca73743a13990e970c318fc36' :"<span class=\"glyphicon glyphicon-chevron-left\"></span>",
15 '34ae6773410925b4574e656be194f0ad' :"income",
16 'e864378363f435160e7c2209cc2949b7' :"<span class=\"glyphicon glyphicon-chevron-right\"></span>",
17 '1d17cb9923b99f823da9f5a16dc460e5' :"Department",
18 '222a267cc5778206b253be35ee3ddab5' :"Current",
19 '75f1bb6830981ca0ce62c3eb434373ba' :"Table tabs",
20 'c4f5a294a273c3a1c97642a76f15c5c7' :"tab 1",
21 '2d0175894e0fe09186d38fe7a7160294' :"second tab",
22 '1b9b097340a24b31632ed601a9107832' :"This is a random string ",
23 '9fc10133312e352754f8ca264a3e272d' :"New Orders",
24 '9a7b64c98b066602b21f869ae7cd673a' :"test 1",
25 '58a00f6a3da23fc3821f24115493b750' :"tab 2",
26 '3c8d74bd7be3168fe440d9c85da42be8' :"<b> Alert </b> test alert",
27 'd80590035c13589acfbdd2b2dcb60773' :"Aspire"
30 part : ["bootstrap", "dashboard3" ],
31 order : '001-dashboard-',
34 name : "unnamed module",
42 '|xns' : 'Roo.bootstrap',
47 Roo.apply(Dashboard.Header1._tree(), {
48 '|xns' : 'Roo.bootstrap',
55 '|xns' : 'Roo.bootstrap',
56 cls : 'wrapper row-offcanvas row-offcanvas-left',
57 'flexy:include' : 'Sidebar.html',
61 Roo.apply(Dashboard.Sidebar2._tree(), {
62 '|xns' : 'Roo.bootstrap',
63 cls : 'left-side sidebar-offcanvas',
69 '|xns' : 'Roo.bootstrap',
76 '|xns' : 'Roo.bootstrap',
77 cls : 'content-header',
83 '|xns' : 'Roo.bootstrap',
84 html : _this._strings['30bd2ce65d1e43e9c498b7d5d49f3b78'],
92 '|xns' : 'Roo.bootstrap',
99 '|xns' : 'Roo.bootstrap',
104 '|xns' : 'Roo.bootstrap',
111 '|xns' : 'Roo.bootstrap.dash',
112 _aformat : _this._strings['1b9b097340a24b31632ed601a9107832'],
118 title : _this._strings['1f9ff97aa2f49a79388004e1e57f2320'],
120 xns : Roo.bootstrap.dash,
127 '|xns' : 'Roo.bootstrap',
134 '|xns' : 'Roo.bootstrap.dash',
140 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
142 xns : Roo.bootstrap.dash,
149 '|xns' : 'Roo.bootstrap',
156 '|xns' : 'Roo.bootstrap.dash',
161 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
163 xns : Roo.bootstrap.dash,
170 '|xns' : 'Roo.bootstrap',
177 '|xns' : 'Roo.bootstrap.dash',
182 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
184 xns : Roo.bootstrap.dash,
194 '|xns' : 'Roo.bootstrap',
199 '|xns' : 'Roo.bootstrap',
202 html : _this._strings['3c8d74bd7be3168fe440d9c85da42be8'],
210 '|xns' : 'Roo.bootstrap',
215 '|xns' : 'Roo.bootstrap',
224 '|xns' : 'Roo.bootstrap.dash',
225 title : _this._strings['9a7b64c98b066602b21f869ae7cd673a'],
226 xns : Roo.bootstrap.dash,
229 render : function (_self)
231 _this.testbox = _self;
236 '|xns' : 'Roo.bootstrap.dash',
237 title : _this._strings['75f1bb6830981ca0ce62c3eb434373ba'],
238 xns : Roo.bootstrap.dash,
242 '|xns' : 'Roo.bootstrap',
250 [ 'A TEST', '1', '0' ],
252 [ 'B test', '1', '0' ],
253 [ 'C test', '1', '0' ],
254 [ 'D test', '1', '0' ]
256 fields : [ 'display_name', 'current', 'aspire' ],
259 xtype : 'SimpleStore'
261 '|xns' : 'Roo.bootstrap',
262 CellSelection : true,
269 dataIndex : 'display_name',
270 header : _this._strings['1d17cb9923b99f823da9f5a16dc460e5'],
272 xtype : 'ColumnModel'
276 dataIndex : 'current',
277 header : _this._strings['222a267cc5778206b253be35ee3ddab5'],
278 renderer : function(v) {
280 var state = v> 0 ? '-checked' : '';
282 return v*1 > 0 ? 'X' : '-';
286 xtype : 'ColumnModel'
290 dataIndex : 'aspire',
291 header : _this._strings['d80590035c13589acfbdd2b2dcb60773'],
292 renderer : function(v) {
293 var state = v> 0 ? '-checked' : '';
294 return v*1 > 0 ? 'X' : '-';
297 xtype : 'ColumnModel'
301 cellclick : function (_self, el, rowIndex, columnIndex, e)
305 var cm = this.colModel.getColumnById(this.colModel.getColumnId(columnIndex));
306 if (cm.dataIndex == 'current') {
307 var rec = _this.listTable.ds.getAt(rowIndex);
309 rec.set('current', rec.data.current * 1 ? '0' : '1');
311 //_this.listTable.ds.fireEvent("datachanged", this);
315 if (cm.dataIndex == 'aspire') {
316 var rec = _this.listTable.ds.getAt(rowIndex);
318 rec.set('aspire', rec.data.aspire * 1 ? '0' : '1');
320 //_this.listTable.ds.fireEvent("datachanged", this);
327 render : function (_self)
329 _this.listTable = _self;
330 (function() { _self.store.load({}); }).defer(100)
345 '|xns' : 'Roo.bootstrap.dash',
346 title : _this._strings['58a00f6a3da23fc3821f24115493b750'],
347 xns : Roo.bootstrap.dash,
351 '|xns' : 'Roo.bootstrap',
352 html : _this._strings['70ce2e7a27cab2a670ca954f8362e19f'],
366 '|xns' : 'Roo.bootstrap',
375 '|xns' : 'Roo.bootstrap',
376 cls : 'nav-tabs-custom',
381 '|xns' : 'Roo.bootstrap',
382 html : _this._strings['34ae6773410925b4574e656be194f0ad'],
383 style : 'margin: 10,10,0,0',
397 '|xns' : 'Roo.bootstrap',
402 '|xns' : 'Roo.bootstrap',
411 '|xns' : 'Roo.bootstrap.dash',
412 title : _this._strings['9a7b64c98b066602b21f869ae7cd673a'],
413 xns : Roo.bootstrap.dash,
416 render : function (_self)
418 _this.testbox = _self;
423 '|xns' : 'Roo.bootstrap.dash',
424 title : _this._strings['c4f5a294a273c3a1c97642a76f15c5c7'],
425 xns : Roo.bootstrap.dash,
429 '|xns' : 'Roo.bootstrap',
437 '|xns' : 'Roo.bootstrap.dash',
438 title : _this._strings['58a00f6a3da23fc3821f24115493b750'],
439 xns : Roo.bootstrap.dash,
443 '|xns' : 'Roo.bootstrap',
444 html : _this._strings['70ce2e7a27cab2a670ca954f8362e19f'],
458 '|xns' : 'Roo.bootstrap',
467 '|xns' : 'Roo.bootstrap',
468 cls : 'nav-tabs-custom',
473 '|xns' : 'Roo.bootstrap',
474 html : _this._strings['34ae6773410925b4574e656be194f0ad'],
475 style : 'margin: 10,10,0,0',
489 '|xns' : 'Roo.bootstrap',
494 '|xns' : 'Roo.bootstrap',
501 render : function (_self)
503 _this.tabgroup = _self;
508 '|xns' : 'Roo.bootstrap',
516 render : function (_self)
518 _this.tab_second = _self;
523 '|xns' : 'Roo.bootstrap',
524 html : _this._strings['fc0d5184491559c092364744b2247373'],
530 '|xns' : 'Roo.bootstrap',
531 style : 'padding-left:50px;padding-right:50px;',
537 '|xns' : 'Roo.bootstrap',
542 '|xns' : 'Roo.bootstrap',
548 '|xns' : 'Roo.bootstrap',
550 fieldLabel : 'Some input',
552 name : 'chosen_title',
569 '|xns' : 'Roo.bootstrap',
577 render : function (_self)
579 _this.tab_first = _self;
584 '|xns' : 'Roo.bootstrap',
585 html : _this._strings['2d0175894e0fe09186d38fe7a7160294'],
591 '|xns' : 'Roo.bootstrap',
592 style : 'padding-left:50px;padding-right:50px;',
598 '|xns' : 'Roo.bootstrap',
603 '|xns' : 'Roo.bootstrap',
609 '|xns' : 'Roo.bootstrap',
611 fieldLabel : 'This is a label',
613 name : 'chosen_title',
630 '|xns' : 'Roo.bootstrap',
631 cls : 'carousel-control left',
632 html : _this._strings['f3ff0ceca73743a13990e970c318fc36'],
633 preventDefault : true,
639 _this.tabgroup.showPanelPrev();
644 '|xns' : 'Roo.bootstrap',
645 cls : 'carousel-control right',
646 html : _this._strings['e864378363f435160e7c2209cc2949b7'],
647 preventDefault : true,
653 _this.tabgroup.showPanelNext();