Subversion Repositories SmartDukaan

Rev

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