fix limit on groups
[Pman.BAdmin] / Pman.Tab.BAdminProject.bjs
1 {
2  "name" : "Pman.Tab.BAdminProject",
3  "parent" : "Pman.Tab.BAdmin",
4  "title" : "",
5  "path" : "/home/alan/gitlive/Pman.BAdmin/Pman.Tab.BAdminProject.bjs",
6  "permname" : "",
7  "modOrder" : "300",
8  "strings" : {
9   "54e1d44609e3abed11f6e1eb6ae54988" : "Projects",
10   "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
11   "e57c636e4888ae64d98a590c6d530f25" : "Job No.",
12   "bfa40db99e13ed2fe413ea8f1507cda9" : "Permission Group",
13   "1a11b1adc359c03db0ca798a00e2632c" : "Opened",
14   "f2a6c498fb90ee345d997f888fce3b18" : "Delete",
15   "49ee3087348e8d44e1feda1917443987" : "Name",
16   "dec0281615951933174d1bad72eeb180" : "Office / Team"
17  },
18  "items" : [
19   {
20    "xtype" : "Nest",
21    "String region" : "center",
22    "$ xns" : "Roo.bootstrap.panel",
23    "String title" : "Projects",
24    "items" : [
25     {
26      "xtype" : "Border",
27      "$ xns" : "Roo.bootstrap.layout",
28      "* prop" : "layout",
29      "items" : [
30       {
31        "xtype" : "Region",
32        "$ xns" : "Roo.bootstrap.layout",
33        "* prop" : "center"
34       },
35       {
36        "xtype" : "Region",
37        "Number height" : 50,
38        "$ xns" : "Roo.bootstrap.layout",
39        "* prop" : "north"
40       },
41       {
42        "xtype" : "Content",
43        "$ xns" : "Roo.bootstrap.panel",
44        "String region" : "north",
45        "items" : [
46         {
47          "String type" : "pills",
48          "xtype" : "NavSimplebar",
49          "$ xns" : "Roo.bootstrap",
50          "items" : [
51           {
52            "String cls" : "mr-md-auto",
53            "xtype" : "Form",
54            "String align" : "right",
55            "$ xns" : "Roo.bootstrap",
56            "items" : [
57             {
58              "xtype" : "Input",
59              "$ xns" : "Roo.bootstrap"
60             },
61             {
62              "String weight" : "primary",
63              "xtype" : "Button",
64              "String fa" : "search",
65              "$ xns" : "Roo.bootstrap"
66             }
67            ]
68           },
69           {
70            "String type" : "pills",
71            "bool pilltype" : false,
72            "xtype" : "NavGroup",
73            "String align" : "right",
74            "$ xns" : "Roo.bootstrap",
75            "items" : [
76             {
77              "String button_weight" : "danger",
78              "String cls" : "ml-3 mr-0",
79              "xtype" : "NavItem",
80              "bool button_outline" : false,
81              "String fa" : "trash",
82              "$ xns" : "Roo.bootstrap",
83              "String html" : "Delete"
84             },
85             {
86              "listeners" : {
87               "click" : "function (e)\n{\n    Pman.Dialog.BAdminProject.show({});\n}"
88              },
89              "String button_weight" : "warning",
90              "String cls" : "ml-3 mr-0",
91              "xtype" : "NavItem",
92              "bool button_outline" : false,
93              "String fa" : "plus",
94              "$ xns" : "Roo.bootstrap",
95              "String html" : "Add"
96             }
97            ]
98           }
99          ]
100         }
101        ]
102       },
103       {
104        "listeners" : {
105         "activate" : "function (_self)\n{\n    this.grid.ds.load({});\n}"
106        },
107        "xtype" : "Grid",
108        "$ xns" : "Roo.bootstrap.panel",
109        "String region" : "center",
110        "items" : [
111         {
112          "listeners" : {
113           "render" : "function (_self)\n{\n    _this.grid = this;\n}",
114           "rowclick" : "function (_self, el, rowIndex, e)\n{\n    Pman.Dialog.BAdminProject.show({});\n}"
115          },
116          "boolean striped" : true,
117          "xtype" : "Table",
118          "Boolean rowSelection" : true,
119          "$ xns" : "Roo.bootstrap",
120          "* prop" : "grid",
121          "items" : [
122           {
123            "listeners" : {
124             "selectionchange" : "function (_self)\n{\n \n}"
125            },
126            "Boolean singleSelect" : true,
127            "xtype" : "RowSelectionModel",
128            "$ xns" : "Roo.bootstrap.Table",
129            "* prop" : "sm"
130           },
131           {
132            "boolean isLocal" : true,
133            "$ Array fields" : "[ 'filter' , 'value' ]",
134            "$ Array data" : "[\n    [ 'Project:', '' ],\n    [ 'ER No.:', '' ],\n    [ 'School Code:', '' ],\n    [ 'District:', '' ] \n]",
135            "xtype" : "SimpleStore",
136            "$ xns" : "Roo.data",
137            "* prop" : "store"
138           },
139           {
140            "String header" : "Job No.",
141            "String dataIndex" : "fname",
142            "xtype" : "ColumnModel",
143            "$ xns" : "Roo.grid",
144            "* prop" : "cm[]",
145            "Number sm" : 1
146           },
147           {
148            "String header" : "Name",
149            "String dataIndex" : "fname",
150            "xtype" : "ColumnModel",
151            "$ xns" : "Roo.grid",
152            "* prop" : "cm[]",
153            "Number sm" : 5
154           },
155           {
156            "String header" : "Office / Team",
157            "String dataIndex" : "fname",
158            "xtype" : "ColumnModel",
159            "$ xns" : "Roo.grid",
160            "* prop" : "cm[]",
161            "Number sm" : 2
162           },
163           {
164            "String header" : "Opened",
165            "String dataIndex" : "fname",
166            "xtype" : "ColumnModel",
167            "$ xns" : "Roo.grid",
168            "* prop" : "cm[]",
169            "Number sm" : 2
170           },
171           {
172            "String header" : "Permission Group",
173            "String dataIndex" : "fname",
174            "xtype" : "ColumnModel",
175            "$ xns" : "Roo.grid",
176            "* prop" : "cm[]",
177            "Number sm" : 2
178           }
179          ]
180         }
181        ]
182       }
183      ]
184     }
185    ]
186   }
187  ]
188 }