Subversion Repositories SmartDukaan

Rev

Rev 4413 | Rev 4506 | 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
 
4423 phani.kuma 102
		.textlabel {
103
	      border-top: 2px solid #99bbe8;
104
	      text-align: center;
105
	    }		
1961 ankur.sing 106
	</ui:style>
107
 
108
	<g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
109
		<g:center>
2027 ankur.sing 110
        <g:ScrollPanel>
1992 ankur.sing 111
            <g:VerticalPanel>
112
    			<g:HorizontalPanel>
113
    				<g:cell>
114
    					<g:Grid>
115
    						<g:row>
116
    							<g:customCell>
117
    								<g:Label styleName='{style.blueLabel}'>Item id:</g:Label>
118
    							</g:customCell>
119
    							<g:customCell>
120
    								<g:Label styleName='{style.greenLabel}' ui:field="itemId"></g:Label>
121
    							</g:customCell>
122
    						</g:row>
123
                            <g:row>
124
                                <g:customCell>
125
                                    <g:Label styleName='{style.blueLabel}'>Item Status:</g:Label>
126
                                </g:customCell>
127
                                <g:customCell>
128
                                    <g:Label styleName='{style.greenLabel}' ui:field="itemStatus"></g:Label>
129
                                </g:customCell>
130
                            </g:row>
131
    						<g:row>
132
    							<g:customCell>
133
    								<g:Label styleName='{style.blueLabel}'>Product Group:</g:Label>
134
    							</g:customCell>
135
    							<g:customCell>
2027 ankur.sing 136
    								<g:TextBox styleName='{style.greenLabel}' ui:field="productGroup"></g:TextBox>
1992 ankur.sing 137
    							</g:customCell>
138
    						</g:row>
139
    						<g:row>
140
    							<g:customCell>
141
    								<g:Label styleName='{style.blueLabel}'>Brand:</g:Label>
142
    							</g:customCell>
143
    							<g:customCell>
2027 ankur.sing 144
    								<g:TextBox styleName="{style.greenLabel}" ui:field="brand"></g:TextBox>
1992 ankur.sing 145
    							</g:customCell>
146
    						</g:row>
147
    						<g:row>
148
    							<g:customCell>
149
    								<g:Label styleName='{style.blueLabel}'>Model Number:</g:Label>
150
    							</g:customCell>
151
    							<g:customCell>
2027 ankur.sing 152
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelNumber"></g:TextBox>
1992 ankur.sing 153
    							</g:customCell>
154
    						</g:row>
155
    						<g:row>
156
    							<g:customCell>
157
    								<g:Label styleName='{style.blueLabel}'>Model Name:</g:Label>
158
    							</g:customCell>
159
    							<g:customCell>
2027 ankur.sing 160
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelName"></g:TextBox>
1992 ankur.sing 161
    							</g:customCell>
162
    						</g:row>
163
    						<g:row>
164
    							<g:customCell>
165
    								<g:Label styleName='{style.blueLabel}'>Colour:</g:Label>
166
    							</g:customCell>
167
    							<g:customCell>
2027 ankur.sing 168
    								<g:TextBox styleName="{style.greenLabel}" ui:field="color"></g:TextBox>
1992 ankur.sing 169
    							</g:customCell>
170
    						</g:row>
171
    					</g:Grid>
172
    				</g:cell>
173
    				<g:cell>
174
    					<g:Grid>
2359 ankur.sing 175
                            <g:row>
176
                                <g:customCell>
177
                                    <g:Label styleName='{style.blueLabel}'>Status Description</g:Label>
178
                                </g:customCell>
179
                                <g:customCell>
180
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="statusDesc"></g:TextBox>
181
                                </g:customCell>
182
                            </g:row>
1992 ankur.sing 183
    						<g:row>
184
    							<g:customCell>
185
    								<g:Label styleName='{style.blueLabel}'>Category:</g:Label>
186
    							</g:customCell>
187
    							<g:customCell>
2105 ankur.sing 188
    								<g:Label styleName='{style.greenLabel}' ui:field="contentCategory"></g:Label>
1992 ankur.sing 189
    							</g:customCell>
190
    						</g:row>
191
    						<g:row>
192
    							<g:customCell>
193
    								<g:Label styleName='{style.blueLabel}'>Comments:</g:Label>
194
    							</g:customCell>
195
    							<g:customCell>
2027 ankur.sing 196
    								<g:TextBox styleName='{style.greenLabel}' ui:field="comments"></g:TextBox>
1992 ankur.sing 197
    							</g:customCell>
198
    						</g:row>
199
    						<g:row>
200
    							<g:customCell>
201
    								<g:Label styleName='{style.blueLabel}'>Catalog Item ID:</g:Label>
202
    							</g:customCell>
203
    							<g:customCell>
204
    								<g:Label styleName='{style.greenLabel}' ui:field="catalogItemId"></g:Label>
205
    							</g:customCell>
206
    						</g:row>
