Subversion Repositories SmartDukaan

Rev

Rev 2359 | Rev 3359 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1961 ankur.sing 1
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
2
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
2068 ankur.sing 3
	xmlns:g="urn:import:com.google.gwt.user.client.ui"
4
    xmlns:dp="urn:import:com.google.gwt.user.datepicker.client">
1992 ankur.sing 5
 
6
    <ui:image field='gradient' src='gradient_bg_dark.png' repeatStyle='Horizontal'/>
2359 ankur.sing 7
 
1992 ankur.sing 8
	<ui:style type='in.shop2020.catalog.dashboard.client.ItemDetails.ItemDetailStyle'>
1961 ankur.sing 9
		.outer {
10
			border-left: 1px solid #999;
11
			border-bottom: 1px solid #999;
12
			cursor: pointer;
13
			cursor: hand;
14
		}
15
 
16
		.blueLabel {
17
			color: white;
18
			font: bold 12px tahoma, arial, helvetica, sans-serif;
19
			border: 1px solid #99bbe8;
20
			padding: 5px;
21
			background-color: blue
22
		}
23
 
24
		.greenLabel {
2068 ankur.sing 25
			width: 100px;
1961 ankur.sing 26
			color: black;
27
			font: bold 12px tahoma, arial, helvetica, sans-serif;
28
			border: 1px solid #99bbe8;
29
			padding: 5px;
30
			background-color: #66ff99;
31
		}
1992 ankur.sing 32
 
33
		.fieldChanged {
34
			color: white;
35
			font: bold 12px tahoma, arial, helvetica, sans-serif;
36
			border: 1px solid #99bbe8;
37
			padding: 5px;
38
			background-color: red;
39
		}
40
 
2027 ankur.sing 41
		.outer {
1992 ankur.sing 42
            border-left: 1px solid #999;
43
            border-bottom: 1px solid #999;
44
            cursor: pointer;
45
            cursor: hand;
46
        }
47
 
48
        @sprite .header {
49
            gwt-image: 'gradient';
50
            background-color: #d3d6dd;
51
            table-layout: fixed;
52
            width: 100%;
53
            height: 100%;
54
        }
55
 
56
        .header td {
57
            font-weight: bold;
58
            text-shadow: #fff 0 2px 2px;
59
            padding: 2px 0 1px 10px;
60
            border-top: 1px solid #999;
61
            border-bottom: 1px solid #999;
62
        }
63
 
64
        .table {
65
            table-layout: fixed;
66
            width: 100%;
67
        }
68
 
69
        .table td {
70
            border-top: 1px solid #fff;
71
            border-bottom: 1px solid #fff;
72
            padding: 2px 0 2px 10px;
73
        }
2066 ankur.sing 74
        .numeric-box{
2068 ankur.sing 75
        	width: 80px;
2066 ankur.sing 76
        	text-align: right;
77
        	color: black;
78
			font: bold 12px tahoma, arial, helvetica, sans-serif;
79
			border: 1px solid #99bbe8;
80
			padding: 5px;
81
			background-color: #66ff99;
82
        }
2027 ankur.sing 83
 
2066 ankur.sing 84
        .vendorTable {
2027 ankur.sing 85
        	float: right;
86
			border: 1px solid #99bbe8;
2066 ankur.sing 87
			padding-top:10px
2027 ankur.sing 88
       	}
1992 ankur.sing 89
 
2066 ankur.sing 90
		.inventoryTable {
2027 ankur.sing 91
			float: left;
92
			border: 1px solid #99bbe8;
2066 ankur.sing 93
			padding-bottom:10px
2027 ankur.sing 94
		}
1992 ankur.sing 95
 
2027 ankur.sing 96
		.buttonContainer	{
97
			width: 100%;
98
			padding-top: 40px;
99
			padding-left: 370px;
100
		}
1992 ankur.sing 101
 
1961 ankur.sing 102
	</ui:style>
103
 
104
	<g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
105
		<g:center>
2027 ankur.sing 106
        <g:ScrollPanel>
1992 ankur.sing 107
            <g:VerticalPanel>
108
    			<g:HorizontalPanel>
109
    				<g:cell>
110
    					<g:Grid>
