Merge branch 'master' of http://git.roojs.com/roojs1
[roojs1] / examples / bootstrap / dashboard4.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5 dashboard4 = new Roo.XComponent({
6
7  _strings : {
8   '098f6bcd4621d373cade4e832627b4f6' :"test",
9   '9c1ab57e621c2bb257798752dbbe6f14' :"view source",
10   '292fa2a8793f6a1fce028684a46ff33c' :"Add a new Card",
11   'e93b3fa481be3932aa08bd68c3deee70' :"example 1",
12   '60ee66eb2cd31823032664c2e9a79fd5' :"body goes here",
13   'fb66f41b81f5973740bbfed019aa5d7d' :"Upload Images or Documents",
14   'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1"
15  },
16
17   part     :  ["bootstrap", "dashboard4" ],
18   order    : '001-dashboard-',
19   region   : 'center',
20   parent   : false,
21   name     : "unnamed module",
22   disabled : false, 
23   permname : '', 
24   _tree : function(_data)
25   {
26    var _this = this;
27    var MODULE = this;
28    return {
29    xtype : 'Body',
30    cls : 'skin-blue',
31    xns : Roo.bootstrap,
32    '|xns' : 'Roo.bootstrap',
33    items  : [
34     {
35      xtype : 'Container',
36      cls : 'content',
37      tag : 'section',
38      xns : Roo.bootstrap,
39      '|xns' : 'Roo.bootstrap',
40      items  : [
41       {
42        xtype : 'Button',
43        html : _this._strings['9c1ab57e621c2bb257798752dbbe6f14'] /* view source */,
44        listeners : {
45         click : function (btn, e)
46          {
47              // assumes installed as /roojs1.
48            Roo.docs.ViewSource.show({
49                src: '/roojs1/examples/bootstrap/dashboard4.js'
50            });
51          }
52        },
53        xns : Roo.bootstrap,
54        '|xns' : 'Roo.bootstrap'
55       },
56       {
57        xtype : 'Row',
58        xns : Roo.bootstrap,
59        '|xns' : 'Roo.bootstrap',
60        items  : [
61         {
62          xtype : 'Card',
63          cls : 'col-xs-12 column col-12',
64          dropable : true,
65          drop_group : 'cards',
66          footer : 'a footer',
67          header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
68          style : 'max-width:300px;margin: 0 12px;',
69          weight : 'danger',
70          xns : Roo.bootstrap,
71          '|xns' : 'Roo.bootstrap',
72          items  : [
73           {
74            xtype : 'Form',
75            xns : Roo.bootstrap,
76            '|xns' : 'Roo.bootstrap',
77            items  : [
78             {
79              xtype : 'Input',
80              before : '<i class=\"fa fa-plus\"></i>',
81              placeholder : _this._strings['292fa2a8793f6a1fce028684a46ff33c'] /* Add a new Card */,
82              xns : Roo.bootstrap,
83              '|xns' : 'Roo.bootstrap'
84             }
85            ]
86           },
87           {
88            xtype : 'Card',
89            collapsable : true,
90            dragable : true,
91            drag_group : 'cards',
92            header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
93            html : _this._strings['60ee66eb2cd31823032664c2e9a79fd5'] /* body goes here */,
94            margin_bottom : 3,
95            weight : 'light',
96            xns : Roo.bootstrap,
97            '|xns' : 'Roo.bootstrap'
98           },
99           {
100            xtype : 'Card',
101            dragable : true,
102            drag_group : 'cards',
103            header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
104            html : _this._strings['60ee66eb2cd31823032664c2e9a79fd5'] /* body goes here */,
105            margin_bottom : 3,
106            weight : 'light',
107            xns : Roo.bootstrap,
108            '|xns' : 'Roo.bootstrap'
109           }
110          ]
111         },
112         {
113          xtype : 'Card',
114          cls : 'column col-xs-12 col-12',
115          dropable : true,
116          drop_group : 'cards',
117          footer : 'a footer',
118          header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */,
119          style : 'max-width:300px;margin: 0 12px;',
120          weight : 'danger',
121          xns : Roo.bootstrap,
122          '|xns' : 'Roo.bootstrap',
123          items  : [
124           {
125            xtype : 'Card',
126            dragable : true,
127            drag_group : 'cards',
128            header : _this._strings['d9fb0367346d21079a1c52d72da61c9f'] /* ticket 1 */,
129            html : _this._strings['60ee66eb2cd31823032664c2e9a79fd5'] /* body goes here */,
130            margin_bottom : 3,
131            weight : 'light',
132            xns : Roo.bootstrap,
133            '|xns' : 'Roo.bootstrap'
134           }
135          ]
136         },
137         {
138          xtype : 'Card',
139          title : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
140          xns : Roo.bootstrap,
141          '|xns' : 'Roo.bootstrap',
142          items  : [
143           {
144            xtype : 'CardUploader',
145            html : _this._strings['fb66f41b81f5973740bbfed019aa5d7d'] /* Upload Images or Documents */,
146            xns : Roo.bootstrap,
147            '|xns' : 'Roo.bootstrap'
148           }
149          ]
150         }
151        ]
152       }
153      ]
154     }
155    ]
156   };  }
157 });