examples/bootstrap/dashboard1.bjs.GF13LX
[roojs1] / examples / bootstrap / dashboard1.bjs
1 {
2     "name" : "dashboard1",
3     "parent" : "",
4     "title" : "",
5     "path" : "/home/alan/gitlive/roojs1/examples/bootstrap/dashboard1.bjs",
6     "permname" : "",
7     "modOrder" : "001",
8     "items" : [
9         {
10             "String cls" : "skin-blue",
11             "xtype" : "Body",
12             "$ xns" : "Roo.bootstrap",
13             "items" : [
14                 {
15                     "String cls" : "header",
16                     "xtype" : "Container",
17                     "tag" : "header",
18                     "* xinclude" : "Dashboard.Header1",
19                     "$ xns" : "Roo.bootstrap"
20                 },
21                 {
22                     "String cls" : "wrapper row-offcanvas row-offcanvas-left",
23                     "xtype" : "Container",
24                     "flexy:include" : "Sidebar.html",
25                     "$ xns" : "Roo.bootstrap",
26                     "items" : [
27                         {
28                             "String tag" : "aside",
29                             "String cls" : "left-side sidebar-offcanvas",
30                             "xtype" : "Container",
31                             "* xinclude" : "Dashboard.Sidebar2",
32                             "$ xns" : "Roo.bootstrap"
33                         },
34                         {
35                             "String tag" : "aside",
36                             "String cls" : "right-side",
37                             "xtype" : "Container",
38                             "$ xns" : "Roo.bootstrap",
39                             "items" : [
40                                 {
41                                     "String tag" : "section",
42                                     "String cls" : "content-header",
43                                     "xtype" : "Container",
44                                     "$ xns" : "Roo.bootstrap",
45                                     "items" : [
46                                         {
47                                             "xtype" : "Header",
48                                             "$ xns" : "Roo.bootstrap",
49                                             "String html" : "General Form Elements  <small> Preview </small>"
50                                         }
51                                     ]
52                                 },
53                                 {
54                                     "String tag" : "section",
55                                     "String cls" : "content",
56                                     "xtype" : "Container",
57                                     "$ xns" : "Roo.bootstrap",
58                                     "items" : [
59                                         {
60                                             "xtype" : "Row",
61                                             "$ xns" : "Roo.bootstrap",
62                                             "items" : [
63                                                 {
64                                                     "Number md" : 6,
65                                                     "xtype" : "Column",
66                                                     "$ xns" : "Roo.bootstrap",
67                                                     "Number sm" : 12,
68                                                     "items" : [
69                                                         {
70                                                             "String cls" : "box box-primary",
71                                                             "xtype" : "Container",
72                                                             "$ xns" : "Roo.bootstrap",
73                                                             "items" : [
74                                                                 {
75                                                                     "String cls" : "box-header",
76                                                                     "xtype" : "Container",
77                                                                     "$ xns" : "Roo.bootstrap",
78                                                                     "items" : [
79                                                                         {
80                                                                             "String cls" : "box-title",
81                                                                             "xtype" : "Header",
82                                                                             "$ xns" : "Roo.bootstrap",
83                                                                             "Number level" : 3,
84                                                                             "String html" : "Quick Example"
85                                                                         }
86                                                                     ]
87                                                                 },
88                                                                 {
89                                                                     "xtype" : "Form",
90                                                                     "String labelAlign" : "top",
91                                                                     "$ xns" : "Roo.bootstrap",
92                                                                     "items" : [
93                                                                         {
94                                                                             "String cls" : "box-body",
95                                                                             "xtype" : "Container",
96                                                                             "$ xns" : "Roo.bootstrap",
97                                                                             "items" : [
98                                                                                 {
99                                                                                     "xtype" : "Input",
100                                                                                     "string placeholder" : "Enter email",
101                                                                                     "String fieldLabel" : "Email Address",
102                                                                                     "$ xns" : "Roo.bootstrap",
103                                                                                     "String vtype" : "email"
104                                                                                 },
105                                                                                 {
106                                                                                     "xtype" : "Input",
107                                                                                     "string placeholder" : "Enter password",
108                                                                                     "String inputType" : "password",
109                                                                                     "String fieldLabel" : "Password",
110                                                                                     "$ xns" : "Roo.bootstrap"
111                                                                                 },
112                                                                                 {
113                                                                                     "xtype" : "Input",
114                                                                                     "string placeholder" : "Enter email",
115                                                                                     "String inputType" : "file",
116                                                                                     "String fieldLabel" : "File Input",
117                                                                                     "$ xns" : "Roo.bootstrap"
118                                                                                 },
119                                                                                 {
120                                                                                     "xtype" : "CheckBox",
121                                                                                     "$ xns" : "Roo.bootstrap"
122                                                                                 },
123                                                                                 {
124                                                                                     "String weight" : "primary",
125                                                                                     "xtype" : "Button",
126                                                                                     "$ xns" : "Roo.bootstrap",
127                                                                                     "String html" : "Submit"
128                                                                                 }
129                                                                             ]
130                                                                         }
131                                                                     ]
132                                                                 }
133                                                             ]
134                                                         },
135                                                         {
136                                                             "String cls" : "box box-success",
137                                                             "xtype" : "Container",
138                                                             "$ xns" : "Roo.bootstrap",
139                                                             "items" : [
140                                                                 {
141                                                                     "String cls" : "box-header",
142                                                                     "xtype" : "Container",
143                                                                     "$ xns" : "Roo.bootstrap",
144                                                                     "items" : [
145                                                                         {
146                                                                             "String cls" : "box-title",
147                                                                             "xtype" : "Header",
148                                                                             "$ xns" : "Roo.bootstrap",
149                                                                             "Number level" : 3,
150                                                                             "String html" : "Different Height"
151                                                                         }
152                                                                     ]
153                                                                 },
154                                                                 {
155                                                                     "xtype" : "Form",
156                                                                     "String labelAlign" : "top",
157                                                                     "$ xns" : "Roo.bootstrap",
158                                                                     "items" : [
159                                                                         {
160                                                                             "String cls" : "box-body",
161                                                                             "xtype" : "Container",
162                                                                             "$ xns" : "Roo.bootstrap",
163                                                                             "items" : [
164                                                                                 {
165                                                                                     "xtype" : "Input",
166                                                                                     "string placeholder" : "size lg",
167                                                                                     "$ xns" : "Roo.bootstrap",
168                                                                                     "string size" : "lg"
169                                                                                 },
170                                                                                 {
171                                                                                     "xtype" : "Input",
172                                                                                     "string placeholder" : "size md",
173                                                                                     "$ xns" : "Roo.bootstrap",
174                                                                                     "string size" : "md"
175                                                                                 },
176                                                                                 {
177                                                                                     "xtype" : "Input",
178                                                                                     "string placeholder" : "size sm",
179                                                                                     "$ xns" : "Roo.bootstrap",
180                                                                                     "string size" : "sm"
181                                                                                 }
182                                                                             ]
183                                                                         }
184                                                                     ]
185                                                                 }
186                                                             ]
187                                                         },
188                                                         {
189                                                             "String cls" : "box box-danger",
190                                                             "xtype" : "Container",
191                                                             "$ xns" : "Roo.bootstrap",
192                                                             "items" : [
193                                                                 {
194                                                                     "String cls" : "box-header",
195                                                                     "xtype" : "Container",
196                                                                     "$ xns" : "Roo.bootstrap",
197                                                                     "items" : [
198                                                                         {
199                                                                             "String cls" : "box-title",
200                                                                             "xtype" : "Header",
201                                                                             "$ xns" : "Roo.bootstrap",
202                                                                             "Number level" : 3,
203                                                                             "String html" : "Different Width"
204                                                                         }
205                                                                     ]
206                                                                 },
207                                                                 {
208                                                                     "xtype" : "Form",
209                                                                     "String labelAlign" : "top",
210                                                                     "$ xns" : "Roo.bootstrap",
211                                                                     "items" : [
212                                                                         {
213                                                                             "String cls" : "box-body",
214                                                                             "xtype" : "Container",
215                                                                             "$ xns" : "Roo.bootstrap",
216                                                                             "items" : [
217                                                                                 {
218                                                                                     "xtype" : "Row",
219                                                                                     "$ xns" : "Roo.bootstrap",
220                                                                                     "items" : [
221                                                                                         {
222                                                                                             "Number md" : 3,
223                                                                                             "xtype" : "Input",
224                                                                                             "string placeholder" : "md 3",
225                                                                                             "$ xns" : "Roo.bootstrap",
226                                                                                             "string size" : "md"
227                                                                                         },
228                                                                                         {
229                                                                                             "Number md" : 3,
230                                                                                             "xtype" : "Input",
231                                                                                             "string placeholder" : "md 4",
232                                                                                             "$ xns" : "Roo.bootstrap",
233                                                                                             "string size" : "md"
234                                                                                         },
235                                                                                         {
236                                                                                             "Number md" : 5,
237                                                                                             "xtype" : "Input",
238                                                                                             "string placeholder" : "md 3",
239                                                                                             "$ xns" : "Roo.bootstrap",
240                                                                                             "string size" : "md"
241                                                                                         }
242                                                                                     ]
243                                                                                 }
244                                                                             ]
245                                                                         }
246                                                                     ]
247                                                                 }
248                                                             ]
249                                                         },
250                                                         {
251                                                             "String cls" : "box box-info",
252                                                             "xtype" : "Container",
253                                                             "$ xns" : "Roo.bootstrap",
254                                                             "items" : [
255                                                                 {
256                                                                     "String cls" : "box-header",
257                                                                     "xtype" : "Container",
258                                                                     "$ xns" : "Roo.bootstrap",
259                                                                     "items" : [
260                                                                         {
261                                                                             "String cls" : "box-title",
262                                                                             "xtype" : "Header",
263                                                                             "$ xns" : "Roo.bootstrap",
264                                                                             "Number level" : 3,
265                                                                             "String html" : "Input Addon"
266                                                                         }
267                                                                     ]
268                                                                 },
269                                                                 {
270                                                                     "xtype" : "Form",
271                                                                     "String labelAlign" : "top",
272                                                                     "$ xns" : "Roo.bootstrap",
273                                                                     "items" : [
274                                                                         {
275                                                                             "String cls" : "box-body",
276                                                                             "xtype" : "Container",
277                                                                             "$ xns" : "Roo.bootstrap",
278                                                                             "items" : [
279                                                                                 {
280                                                                                     "xtype" : "Input",
281                                                                                     "string placeholder" : "before : @",
282                                                                                     "$ xns" : "Roo.bootstrap",
283                                                                                     "string before" : "@",
284                                                                                     "string size" : "md"
285                                                                                 },
286                                                                                 {
287                                                                                     "xtype" : "Input",
288                                                                                     "string placeholder" : "after: .00",
289                                                                                     "$ xns" : "Roo.bootstrap",
290                                                                                     "string size" : "md",
291                                                                                     "string after" : 0
292                                                                                 },
293                                                                                 {
294                                                                                     "xtype" : "Input",
295                                                                                     "string placeholder" : "before $, after: .00",
296                                                                                     "$ xns" : "Roo.bootstrap",
297                                                                                     "string before" : "$",
298                                                                                     "string size" : "md",
299                                                                                     "string after" : 0
300                                                                                 },
301                                                                                 {
302                                                                                     "xtype" : "Header",
303                                                                                     "$ xns" : "Roo.bootstrap",
304                                                                                     "Number level" : 4,
305                                                                                     "String html" : "With Icons"
306                                                                                 },
307                                                                                 {
308                                                                                     "xtype" : "Input",
309                                                                                     "string placeholder" : "before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;",
310                                                                                     "$ xns" : "Roo.bootstrap",
311                                                                                     "string before" : "<i class=\"fa fa-envelope\"></i>",
312                                                                                     "string size" : "md"
313                                                                                 },
314                                                                                 {
315                                                                                     "xtype" : "Input",
316                                                                                     "string placeholder" : "after : &lt;i class=&quot;fa fa-after&quot;&gt;&lt;/i&gt;",
317                                                                                     "$ xns" : "Roo.bootstrap",
318                                                                                     "string size" : "md",
319                                                                                     "string after" : "<i class=\"fa fa-check\"></i>"
320                                                                                 },
321                                                                                 {
322                                                                                     "xtype" : "Input",
323                                                                                     "string placeholder" : "after : &lt;i class=&quot;fa fa-ambulance&quot;&gt;&lt;/i&gt; before : &lt;i class=&quot;fa fa-dollar&quot;&gt;&lt;/i&gt;",
324                                                                                     "$ xns" : "Roo.bootstrap",
325                                                                                     "string before" : "<i class=\"fa fa-dollar\"></i>",
326                                                                                     "string size" : "md",
327                                                                                     "string after" : "<i class=\"fa fa-ambulance\"></i>"
328                                                                                 },
329                                                                                 {
330                                                                                     "xtype" : "Header",
331                                                                                     "Number level" : 4,
332                                                                                     "$ xns" : "Roo.bootstrap",
333                                                                                     "String html" : "With checkbox and radio"
334                                                                                 },
335                                                                                 {
336                                                                                     "xtype" : "Row",
337                                                                                     "$ xns" : "Roo.bootstrap",
338                                                                                     "items" : [
339                                                                                         {
340                                                                                             "Number md" : 6,
341                                                                                             "xtype" : "Input",
342                                                                                             "string placeholder" : "?",
343                                                                                             "$ xns" : "Roo.bootstrap",
344                                                                                             "string before" : "fixme",
345                                                                                             "string size" : "md"
346                                                                                         },
347                                                                                         {
348                                                                                             "Number md" : 6,
349                                                                                             "xtype" : "Input",
350                                                                                             "string placeholder" : "md 4",
351                                                                                             "$ xns" : "Roo.bootstrap",
352                                                                                             "string size" : "md"
353                                                                                         }
354                                                                                     ]
355                                                                                 },
356                                                                                 {
357                                                                                     "xtype" : "Header",
358                                                                                     "$ xns" : "Roo.bootstrap",
359                                                                                     "Number level" : 4,
360                                                                                     "String html" : "With buttons"
361                                                                                 },
362                                                                                 {
363                                                                                     "xtype" : "Input",
364                                                                                     "string placeholder" : "before :  - an object...    ",
365                                                                                     "$ xns" : "Roo.bootstrap",
366                                                                                     "string size" : "md",
367                                                                                     "items" : [
368                                                                                         {
369                                                                                             "listeners" : {
370                                                                                                 "render" : "function (_self)\n{\n    _this.httpButton = _self;\n}"
371                                                                                             },
372                                                                                             "String weight" : "primary",
373                                                                                             "xtype" : "Button",
374                                                                                             "$ xns" : "Roo.bootstrap",
375                                                                                             "String html" : "http://",
376                                                                                             "* prop" : "before",
377                                                                                             "items" : [
378                                                                                                 {
379                                                                                                     "xtype" : "Menu",
380                                                                                                     "$ xns" : "Roo.bootstrap",
381                                                                                                     "* prop" : "menu",
382                                                                                                     "items" : [
383                                                                                                         {
384                                                                                                             "listeners" : {
385                                                                                                                 "click" : "function (e)\n{\n    _this.httpButton.setText(\"http://\");\n}"
386                                                                                                             },
387                                                                                                             "xtype" : "MenuItem",
388                                                                                                             "$ xns" : "Roo.bootstrap",
389                                                                                                             "String html" : "http://"
390                                                                                                         },
391                                                                                                         {
392                                                                                                             "listeners" : {
393                                                                                                                 "click" : "function (e)\n{\n    _this.httpButton.setText(\"https://\");\n}"
394                                                                                                             },
395                                                                                                             "xtype" : "MenuItem",
396                                                                                                             "$ xns" : "Roo.bootstrap",
397                                                                                                             "String html" : "https://"
398                                                                                                         }
399                                                                                                     ]
400                                                                                                 }
401                                                                                             ]
402                                                                                         }
403                                                                                     ]
404                                                                                 },
405                                                                                 {
406                                                                                     "xtype" : "Input",
407                                                                                     "string placeholder" : "after - a button",
408                                                                                     "$ xns" : "Roo.bootstrap",
409                                                                                     "string size" : "md",
410                                                                                     "items" : [
411                                                                                         {
412                                                                                             "String weight" : "success",
413                                                                                             "xtype" : "Button",
414                                                                                             "$ xns" : "Roo.bootstrap",
415                                                                                             "String html" : "Go",
416                                                                                             "* prop" : "after"
417                                                                                         }
418                                                                                     ]
419                                                                                 }
420                                                                             ]
421                                                                         }
422                                                                     ]
423                                                                 }
424                                                             ]
425                                                         }
426                                                     ]
427                                                 },
428                                                 {
429                                                     "Number md" : 6,
430                                                     "xtype" : "Column",
431                                                     "$ xns" : "Roo.bootstrap",
432                                                     "Number sm" : 12,
433                                                     "items" : [
434                                                         {
435                                                             "String cls" : "box box-warning",
436                                                             "xtype" : "Container",
437                                                             "$ xns" : "Roo.bootstrap",
438                                                             "items" : [
439                                                                 {
440                                                                     "String cls" : "box-header",
441                                                                     "xtype" : "Container",
442                                                                     "$ xns" : "Roo.bootstrap",
443                                                                     "items" : [
444                                                                         {
445                                                                             "String cls" : "box-title",
446                                                                             "xtype" : "Header",
447                                                                             "$ xns" : "Roo.bootstrap",
448                                                                             "Number level" : 3,
449                                                                             "String html" : "General Elements"
450                                                                         }
451                                                                     ]
452                                                                 },
453                                                                 {
454                                                                     "xtype" : "Form",
455                                                                     "String labelAlign" : "top",
456                                                                     "$ xns" : "Roo.bootstrap",
457                                                                     "items" : [
458                                                                         {
459                                                                             "String cls" : "box-body",
460                                                                             "xtype" : "Container",
461                                                                             "$ xns" : "Roo.bootstrap",
462                                                                             "items" : [
463                                                                                 {
464                                                                                     "xtype" : "Input",
465                                                                                     "string placeholder" : "Enter ...",
466                                                                                     "String fieldLabel" : "Text",
467                                                                                     "$ xns" : "Roo.bootstrap"
468                                                                                 },
469                                                                                 {
470                                                                                     "xtype" : "Input",
471                                                                                     "string placeholder" : "disabled = true",
472                                                                                     "Boolean disabled" : true,
473                                                                                     "String fieldLabel" : "Text",
474                                                                                     "$ xns" : "Roo.bootstrap"
475                                                                                 },
476                                                                                 {
477                                                                                     "xtype" : "TextArea",
478                                                                                     "$ xns" : "Roo.bootstrap",
479                                                                                     "String fieldLabel" : "Textarea"
480                                                                                 },
481                                                                                 {
482                                                                                     "xtype" : "TextArea",
483                                                                                     "string placeholder" : "disabled=true",
484                                                                                     "Boolean disabled" : true,
485                                                                                     "$ xns" : "Roo.bootstrap",
486                                                                                     "String fieldLabel" : "Textarea"
487                                                                                 },
488                                                                                 {
489                                                                                     "String cls" : "has-success",
490                                                                                     "xtype" : "Input",
491                                                                                     "string placeholder" : "cls = has-success",
492                                                                                     "String fieldLabel" : "Input with Success",
493                                                                                     "$ xns" : "Roo.bootstrap"
494                                                                                 },
495                                                                                 {
496                                                                                     "String cls" : "has-warning",
497                                                                                     "xtype" : "Input",
498                                                                                     "string placeholder" : "cls = has-warning",
499                                                                                     "String fieldLabel" : "Input with Warning",
500                                                                                     "$ xns" : "Roo.bootstrap"
501                                                                                 },
502                                                                                 {
503                                                                                     "String cls" : "has-error",
504                                                                                     "xtype" : "Input",
505                                                                                     "string placeholder" : "cls = has-error",
506                                                                                     "String fieldLabel" : "Input with Error",
507                                                                                     "$ xns" : "Roo.bootstrap"
508                                                                                 },
509                                                                                 {
510                                                                                     "xtype" : "CheckBox",
511                                                                                     "String boxLabel" : "Checkbox 1",
512                                                                                     "$ xns" : "Roo.bootstrap"
513                                                                                 }
514                                                                             ]
515                                                                         }
516                                                                     ]
517                                                                 }
518                                                             ]
519                                                         }
520                                                     ]
521                                                 }
522                                             ]
523                                         }
524                                     ]
525                                 }
526                             ]
527                         }
528                     ]
529                 }
530             ]
531         }
532     ]
533 }