111
    						<g:row>
112
    							<g:customCell>
113
    								<g:Label styleName='{style.blueLabel}'>Item id:</g:Label>
114
    							</g:customCell>
115
    							<g:customCell>
116
    								<g:Label styleName='{style.greenLabel}' ui:field="itemId"></g:Label>
117
    							</g:customCell>
118
    						</g:row>
119
                            <g:row>
120
                                <g:customCell>
121
                                    <g:Label styleName='{style.blueLabel}'>Item Status:</g:Label>
122
                                </g:customCell>
123
                                <g:customCell>
124
                                    <g:Label styleName='{style.greenLabel}' ui:field="itemStatus"></g:Label>
125
                                </g:customCell>
126
                            </g:row>
127
    						<g:row>
128
    							<g:customCell>
129
    								<g:Label styleName='{style.blueLabel}'>Product Group:</g:Label>
130
    							</g:customCell>
131
    							<g:customCell>
2027 ankur.sing 132
    								<g:TextBox styleName='{style.greenLabel}' ui:field="productGroup"></g:TextBox>
1992 ankur.sing 133
    							</g:customCell>
134
    						</g:row>
135
    						<g:row>
136
    							<g:customCell>
137
    								<g:Label styleName='{style.blueLabel}'>Brand:</g:Label>
138
    							</g:customCell>
139
    							<g:customCell>
2027 ankur.sing 140
    								<g:TextBox styleName="{style.greenLabel}" ui:field="brand"></g:TextBox>
1992 ankur.sing 141
    							</g:customCell>
142
    						</g:row>
143
    						<g:row>
144
    							<g:customCell>
145
    								<g:Label styleName='{style.blueLabel}'>Model Number:</g:Label>
146
    							</g:customCell>
147
    							<g:customCell>
2027 ankur.sing 148
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelNumber"></g:TextBox>
1992 ankur.sing 149
    							</g:customCell>
150
    						</g:row>
151
    						<g:row>
152
    							<g:customCell>
153
    								<g:Label styleName='{style.blueLabel}'>Model Name:</g:Label>
154
    							</g:customCell>
155
    							<g:customCell>
2027 ankur.sing 156
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelName"></g:TextBox>
1992 ankur.sing 157
    							</g:customCell>
158
    						</g:row>
159
    						<g:row>
160
    							<g:customCell>
161
    								<g:Label styleName='{style.blueLabel}'>Colour:</g:Label>
162
    							</g:customCell>
163
    							<g:customCell>
2027 ankur.sing 164
    								<g:TextBox styleName="{style.greenLabel}" ui:field="color"></g:TextBox>
1992 ankur.sing 165
    							</g:customCell>
166
    						</g:row>
167
    					</g:Grid>
168
    				</g:cell>
169
    				<g:cell>
170
    					<g:Grid>
2359 ankur.sing 171
                            <g:row>
172
                                <g:customCell>
173
                                    <g:Label styleName='{style.blueLabel}'>Status Description</g:Label>
174
                                </g:customCell>
175
                                <g:customCell>
176
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="statusDesc"></g:TextBox>
177
                                </g:customCell>
178
                            </g:row>
1992 ankur.sing 179
    						<g:row>
180
    							<g:customCell>
181
    								<g:Label styleName='{style.blueLabel}'>Category:</g:Label>
182
    							</g:customCell>
183
    							<g:customCell>
2105 ankur.sing 184
    								<g:Label styleName='{style.greenLabel}' ui:field="contentCategory"></g:Label>
1992 ankur.sing 185
    							</g:customCell>
186
    						</g:row>
187
    						<g:row>
188
    							<g:customCell>
189
    								<g:Label styleName='{style.blueLabel}'>Comments:</g:Label>
190
    							</g:customCell>
191
    							<g:customCell>
2027 ankur.sing 192
    								<g:TextBox styleName='{style.greenLabel}' ui:field="comments"></g:TextBox>
1992 ankur.sing 193
    							</g:customCell>
194
    						</g:row>
195
    						<g:row>
196
    							<g:customCell>
197
    								<g:Label styleName='{style.blueLabel}'>Catalog Item ID:</g:Label>
198
    							</g:customCell>
199
    							<g:customCell>
