Commit eb1b4464a1ff7105b7acd8b025390ba67e40215f
1 parent
2c7417af
Exists in
master
Modificações telas do super genrente
Showing
1 changed file
with
78 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,78 @@ |
1 | +var table = Ext.create('Ext.form.Panel', { | |
2 | + renderTo: Ext.getBody(), | |
3 | + title: '', | |
4 | + height: 130, | |
5 | + width: 280, | |
6 | + style: { | |
7 | + "text-align": 'left', | |
8 | + }, | |
9 | + | |
10 | + bodyPadding: 10, | |
11 | + defaultType: 'textfield', | |
12 | + items: [ | |
13 | + { | |
14 | + fieldLabel: 'Quantidade', | |
15 | + width:450, | |
16 | + name: 'nome' | |
17 | + }, | |
18 | + { | |
19 | + fieldLabel: 'Marca', | |
20 | + width: 250, | |
21 | + name: 'data instalação' | |
22 | + }, | |
23 | + { | |
24 | + fieldLabel: 'instalação', | |
25 | + width: 250, | |
26 | + name: 'data instalação' | |
27 | + }, | |
28 | + { | |
29 | + fieldLabel: 'Nome', | |
30 | + width: 300, | |
31 | + name: 'email' | |
32 | + }, | |
33 | + { | |
34 | + fieldLabel: 'Verção', | |
35 | + name: 'telefone' | |
36 | + }, | |
37 | + { | |
38 | + xtype: 'button', | |
39 | + text: 'Enviar', | |
40 | + style : { | |
41 | + margin : " 0px 10px 0px 0px" | |
42 | + } | |
43 | + }, | |
44 | + { | |
45 | + xtype: 'button', | |
46 | + text: 'Limpar', | |
47 | + }, | |
48 | + | |
49 | + ] | |
50 | +}); | |
51 | + | |
52 | +painel = Ext.create('Ext.panel.Panel', { | |
53 | + layout: 'fit', | |
54 | + title: 'Sistemas Operacionais', | |
55 | + width: '75%', | |
56 | + height: 210, | |
57 | + frame: true, | |
58 | + draggable: true, | |
59 | + collapsible: true, | |
60 | + border : true, | |
61 | + style: { | |
62 | + "text-align": 'center', | |
63 | + margin: '0px auto 15px auto' | |
64 | + }, | |
65 | + items: table, | |
66 | +}); | |
67 | + | |
68 | +Ext.onReady(function(){ | |
69 | + | |
70 | + | |
71 | + Ext.create('Ext.Container', { | |
72 | + padding: '15px', | |
73 | + items: [painel], | |
74 | + renderTo: 'widgets' | |
75 | + }); | |
76 | + | |
77 | +}); | |
78 | + | ... | ... |