207
    					</g:Grid>
208
    				</g:cell>
209
    				<g:cell>
210
    					<g:Grid>
211
    						<g:row>
212
    							<g:customCell>
213
    								<g:Label styleName='{style.blueLabel}'>MRP:</g:Label>
214
    							</g:customCell>
2066 ankur.sing 215
    							<g:customCell width='6'>
216
    								<g:TextBox styleName='{style.numeric-box}' ui:field="mrp"></g:TextBox>
1992 ankur.sing 217
    							</g:customCell>
218
    						</g:row>
3359 chandransh 219
    						<g:row>
1992 ankur.sing 220
    							<g:customCell>
3359 chandransh 221
    								<g:Label styleName='{style.blueLabel}'>Selling Price:</g:Label>
1992 ankur.sing 222
    							</g:customCell>
3359 chandransh 223
    							<g:customCell size='6'>
224
    								<g:TextBox styleName='{style.numeric-box}' ui:field="sellingPrice"></g:TextBox>
1992 ankur.sing 225
    							</g:customCell>
3359 chandransh 226
    						</g:row>
227
    						<g:row>
1992 ankur.sing 228
    							<g:customCell>
3359 chandransh 229
    								<g:Label styleName='{style.blueLabel}'>Weight(in kg):</g:Label>
1992 ankur.sing 230
    							</g:customCell>
231
    							<g:customCell>
3359 chandransh 232
    								<g:TextBox styleName='{style.numeric-box}' ui:field="weight"></g:TextBox>
1992 ankur.sing 233
    							</g:customCell>
3359 chandransh 234
    						</g:row>
1992 ankur.sing 235
    						<g:row>
236
    							<g:customCell>
3359 chandransh 237
    								<g:Label styleName='{style.blueLabel}'>Expected Delay(Days):</g:Label>
1992 ankur.sing 238
    							</g:customCell>
3359 chandransh 239
    							<g:customCell>
240
    								<g:TextBox styleName='{style.numeric-box}' ui:field="expectedDelay"></g:TextBox>
1992 ankur.sing 241
    							</g:customCell>
242
    						</g:row>
243
    						<g:row>
244
    							<g:customCell>
3359 chandransh 245
    								<g:Label styleName='{style.blueLabel}'>Preferred Warehouse:</g:Label>
1992 ankur.sing 246
    							</g:customCell>
247
    							<g:customCell>
3359 chandransh 248
    								<g:TextBox styleName='{style.numeric-box}' ui:field="preferredWarehouse"></g:TextBox>
1992 ankur.sing 249
    							</g:customCell>
250
    						</g:row>
4413 anupam.sin 251
    						<g:row>
252
    							<g:customCell>
253
    								<g:Label styleName='{style.blueLabel}'>Default Warehouse:</g:Label>
254
    							</g:customCell>
255
    							<g:customCell>
256
    								<g:TextBox styleName='{style.numeric-box}' ui:field="defaultWarehouse"></g:TextBox>
257
    							</g:customCell>
258
    						</g:row>
259
    						<g:row>
260
                                <g:customCell>
261
                                    <g:Label styleName='{style.blueLabel}'>Is Warehouse Preference Sticky:</g:Label>
262
                                </g:customCell>
263
                                <g:customCell>
264
                                    <g:CheckBox ui:field="warehouseStickiness"></g:CheckBox>
265
                                </g:customCell>
266
                            </g:row>
1992 ankur.sing 267
    					</g:Grid>
268
    				</g:cell>
269
    				<g:cell>
270
    					<g:Grid>
271
    						<g:row>
272
    							<g:customCell>
273
    								<g:Label styleName='{style.blueLabel}'>Added On:</g:Label>
274
    							</g:customCell>
275
    							<g:customCell>
276
    								<g:Label styleName='{style.greenLabel}' ui:field="addedOn"></g:Label>
277
    							</g:customCell>
278
    						</g:row>
279
    						<g:row>
280
    							<g:customCell>
281
    								<g:Label styleName='{style.blueLabel}'>Start Date:</g:Label>
282
    							</g:customCell>
283
    							<g:customCell>
2068 ankur.sing 284
    								<dp:DateBox styleName='{style.greenLabel}' ui:field="startDate"></dp:DateBox>
1992 ankur.sing 285
    							</g:customCell>
286
    						</g:row>
287
    						<g:row>
288
    							<g:customCell>
289
    								<g:Label styleName='{style.blueLabel}'>Retiring Date:</g:Label>
290
    							</g:customCell>
291
    							<g:customCell>
292
    								<g:Label styleName='{style.greenLabel}' ui:field="retireDate"></g:Label>
293
    							</g:customCell>
294
    						</g:row>
295
    						<g:row>
296
    							<g:customCell>
297
    								<g:Label styleName='{style.blueLabel}'>Updated On:</g:Label>
298
    							</g:customCell>
299
    							<g:customCell>
300
    								<g:Label styleName='{style.greenLabel}' ui:field="updatedOn"></g:Label>
