Subversion Repositories SmartDukaan

Rev

Rev 2105 | Rev 2126 | 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'/>
7
 
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>
171
    						<g:row>
172
    							<g:customCell>
173
    								<g:Label styleName='{style.blueLabel}'>Category:</g:Label>
174
    							</g:customCell>
175
    							<g:customCell>
2105 ankur.sing 176
    								<g:Label styleName='{style.greenLabel}' ui:field="contentCategory"></g:Label>
1992 ankur.sing 177
    							</g:customCell>
178
    						</g:row>
179
    						<g:row>
180
    							<g:customCell>
181
    								<g:Label styleName='{style.blueLabel}'>Comments:</g:Label>
182
    							</g:customCell>
183
    							<g:customCell>
2027 ankur.sing 184
    								<g:TextBox styleName='{style.greenLabel}' ui:field="comments"></g:TextBox>
1992 ankur.sing 185
    							</g:customCell>
186
    						</g:row>
187
    						<g:row>
188
    							<g:customCell>
189
    								<g:Label styleName='{style.blueLabel}'>Catalog Item ID:</g:Label>
190
    							</g:customCell>
191
    							<g:customCell>
192
    								<g:Label styleName='{style.greenLabel}' ui:field="catalogItemId"></g:Label>
193
    							</g:customCell>
194
    						</g:row>
195
    					</g:Grid>
196
    				</g:cell>
197
    				<g:cell>
198
    					<g:Grid>
199
    						<g:row>
200
    							<g:customCell>
201
    								<g:Label styleName='{style.blueLabel}'>MRP:</g:Label>
202
    							</g:customCell>
2066 ankur.sing 203
    							<g:customCell width='6'>
204
    								<g:TextBox styleName='{style.numeric-box}' ui:field="mrp"></g:TextBox>
1992 ankur.sing 205
    							</g:customCell>
206
    						</g:row>
207
    						<!-- <g:row>
208
    							<g:customCell>
209
    								<g:Label styleName='{style.blueLabel}'>MOP:</g:Label>
210
    							</g:customCell>
211
    							<g:customCell>
212
    								<g:TextBox styleName='{style.greenLabel}' ui:field="mop"></g:TextBox>
213
    							</g:customCell>
214
    						</g:row> -->
215
    						<!-- <g:row>
216
    							<g:customCell>
217
    								<g:Label styleName='{style.blueLabel}'>Dealer Price:</g:Label>
218
    							</g:customCell>
219
    							<g:customCell>
220
    								<g:TextBox styleName='{style.greenLabel}' ui:field="dealerPrice"></g:TextBox>
221
    							</g:customCell>
222
    						</g:row> -->
223
    						<g:row>
224
    							<g:customCell>
225
    								<g:Label styleName='{style.blueLabel}'>Selling Price:</g:Label>
226
    							</g:customCell>
2066 ankur.sing 227
    							<g:customCell size='6'>
228
    								<g:TextBox styleName='{style.numeric-box}' ui:field="sellingPrice"></g:TextBox>
1992 ankur.sing 229
    							</g:customCell>
230
    						</g:row>
231
                            <!-- <g:row>
232
                                <g:customCell>
233
                                    <g:Label styleName='{style.blueLabel}'>Transfer Price:</g:Label>
234
                                </g:customCell>
235
                                <g:customCell>
236
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="transferPrice"></g:TextBox>
237
                                </g:customCell>
238
                            </g:row> -->
239
    						<g:row>
240
    							<g:customCell>
2066 ankur.sing 241
    								<g:Label styleName='{style.blueLabel}'>Weight(in kg):</g:Label>
1992 ankur.sing 242
    							</g:customCell>
243
    							<g:customCell>
2066 ankur.sing 244
    								<g:TextBox styleName='{style.numeric-box}' ui:field="weight"></g:TextBox>
1992 ankur.sing 245
    							</g:customCell>
246
    						</g:row>
247
    					</g:Grid>
248
    				</g:cell>
249
    				<g:cell>
250
    					<g:Grid>
251
    						<g:row>
252
    							<g:customCell>
253
    								<g:Label styleName='{style.blueLabel}'>Added On:</g:Label>
254
    							</g:customCell>
255
    							<g:customCell>
256
    								<g:Label styleName='{style.greenLabel}' ui:field="addedOn"></g:Label>
257
    							</g:customCell>
258
    						</g:row>
259
    						<g:row>
260
    							<g:customCell>
261
    								<g:Label styleName='{style.blueLabel}'>Start Date:</g:Label>
