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 'c4f5a294a273c3a1c97642a76f15c5c7' :"tab 1",
20 '2d0175894e0fe09186d38fe7a7160294' :"second tab",
21 '1b9b097340a24b31632ed601a9107832' :"This is a random string ",
22 '9fc10133312e352754f8ca264a3e272d' :"New Orders",
23 '9a7b64c98b066602b21f869ae7cd673a' :"test 1",
24 '58a00f6a3da23fc3821f24115493b750' :"tab 2",
25 '3c8d74bd7be3168fe440d9c85da42be8' :"<b> Alert </b> test alert",
26 'd80590035c13589acfbdd2b2dcb60773' :"Aspire"
29 part : ["bootstrap", "dashboard3" ],
30 order : '001-dashboard-',
33 name : "unnamed module",
41 '|xns' : 'Roo.bootstrap',
46 Roo.apply(Dashboard.Header1._tree(), {
47 '|xns' : 'Roo.bootstrap',
54 '|xns' : 'Roo.bootstrap',
55 cls : 'wrapper row-offcanvas row-offcanvas-left',
56 'flexy:include' : 'Sidebar.html',
60 Roo.apply(Dashboard.Sidebar2._tree(), {
61 '|xns' : 'Roo.bootstrap',
62 cls : 'left-side sidebar-offcanvas',
68 '|xns' : 'Roo.bootstrap',
75 '|xns' : 'Roo.bootstrap',
76 cls : 'content-header',
82 '|xns' : 'Roo.bootstrap',
83 html : _this._strings['30bd2ce65d1e43e9c498b7d5d49f3b78'],
91 '|xns' : 'Roo.bootstrap',
98 '|xns' : 'Roo.bootstrap',
103 '|xns' : 'Roo.bootstrap',
110 '|xns' : 'Roo.bootstrap.dash',
111 _aformat : _this._strings['1b9b097340a24b31632ed601a9107832'],
117 title : _this._strings['1f9ff97aa2f49a79388004e1e57f2320'],
119 xns : Roo.bootstrap.dash,
126 '|xns' : 'Roo.bootstrap',
133 '|xns' : 'Roo.bootstrap.dash',
139 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
141 xns : Roo.bootstrap.dash,
148 '|xns' : 'Roo.bootstrap',
155 '|xns' : 'Roo.bootstrap.dash',
160 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
162 xns : Roo.bootstrap.dash,
169 '|xns' : 'Roo.bootstrap',
176 '|xns' : 'Roo.bootstrap.dash',
181 title : _this._strings['9fc10133312e352754f8ca264a3e272d'],
183 xns : Roo.bootstrap.dash,
193 '|xns' : 'Roo.bootstrap',
198 '|xns' : 'Roo.bootstrap',
201 html : _this._strings['3c8d74bd7be3168fe440d9c85da42be8'],
209 '|xns' : 'Roo.bootstrap',
214 '|xns' : 'Roo.bootstrap',
223 '|xns' : 'Roo.bootstrap.dash',
224 title : _this._strings['9a7b64c98b066602b21f869ae7cd673a'],
225 xns : Roo.bootstrap.dash,
228 render : function (_self)
230 _this.testbox = _self;
235 '|xns' : 'Roo.bootstrap.dash',
236 title : _this._strings['c4f5a294a273c3a1c97642a76f15c5c7'],
237 xns : Roo.bootstrap.dash,
241 '|xns' : 'Roo.bootstrap',
249 [ 'A TEST', '1', '0' ],
251 [ 'B test', '1', '0' ],
252 [ 'C test', '1', '0' ],
253 [ 'D test', '1', '0' ]
255 fields : [ 'display_name', 'current', 'aspire' ],
258 xtype : 'SimpleStore'
260 '|xns' : 'Roo.bootstrap',
261 CellSelection : true,
268 dataIndex : 'display_name',
269 header : _this._strings['1d17cb9923b99f823da9f5a16dc460e5'],
271 xtype : 'ColumnModel'
275 dataIndex : 'current',
276 header : _this._strings['222a267cc5778206b253be35ee3ddab5'],
277 renderer : function(v) {
279 var state = v> 0 ? '-checked' : '';
281 return v*1 > 0 ? 'X' : '-';
285 xtype : 'ColumnModel'
289 dataIndex : 'aspire',
290 header : _this._strings['d80590035c13589acfbdd2b2dcb60773'],
291 renderer : function(v) {
292 var state = v> 0 ? '-checked' : '';
293 return v*1 > 0 ? 'X' : '-';
296 xtype : 'ColumnModel'
300 cellclick : function (_self, el, rowIndex, columnIndex, e)
304 var cm = this.colModel.getColumnById(this.colModel.getColumnId(columnIndex));
305 if (cm.dataIndex == 'current') {
306 var rec = _this.listTable.ds.getAt(rowIndex);
308 rec.set('current', rec.data.current * 1 ? '0' : '1');
310 //_this.listTable.ds.fireEvent("datachanged", this);
314 if (cm.dataIndex == 'aspire') {
315 var rec = _this.listTable.ds.getAt(rowIndex);
317 rec.set('aspire', rec.data.aspire * 1 ? '0' : '1');
319 //_this.listTable.ds.fireEvent("datachanged", this);
326 render : function (_self)
328 _this.listTable = _self;
329 (function() { _self.store.load({}); }).defer(100)
344 '|xns' : 'Roo.bootstrap.dash',
345 title : _this._strings['58a00f6a3da23fc3821f24115493b750'],
346 xns : Roo.bootstrap.dash,
350 '|xns' : 'Roo.bootstrap',
351 html : _this._strings['70ce2e7a27cab2a670ca954f8362e19f'],
365 '|xns' : 'Roo.bootstrap',
374 '|xns' : 'Roo.bootstrap',
375 cls : 'nav-tabs-custom',
380 '|xns' : 'Roo.bootstrap',
381 html : _this._strings['34ae6773410925b4574e656be194f0ad'],
382 style : 'margin: 10,10,0,0',
396 '|xns' : 'Roo.bootstrap',
401 '|xns' : 'Roo.bootstrap',
410 '|xns' : 'Roo.bootstrap.dash',
411 title : _this._strings['9a7b64c98b066602b21f869ae7cd673a'],
412 xns : Roo.bootstrap.dash,
415 render : function (_self)
417 _this.testbox = _self;
422 '|xns' : 'Roo.bootstrap.dash',
423 title : _this._strings['c4f5a294a273c3a1c97642a76f15c5c7'],
424 xns : Roo.bootstrap.dash,
428 '|xns' : 'Roo.bootstrap',
436 '|xns' : 'Roo.bootstrap.dash',
437 title : _this._strings['58a00f6a3da23fc3821f24115493b750'],
438 xns : Roo.bootstrap.dash,
442 '|xns' : 'Roo.bootstrap',
443 html : _this._strings['70ce2e7a27cab2a670ca954f8362e19f'],
457 '|xns' : 'Roo.bootstrap',
466 '|xns' : 'Roo.bootstrap',
467 cls : 'nav-tabs-custom',
472 '|xns' : 'Roo.bootstrap',
473 html : _this._strings['34ae6773410925b4574e656be194f0ad'],
474 style : 'margin: 10,10,0,0',
488 '|xns' : 'Roo.bootstrap',
493 '|xns' : 'Roo.bootstrap',
500 render : function (_self)
502 _this.tabgroup = _self;
507 '|xns' : 'Roo.bootstrap',
515 render : function (_self)
517 _this.tab_second = _self;
522 '|xns' : 'Roo.bootstrap',
523 html : _this._strings['fc0d5184491559c092364744b2247373'],
529 '|xns' : 'Roo.bootstrap',
530 style : 'padding-left:50px;padding-right:50px;',
536 '|xns' : 'Roo.bootstrap',
541 '|xns' : 'Roo.bootstrap',
547 '|xns' : 'Roo.bootstrap',
549 fieldLabel : 'Some input',
551 name : 'chosen_title',
568 '|xns' : 'Roo.bootstrap',
576 render : function (_self)
578 _this.tab_first = _self;
583 '|xns' : 'Roo.bootstrap',
584 html : _this._strings['2d0175894e0fe09186d38fe7a7160294'],
590 '|xns' : 'Roo.bootstrap',
591 style : 'padding-left:50px;padding-right:50px;',
597 '|xns' : 'Roo.bootstrap',
602 '|xns' : 'Roo.bootstrap',
608 '|xns' : 'Roo.bootstrap',
610 fieldLabel : 'This is a label',
612 name : 'chosen_title',
629 '|xns' : 'Roo.bootstrap',
630 cls : 'carousel-control left',
631 html : _this._strings['f3ff0ceca73743a13990e970c318fc36'],
632 preventDefault : true,
638 _this.tabgroup.showPanelPrev();
643 '|xns' : 'Roo.bootstrap',
644 cls : 'carousel-control right',
645 html : _this._strings['e864378363f435160e7c2209cc2949b7'],
646 preventDefault : true,
652 _this.tabgroup.showPanelNext();