301
    							</g:customCell>
302
    						</g:row>
303
    					</g:Grid>
304
    				</g:cell>
305
    				<g:cell>
306
    					<g:Grid>
307
    						<g:row>
308
    							<g:customCell>
309
    								<g:Label styleName='{style.blueLabel}'>Best Deals Text:</g:Label>
310
    							</g:customCell>
311
    							<g:customCell>
2027 ankur.sing 312
    								<g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsText"></g:TextBox>
1992 ankur.sing 313
    							</g:customCell>
314
    						</g:row>
315
    						<g:row>
316
    							<g:customCell>
317
    								<g:Label styleName='{style.blueLabel}'>Best Deals Value:</g:Label>
318
    							</g:customCell>
319
    							<g:customCell>
2066 ankur.sing 320
    								<g:TextBox styleName='{style.numeric-box}' ui:field="bestDealsValue"></g:TextBox>
1992 ankur.sing 321
    							</g:customCell>
322
    						</g:row>
2066 ankur.sing 323
                            <g:row>
324
                                <g:customCell>
325
                                    <g:Label styleName='{style.blueLabel}'>Best Selling Rank:</g:Label>
326
                                </g:customCell>
327
                                <g:customCell>
328
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="bestSellingRank"></g:TextBox>
329
                                </g:customCell>
330
                            </g:row>
331
                            <g:row>
332
                                <g:customCell>
333
                                    <g:Label styleName='{style.blueLabel}'>Default for Entity:</g:Label>
334
                                </g:customCell>
335
                                <g:customCell>
336
                                    <g:CheckBox ui:field="defaultForEntity"></g:CheckBox>
337
                                </g:customCell>
338
                            </g:row>
2252 ankur.sing 339
                            <g:row>
340
                                <g:customCell>
341
                                    <g:Label styleName='{style.blueLabel}'>Is Risky:</g:Label>
342
                                </g:customCell>
343
                                <g:customCell>
2359 ankur.sing 344
                                    <g:CheckBox ui:field="risky" enabled='false'></g:CheckBox>
2252 ankur.sing 345
                                </g:customCell>
346
                            </g:row>
1992 ankur.sing 347
    					</g:Grid>
348
    				</g:cell>
349
    			</g:HorizontalPanel>
350
 
2066 ankur.sing 351
                <g:VerticalPanel>
352
                    <g:VerticalPanel styleName='{style.inventoryTable}'>
2105 ankur.sing 353
                        <g:FlexTable ui:field='headerAvailability' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
2359 ankur.sing 354
                        <g:FlexTable ui:field='availabilityTable' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
1992 ankur.sing 355
                    </g:VerticalPanel>
2119 ankur.sing 356
                    <g:VerticalPanel>
4423 phani.kuma 357
                        <g:Label styleName='{style.textlabel}'>Vendor Keys</g:Label>
2427 ankur.sing 358
                        <g:FlexTable ui:field='headerVendorItemKey' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
359
                        <g:FlexTable ui:field='tableVendorItemKey' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
2359 ankur.sing 360
                        <g:Label></g:Label>
1992 ankur.sing 361
                    </g:VerticalPanel>
2359 ankur.sing 362
                    <g:VerticalPanel>
4423 phani.kuma 363
                        <g:Label styleName='{style.textlabel}'>Vendor Prices</g:Label>
2427 ankur.sing 364
                        <g:FlexTable ui:field='headerVendorPrices' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
365
                        <g:FlexTable ui:field='tableVendorPrices' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
2105 ankur.sing 366
                    </g:VerticalPanel>
3558 rajveer 367
                    <g:VerticalPanel>
4423 phani.kuma 368
                        <g:Label styleName='{style.textlabel}'>Source Prices</g:Label>
3558 rajveer 369
                        <g:FlexTable ui:field='headerSourcePrices' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
370
                        <g:FlexTable ui:field='tableSourcePrices' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
371
                    </g:VerticalPanel>
4423 phani.kuma 372
                    <g:VerticalPanel>
373
                       	<g:Label styleName='{style.textlabel}'>Similar Items</g:Label>
374
                       	<g:FlexTable ui:field='headerSimilarItems' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
375
                        <g:FlexTable ui:field='tableSimilarItems' styleName='{style.table}' cellSpacing='0' cellPadding='0' />
376
                    </g:VerticalPanel>
2066 ankur.sing 377
                </g:VerticalPanel>
2126 ankur.sing 378
                <!-- <g:VerticalPanel styleName='{style.buttonContainer}'>
2066 ankur.sing 379
                    <g:Button ui:field="submit">Update Item</g:Button>
2126 ankur.sing 380
                </g:VerticalPanel> -->
1992 ankur.sing 381
            </g:VerticalPanel>
2027 ankur.sing 382
            </g:ScrollPanel>
1961 ankur.sing 383
		</g:center>
384
	</g:DockLayoutPanel>
385
</ui:UiBinder>