262
    							</g:customCell>
263
    							<g:customCell>
2068 ankur.sing 264
    								<dp:DateBox styleName='{style.greenLabel}' ui:field="startDate"></dp:DateBox>
1992 ankur.sing 265
    							</g:customCell>
266
    						</g:row>
267
    						<g:row>
268
    							<g:customCell>
269
    								<g:Label styleName='{style.blueLabel}'>Retiring Date:</g:Label>
270
    							</g:customCell>
271
    							<g:customCell>
272
    								<g:Label styleName='{style.greenLabel}' ui:field="retireDate"></g:Label>
273
    							</g:customCell>
274
    						</g:row>
275
    						<g:row>
276
    							<g:customCell>
277
    								<g:Label styleName='{style.blueLabel}'>Updated On:</g:Label>
278
    							</g:customCell>
279
    							<g:customCell>
280
    								<g:Label styleName='{style.greenLabel}' ui:field="updatedOn"></g:Label>
281
    							</g:customCell>
282
    						</g:row>
283
    					</g:Grid>
284
    				</g:cell>
285
    				<g:cell>
286
    					<g:Grid>
287
    						<g:row>
288
    							<g:customCell>
289
    								<g:Label styleName='{style.blueLabel}'>Best Deals Text:</g:Label>
290
    							</g:customCell>
291
    							<g:customCell>
2027 ankur.sing 292
    								<g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsText"></g:TextBox>
1992 ankur.sing 293
    							</g:customCell>
294
    						</g:row>
295
    						<g:row>
296
    							<g:customCell>
297
    								<g:Label styleName='{style.blueLabel}'>Best Deals Value:</g:Label>
298
    							</g:customCell>
299
    							<g:customCell>
2066 ankur.sing 300
    								<g:TextBox styleName='{style.numeric-box}' ui:field="bestDealsValue"></g:TextBox>
1992 ankur.sing 301
    							</g:customCell>
302
    						</g:row>
2066 ankur.sing 303
                            <g:row>
304
                                <g:customCell>
305
                                    <g:Label styleName='{style.blueLabel}'>Best Selling Rank:</g:Label>
306
                                </g:customCell>
307
                                <g:customCell>
308
                                    <g:TextBox styleName='{style.numeric-box}' ui:field="bestSellingRank"></g:TextBox>
309
                                </g:customCell>
310
                            </g:row>
311
                            <g:row>
312
                                <g:customCell>
313
                                    <g:Label styleName='{style.blueLabel}'>Default for Entity:</g:Label>
314
                                </g:customCell>
315
                                <g:customCell>
316
                                    <g:CheckBox ui:field="defaultForEntity"></g:CheckBox>
317
                                </g:customCell>
318
                            </g:row>
1992 ankur.sing 319
    					</g:Grid>
320
    				</g:cell>
321
    			</g:HorizontalPanel>
322
 
2066 ankur.sing 323
                <g:VerticalPanel>
324
                    <g:VerticalPanel styleName='{style.inventoryTable}'>
2105 ankur.sing 325
                        <g:FlexTable ui:field='headerAvailability' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
326
                        <g:FlexTable ui:field='availabilityTable' cellSpacing='0' cellPadding='0' />
1992 ankur.sing 327
                    </g:VerticalPanel>
2119 ankur.sing 328
                    <g:VerticalPanel>
2105 ankur.sing 329
                        <g:FlexTable ui:field='headerVendorM' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
330
                        <g:FlexTable ui:field='vendorTableM' cellSpacing='0' cellPadding='0' />
1992 ankur.sing 331
                    </g:VerticalPanel>
2105 ankur.sing 332
                    <g:VerticalPanel styleName='{style.vendorTable}'>
333
                        <g:FlexTable ui:field='headerVendor' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
334
                        <g:FlexTable ui:field='vendorTable' cellSpacing='0' cellPadding='0' />
335
                    </g:VerticalPanel>
2066 ankur.sing 336
                </g:VerticalPanel>
2027 ankur.sing 337
                <g:VerticalPanel styleName='{style.buttonContainer}'>
2066 ankur.sing 338
                    <g:Button ui:field="submit">Update Item</g:Button>
1992 ankur.sing 339
                </g:VerticalPanel>
340
            </g:VerticalPanel>
2027 ankur.sing 341
            </g:ScrollPanel>
1961 ankur.sing 342
		</g:center>
343
	</g:DockLayoutPanel>
344
</ui:UiBinder>