200
    								<g:Label styleName='{style.greenLabel}' ui:field="catalogItemId"></g:Label>
201
    							</g:customCell>
202
    						</g:row>
203
    					</g:Grid>
204
    				</g:cell>
205
    				<g:cell>
206
    					<g:Grid>
207
    						<g:row>
208
    							<g:customCell>
209
    								<g:Label styleName='{style.blueLabel}'>MRP:</g:Label>
210
    							</g:customCell>
2066 ankur.sing 211
    							<g:customCell width='6'>
212
    								<g:TextBox styleName='{style.numeric-box}' ui:field="mrp"></g:TextBox>
1992 ankur.sing 213
    							</g:customCell>
214
    						</g:row>
215
    						<!-- <g:row>
216
    							<g:customCell>
217
    								<g:Label styleName='{style.blueLabel}'>MOP:</g:Label>
218
    							</g:customCell>
219
    							<g:customCell>
220
    								<g:TextBox styleName='{style.greenLabel}' ui:field="mop"></g:TextBox>
221
    							</g:customCell>
222
    						</g:row> -->
223
    						<!-- <g:row>
224
    							<g:customCell>
225
    								<g:Label styleName='{style.blueLabel}'>Dealer Price:</g:Label>
226
    							</g:customCell>
227
    							<g:customCell>
228
    								<g:TextBox styleName='{style.greenLabel}' ui:field="dealerPrice"></g:TextBox>
229
    							</g:customCell>
230
    						</g:row> -->
231
    						<g:row>
232
    							<g:customCell>
233
    								<g:Label styleName='{style.blueLabel}'>Selling Price:</g:Label>
234
    							</g:customCell>
2066 ankur.sing 235
    							<g:customCell size='6'>
236
    								<g:TextBox styleName='{style.numeric-box}' ui:field="sellingPrice"></g:TextBox>
1992 ankur.sing 237
    							</g:customCell>
238
    						</g:row>
239
                            <!-- <g:row>
240
                                <g:customCell>
241
                                    <g:Label styleName='{style.blueLabel}'>Transfer Price:</g:Label>
242
                                </g:customCell>
243
                                <g:customCell>
244
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="transferPrice"></g:TextBox>
245
                                </g:customCell>
246
                            </g:row> -->
247
    						<g:row>
248
    							<g:customCell>
2066 ankur.sing 249
    								<g:Label styleName='{style.blueLabel}'>Weight(in kg):</g:Label>
1992 ankur.sing 250
    							</g:customCell>
251
    							<g:customCell>
2066 ankur.sing 252
    								<g:TextBox styleName='{style.numeric-box}' ui:field="weight"></g:TextBox>
1992 ankur.sing 253
    							</g:customCell>
254
    						</g:row>
255
    					</g:Grid>
256
    				</g:cell>
257
    				<g:cell>
258
    					<g:Grid>
259
    						<g:row>
260
    							<g:customCell>
261
    								<g:Label styleName='{style.blueLabel}'>Added On:</g:Label>
262
    							</g:customCell>
263
    							<g:customCell>
264
    								<g:Label styleName='{style.greenLabel}' ui:field="addedOn"></g:Label>
265
    							</g:customCell>
266
    						</g:row>
267
    						<g:row>
268
    							<g:customCell>
269
    								<g:Label styleName='{style.blueLabel}'>Start Date:</g:Label>
270
    							</g:customCell>
271
    							<g:customCell>
2068 ankur.sing 272
    								<dp:DateBox styleName='{style.greenLabel}' ui:field="startDate"></dp:DateBox>
1992 ankur.sing 273
    							</g:customCell>
274
    						</g:row>
275
    						<g:row>
276
    							<g:customCell>
277
    								<g:Label styleName='{style.blueLabel}'>Retiring Date:</g:Label>
278
    							</g:customCell>
279
    							<g:customCell>
280
    								<g:Label styleName='{style.greenLabel}' ui:field="retireDate"></g:Label>
281
    							</g:customCell>
282
    						</g:row>
283
    						<g:row>
284
    							<g:customCell>
285
    								<g:Label styleName='{style.blueLabel}'>Updated On:</g:Label>
286
    							</g:customCell>
