examples/bootstrap/dashboard1.bjs.M0VFMX
[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                                                                                 },
104                                                                                 {
105                                                                                     "xtype" : "Input",
106                                                                                     "string placeholder" : "Enter password",
107                                                                                     "String inputType" : "password",
108                                                                                     "String fieldLabel" : "Password",
109                                                                                     "$ xns" : "Roo.bootstrap"
110                                                                                 },
111                                                                                 {
112                                                                                     "xtype" : "Input",
113                                                                                     "string placeholder" : "Enter email",
114                                                                                     "String inputType" : "file",
115                                                                                     "String fieldLabel" : "File Input",
116                                                                                     "$ xns" : "Roo.bootstrap"
117                                                                                 },
118                                                                                 {
119                                                                                     "xtype" : "Input",
120                                                                                     "String inputType" : "checkbox",
121                                                                                     "$ xns" : "Roo.bootstrap",
122                                                                                     "String fieldLabel" : "Fixme - checkbox type"
123                                                                                 },
124                                                                                 {
125                                                                                     "String weight" : "primary",
126                                                                                     "xtype" : "Button",
127                                                                                     "$ xns" : "Roo.bootstrap",
128                                                                                     "String html" : "Submit"
129                                                                                 }
130                                                                             ]
131                                                                         }
132                                                                     ]
133                                                                 }
134                                                             ]
135                                                         },
136                                                         {
137                                                             "String cls" : "box box-success",
138                                                             "xtype" : "Container",
139                                                             "$ xns" : "Roo.bootstrap",
140                                                             "items" : [
141                                                                 {
142                                                                     "String cls" : "box-header",
143                                                                     "xtype" : "Container",
144                                                                     "$ xns" : "Roo.bootstrap",
145                                                                     "items" : [
146                                                                         {
147                                                                             "String cls" : "box-title",
148                                                                             "xtype" : "Header",
149                                                                             "$ xns" : "Roo.bootstrap",
150                                                                             "Number level" : 3,
151                                                                             "String html" : "Different Height"
152                                                                         }
153                                                                     ]
154                                                                 },
155                                                                 {
156                                                                     "xtype" : "Form",
157                                                                     "String labelAlign" : "top",
158                                                                     "$ xns" : "Roo.bootstrap",
159                                                                     "items" : [
160                                                                         {
161                                                                             "String cls" : "box-body",
162                                                                             "xtype" : "Container",
163                                                                             "$ xns" : "Roo.bootstrap",
164                                                                             "items" : [
165                                                                                 {
166                                                                                     "xtype" : "Input",
167                                                                                     "string placeholder" : "size lg",
168                                                                                     "$ xns" : "Roo.bootstrap",
169                                                                                     "string size" : "lg"
170                                                                                 },
171                                                                                 {
172                                                                                     "xtype" : "Input",
173                                                                                     "string placeholder" : "size md",
174                                                                                     "$ xns" : "Roo.bootstrap",
175                                                                                     "string size" : "md"
176                                                                                 },
177                                                                                 {
178                                                                                     "xtype" : "Input",
179                                                                                     "string placeholder" : "size sm",
180                                                                                     "$ xns" : "Roo.bootstrap",
181                                                                                     "string size" : "sm"
182                                                                                 }
183                                                                             ]
184                                                                         }
185                                                                     ]
186                                                                 }
187                                                             ]
188                                                         },
189                                                         {
190                                                             "String cls" : "box box-danger",
191                                                             "xtype" : "Container",
192                                                             "$ xns" : "Roo.bootstrap",
193                                                             "items" : [
194                                                                 {
195                                                                     "String cls" : "box-header",
196                                                                     "xtype" : "Container",
197                                                                     "$ xns" : "Roo.bootstrap",
198                                                                     "items" : [
199                                                                         {
200                                                                             "String cls" : "box-title",
201                                                                             "xtype" : "Header",
202                                                                             "$ xns" : "Roo.bootstrap",
203                                                                             "Number level" : 3,
204                                                                             "String html" : "Different Width"
205                                                                         }
206                                                                     ]
207                                                                 },
208                                                                 {
209                                                                     "xtype" : "Form",
210                                                                     "String labelAlign" : "top",
211                                                                     "$ xns" : "Roo.bootstrap",
212                                                                     "items" : [
213                                                                         {
214                                                                             "String cls" : "box-body",
215                                                                             "xtype" : "Container",
216                                                                             "$ xns" : "Roo.bootstrap",
217                                                                             "items" : [
218                                                                                 {
219                                                                                     "xtype" : "Row",
220                                                                                     "$ xns" : "Roo.bootstrap",
221                                                                                     "items" : [
222                                                                                         {
223                                                                                             "Number md" : 3,
224                                                                                             "xtype" : "Input",
225                                                                                             "string placeholder" : "md 3",
226                                                                                             "$ xns" : "Roo.bootstrap",
227                                                                                             "string size" : "md"
228                                                                                         },
229                                                                                         {
230                                                                                             "Number md" : 3,
231                                                                                             "xtype" : "Input",
232                                                                                             "string placeholder" : "md 4",
233                                                                                             "$ xns" : "Roo.bootstrap",
234                                                                                             "string size" : "md"
235                                                                                         },
236                                                                                         {
237                                                                                             "Number md" : 5,
238                                                                                             "xtype" : "Input",
239                                                                                             "string placeholder" : "md 3",
240                                                                                             "$ xns" : "Roo.bootstrap",
241                                                                                             "string size" : "md"
242                                                                                         }
243                                                                                     ]
244                                                                                 }
245                                                                             ]
246                                                                         }
247                                                                     ]
248                                                                 }
249                                                             ]
250                                                         },
251                                                         {
252                                                             "String cls" : "box box-info",
253                                                             "xtype" : "Container",
254                                                             "$ xns" : "Roo.bootstrap",
255                                                             "items" : [
256                                                                 {
257                                                                     "String cls" : "box-header",
258                                                                     "xtype" : "Container",
259                                                                     "$ xns" : "Roo.bootstrap",
260                                                                     "items" : [
261                                                                         {
262                                                                             "String cls" : "box-title",
263                                                                             "xtype" : "Header",
264                                                                             "$ xns" : "Roo.bootstrap",
265                                                                             "Number level" : 3,
266                                                                             "String html" : "Input Addon"
267                                                                         }
268                                                                     ]
269                                                                 },
270                                                                 {
271                                                                     "xtype" : "Form",
272                                                                     "String labelAlign" : "top",
273                                                                     "$ xns" : "Roo.bootstrap",
274                                                                     "items" : [
275                                                                         {
276                                                                             "String cls" : "box-body",
277                                                                             "xtype" : "Container",
278                                                                             "$ xns" : "Roo.bootstrap",
279                                                                             "items" : [
280                                                                                 {
281                                                                                     "xtype" : "Input",
282                                                                                     "string placeholder" : "before : @",
283                                                                                     "$ xns" : "Roo.bootstrap",
284                                                                                     "string before" : "@",
285                                                                                     "string size" : "md"
286                                                                                 },
287                                                                                 {
288                                                                                     "xtype" : "Input",
289                                                                                     "string placeholder" : "after: .00",
290                                                                                     "$ xns" : "Roo.bootstrap",
291                                                                                     "string size" : "md",
292                                                                                     "string after" : 0
293                                                                                 },
294                                                                                 {
295                                                                                     "xtype" : "Input",
296                                                                                     "string placeholder" : "before $, after: .00",
297                                                                                     "$ xns" : "Roo.bootstrap",
298                                                                                     "string before" : "$",
299                                                                                     "string size" : "md",
300                                                                                     "string after" : 0
301                                                                                 },
302                                                                                 {
303                                                                                     "xtype" : "Header",
304                                                                                     "$ xns" : "Roo.bootstrap",
305                                                                                     "Number level" : 4,
306                                                                                     "String html" : "With Icons"
307                                                                                 },
308                                                                                 {
309                                                                                     "xtype" : "Input",
310                                                                                     "string placeholder" : "before : &lt;i class=&quot;fa fa-envelope&quot;&gt;&lt;/i&gt;",
311                                                                                     "$ xns" : "Roo.bootstrap",
312                                                                                     "string before" : "<i class=\"fa fa-envelope\"></i>",
313                                                                                     "string size" : "md"
314                                                                                 },
315                                                                                 {
316                                                                                     "xtype" : "Input",
317                                                                                     "string placeholder" : "after : &lt;i class=&quot;fa fa-after&quot;&gt;&lt;/i&gt;",
318                                                                                     "$ xns" : "Roo.bootstrap",
319                                                                                     "string size" : "md",
320                                                                                     "string after" : "<i class=\"fa fa-check\"></i>"
321                                                                                 },
322                                                                                 {
323                                                                                     "xtype" : "Input",
324                                                                                     "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;",
325                                                                                     "$ xns" : "Roo.bootstrap",
326                                                                                     "string before" : "<i class=\"fa fa-dollar\"></i>",
327                                                                                     "string size" : "md",
328                                                                                     "string after" : "<i class=\"fa fa-ambulance\"></i>"
329                                                                                 },
330                                                                                 {
331                                                                                     "xtype" : "Header",
332                                                                                     "Number level" : 4,
333                                                                                     "$ xns" : "Roo.bootstrap",
334                                                                                     "String html" : "With checkbox and radio"
335                                                                                 },
336                                                                                 {
337                                                                                     "xtype" : "Row",
338                                                                                     "$ xns" : "Roo.bootstrap",
339                                                                                     "items" : [
340                                                                                         {
341                                                                                             "Number md" : 6,
342                                                                                             "xtype" : "Input",
343                                                                                             "string placeholder" : "?",
344                                                                                             "$ xns" : "Roo.bootstrap",
345                                                                                             "string before" : "fixme",
346                                                                                             "string size" : "md"
347                                                                                         },
348                                                                                         {
349                                                                                             "Number md" : 6,
350                                                                                             "xtype" : "Input",
351                                                                                             "string placeholder" : "md 4",
352                                                                                             "$ xns" : "Roo.bootstrap",
353                                                                                             "string size" : "md"
354                                                                                         }
355                                                                                     ]
356                                                                                 },
357                                                                                 {
358                                                                                     "xtype" : "Header",
359                                                                                     "$ xns" : "Roo.bootstrap",
360                                                                                     "Number level" : 4,
361                                                                                     "String html" : "With buttons"
362                                                                                 },
363                                                                                 {
364                                                                                     "xtype" : "Input",
365                                                                                     "string placeholder" : "before :  - an object...    ",
366                                                                                     "$ xns" : "Roo.bootstrap",
367                                                                                     "string size" : "md",
368                                                                                     "items" : [
369                                                                                         {
370                                                                                             "xtype" : "Button",
371                                                                                             "$ xns" : "Roo.bootstrap",
372                                                                                             "* prop" : "before"
373                                                                                         }
374                                                                                     ]
375                                                                                 }
376                                                                             ]
377                                                                         }
378                                                                     ]
379                                                                 }
380                                                             ]
381                                                         }
382                                                     ]
383                                                 }
384                                             ]
385                                         }
386                                     ]
387                                 }
388                             ]
389                         }
390                     ]
391                 }
392             ]
393         }
394     ]
395 }