287
    							<g:customCell>
288
    								<g:Label styleName='{style.greenLabel}' ui:field="updatedOn"></g:Label>
289
    							</g:customCell>
290
    						</g:row>
291
    					</g:Grid>
292
    				</g:cell>
293
    				<g:cell>
294
    					<g:Grid>
295
    						<g:row>
296
    							<g:customCell>
297
    								<g:Label styleName='{style.blueLabel}'>Best Deals Text:</g:Label>
298
    							</g:customCell>
299
    							<g:customCell>
2027 ankur.sing 300
    								<g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsText"></g:TextBox>
1992 ankur.sing 301
    							</g:customCell>
302
    						</g:row>
303
    						<g:row>
304
    							<g:customCell>
305
    								<g:Label styleName='{style.blueLabel}'>Best Deals Value:</g:Label>
306
    							</g:customCell>
307
    							<g:customCell>
2066 ankur.sing 308
    								<g:TextBox styleName='{style.numeric-box}' ui:field="bestDealsValue"></g:TextBox>
1992 ankur.sing 309
    							</g:customCell>
310
    						</g:row>
2066 ankur.sing 311
                            <g:row>
312
                                <g:customCell>
313
                                    <g:Label styleName='{style.blueLabel}'>Best Selling Rank:</g:Label>
314
                                </g:customCell>
315
                                <g:customCell>
316
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="bestSellingRank"></g:TextBox>
317
                                </g:customCell>
318
                            </g:row>
319
                            <g:row>
320
                                <g:customCell>
321
                                    <g:Label styleName='{style.blueLabel}'>Default for Entity:</g:Label>
322
                                </g:customCell>
323
                                <g:customCell>
324
                                    <g:CheckBox ui:field="defaultForEntity"></g:CheckBox>
325
                                </g:customCell>
326
                            </g:row>
2252 ankur.sing 327
                            <g:row>
328
                                <g:customCell>
329
                                    <g:Label styleName='{style.blueLabel}'>Is Risky:</g:Label>
330
                                </g:customCell>
331
                                <g:customCell>
2359 ankur.sing 332
                                    <g:CheckBox ui:field="risky" enabled='false'></g:CheckBox>
2252 ankur.sing 333
                                </g:customCell>
334
                            </g:row>
1992 ankur.sing 335
    					</g:Grid>
336
    				</g:cell>
337
    			</g:HorizontalPanel>
338
 
2066 ankur.sing 339
                <g:VerticalPanel>
340
                    <g:VerticalPanel styleName='{style.inventoryTable}'>
2105 ankur.sing 341
                        <g:FlexTable ui:field='headerAvailability' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
2359 ankur.sing 342
                        <g:FlexTable ui:field='availabilityTable' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
1992 ankur.sing 343
                    </g:VerticalPanel>
2119 ankur.sing 344
                    <g:VerticalPanel>
2359 ankur.sing 345
                        <g:Label>Vendor Keys</g:Label>
2427 ankur.sing 346
                        <g:FlexTable ui:field='headerVendorItemKey' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
347
                        <g:FlexTable ui:field='tableVendorItemKey' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
2359 ankur.sing 348
                        <g:Label></g:Label>
1992 ankur.sing 349
                    </g:VerticalPanel>
2359 ankur.sing 350
                    <g:VerticalPanel>
351
                        <g:Label>Vendor Prices</g:Label>
2427 ankur.sing 352
                        <g:FlexTable ui:field='headerVendorPrices' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
353
                        <g:FlexTable ui:field='tableVendorPrices' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
2105 ankur.sing 354
                    </g:VerticalPanel>
2066 ankur.sing 355
                </g:VerticalPanel>
2126 ankur.sing 356
                <!-- <g:VerticalPanel styleName='{style.buttonContainer}'>
2066 ankur.sing 357
                    <g:Button ui:field="submit">Update Item</g:Button>
2126 ankur.sing 358
                </g:VerticalPanel> -->
1992 ankur.sing 359
            </g:VerticalPanel>
2027 ankur.sing 360
            </g:ScrollPanel>
1961 ankur.sing 361
		</g:center>
362
	</g:DockLayoutPanel>
363
</ui:UiBinder>