Subversion Repositories SmartDukaan

Rev

Rev 1992 | Rev 2066 | 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
        }
2027 ankur.sing 72
 
73
        .floatRight {
74
        	float: right;
75
        	left-padding: 5px;
76
        	margin-left: 50px;
77
			border: 1px solid #99bbe8;
78
       	}
1992 ankur.sing 79
 
2027 ankur.sing 80
		.floatLeft {
81
			float: left;
82
			border: 1px solid #99bbe8;
83
		}
1992 ankur.sing 84
 
2027 ankur.sing 85
		.buttonContainer	{
86
			width: 100%;
87
			padding-top: 40px;
88
			padding-left: 370px;
89
		}
1992 ankur.sing 90
 
1961 ankur.sing 91
	</ui:style>
92
 
93
	<g:DockLayoutPanel styleName='{style.outer}' unit='EM'>
94
		<g:center>
2027 ankur.sing 95
        <g:ScrollPanel>
1992 ankur.sing 96
            <g:VerticalPanel>
97
    			<g:HorizontalPanel>
98
    				<g:cell>
99
    					<g:Grid>
100
    						<g:row>
101
    							<g:customCell>
102
    								<g:Label styleName='{style.blueLabel}'>Item id:</g:Label>
103
    							</g:customCell>
104
    							<g:customCell>
105
    								<g:Label styleName='{style.greenLabel}' ui:field="itemId"></g:Label>
106
    							</g:customCell>
107
    						</g:row>
108
                            <g:row>
109
                                <g:customCell>
110
                                    <g:Label styleName='{style.blueLabel}'>Item Status:</g:Label>
111
                                </g:customCell>
112
                                <g:customCell>
113
                                    <g:Label styleName='{style.greenLabel}' ui:field="itemStatus"></g:Label>
114
                                </g:customCell>
115
                            </g:row>
116
    						<g:row>
117
    							<g:customCell>
118
    								<g:Label styleName='{style.blueLabel}'>Product Group:</g:Label>
119
    							</g:customCell>
120
    							<g:customCell>
2027 ankur.sing 121
    								<g:TextBox styleName='{style.greenLabel}' ui:field="productGroup"></g:TextBox>
1992 ankur.sing 122
    							</g:customCell>
123
    						</g:row>
124
    						<g:row>
125
    							<g:customCell>
126
    								<g:Label styleName='{style.blueLabel}'>Brand:</g:Label>
127
    							</g:customCell>
128
    							<g:customCell>
2027 ankur.sing 129
    								<g:TextBox styleName="{style.greenLabel}" ui:field="brand"></g:TextBox>
1992 ankur.sing 130
    							</g:customCell>
131
    						</g:row>
132
    						<g:row>
133
    							<g:customCell>
134
    								<g:Label styleName='{style.blueLabel}'>Model Number:</g:Label>
135
    							</g:customCell>
136
    							<g:customCell>
2027 ankur.sing 137
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelNumber"></g:TextBox>
1992 ankur.sing 138
    							</g:customCell>
139
    						</g:row>
140
    						<g:row>
141
    							<g:customCell>
142
    								<g:Label styleName='{style.blueLabel}'>Model Name:</g:Label>
143
    							</g:customCell>
144
    							<g:customCell>
2027 ankur.sing 145
    								<g:TextBox styleName="{style.greenLabel}" ui:field="modelName"></g:TextBox>
1992 ankur.sing 146
    							</g:customCell>
147
    						</g:row>
148
    						<g:row>
149
    							<g:customCell>
150
    								<g:Label styleName='{style.blueLabel}'>Colour:</g:Label>
151
    							</g:customCell>
152
    							<g:customCell>
2027 ankur.sing 153
    								<g:TextBox styleName="{style.greenLabel}" ui:field="color"></g:TextBox>
1992 ankur.sing 154
    							</g:customCell>
155
    						</g:row>
156
    					</g:Grid>
157
    				</g:cell>
158
    				<g:cell>
159
    					<g:Grid>
160
    						<g:row>
161
    							<g:customCell>
162
    								<g:Label styleName='{style.blueLabel}'>Category:</g:Label>
163
    							</g:customCell>
164
    							<g:customCell>
165
    								<g:Label styleName='{style.greenLabel}' ui:field="category"></g:Label>
166
    							</g:customCell>
167
    						</g:row>
168
    						<g:row>
169
    							<g:customCell>
170
    								<g:Label styleName='{style.blueLabel}'>Comments:</g:Label>
171
    							</g:customCell>
172
    							<g:customCell>
2027 ankur.sing 173
    								<g:TextBox styleName='{style.greenLabel}' ui:field="comments"></g:TextBox>
1992 ankur.sing 174
    							</g:customCell>
175
    						</g:row>
176
    						<g:row>
177
    							<g:customCell>
178
    								<g:Label styleName='{style.blueLabel}'>Catalog Item ID:</g:Label>
179
    							</g:customCell>
180
    							<g:customCell>
181
    								<g:Label styleName='{style.greenLabel}' ui:field="catalogItemId"></g:Label>
182
    							</g:customCell>
183
    						</g:row>
184
    					</g:Grid>
185
    				</g:cell>
186
    				<g:cell>
187
    					<g:Grid>
188
    						<g:row>
189
    							<g:customCell>
190
    								<g:Label styleName='{style.blueLabel}'>MRP:</g:Label>
191
    							</g:customCell>
192
    							<g:customCell>
193
    								<g:TextBox styleName='{style.greenLabel}' ui:field="mrp"></g:TextBox>
194
    							</g:customCell>
195
    						</g:row>
196
    						<!-- <g:row>
197
    							<g:customCell>
198
    								<g:Label styleName='{style.blueLabel}'>MOP:</g:Label>
199
    							</g:customCell>
200
    							<g:customCell>
201
    								<g:TextBox styleName='{style.greenLabel}' ui:field="mop"></g:TextBox>
202
    							</g:customCell>
203
    						</g:row> -->
204
    						<!-- <g:row>
205
    							<g:customCell>
206
    								<g:Label styleName='{style.blueLabel}'>Dealer Price:</g:Label>
207
    							</g:customCell>
208
    							<g:customCell>
209
    								<g:TextBox styleName='{style.greenLabel}' ui:field="dealerPrice"></g:TextBox>
210
    							</g:customCell>
211
    						</g:row> -->
212
    						<g:row>
213
    							<g:customCell>
214
    								<g:Label styleName='{style.blueLabel}'>Selling Price:</g:Label>
215
    							</g:customCell>
216
    							<g:customCell>
217
    								<g:TextBox styleName='{style.greenLabel}' ui:field="sellingPrice"></g:TextBox>
218
    							</g:customCell>
219
    						</g:row>
220
                            <!-- <g:row>
221
                                <g:customCell>
222
                                    <g:Label styleName='{style.blueLabel}'>Transfer Price:</g:Label>
223
                                </g:customCell>
224
                                <g:customCell>
225
                                    <g:TextBox styleName='{style.greenLabel}' ui:field="transferPrice"></g:TextBox>
226
                                </g:customCell>
227
                            </g:row> -->
228
    						<g:row>
229
    							<g:customCell>
230
    								<g:Label styleName='{style.blueLabel}'>Weight:</g:Label>
231
    							</g:customCell>
232
    							<g:customCell>
233
    								<g:TextBox styleName='{style.greenLabel}' ui:field="weight"></g:TextBox>
234
    							</g:customCell>
235
    						</g:row>
236
    					</g:Grid>
237
    				</g:cell>
238
    				<g:cell>
239
    					<g:Grid>
240
    						<g:row>
241
    							<g:customCell>
242
    								<g:Label styleName='{style.blueLabel}'>Added On:</g:Label>
243
    							</g:customCell>
244
    							<g:customCell>
245
    								<g:Label styleName='{style.greenLabel}' ui:field="addedOn"></g:Label>
246
    							</g:customCell>
247
    						</g:row>
248
    						<g:row>
249
    							<g:customCell>
250
    								<g:Label styleName='{style.blueLabel}'>Start Date:</g:Label>
251
    							</g:customCell>
252
    							<g:customCell>
253
    								<g:Label styleName='{style.greenLabel}' ui:field="startDate"></g:Label>
254
    							</g:customCell>
255
    						</g:row>
256
    						<g:row>
257
    							<g:customCell>
258
    								<g:Label styleName='{style.blueLabel}'>Retiring Date:</g:Label>
259
    							</g:customCell>
260
    							<g:customCell>
261
    								<g:Label styleName='{style.greenLabel}' ui:field="retireDate"></g:Label>
262
    							</g:customCell>
263
    						</g:row>
264
    						<g:row>
265
    							<g:customCell>
266
    								<g:Label styleName='{style.blueLabel}'>Updated On:</g:Label>
267
    							</g:customCell>
268
    							<g:customCell>
269
    								<g:Label styleName='{style.greenLabel}' ui:field="updatedOn"></g:Label>
270
    							</g:customCell>
271
    						</g:row>
272
    					</g:Grid>
273
    				</g:cell>
274
    				<g:cell>
275
    					<g:Grid>
276
    						<g:row>
277
    							<g:customCell>
278
    								<g:Label styleName='{style.blueLabel}'>Best Deals Text:</g:Label>
279
    							</g:customCell>
280
    							<g:customCell>
2027 ankur.sing 281
    								<g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsText"></g:TextBox>
1992 ankur.sing 282
    							</g:customCell>
283
    						</g:row>
284
    						<g:row>
285
    							<g:customCell>
286
    								<g:Label styleName='{style.blueLabel}'>Best Deals Value:</g:Label>
287
    							</g:customCell>
288
    							<g:customCell>
2027 ankur.sing 289
    								<g:TextBox styleName='{style.greenLabel}' ui:field="bestDealsValue"></g:TextBox>
1992 ankur.sing 290
    							</g:customCell>
291
    						</g:row>
292
    					</g:Grid>
293
    				</g:cell>
294
    			</g:HorizontalPanel>
295
 
296
                <g:HorizontalPanel>
2027 ankur.sing 297
                    <g:VerticalPanel styleName='{style.floatLeft}'>
1992 ankur.sing 298
                                <g:FlexTable ui:field='headerAvailability' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
299
                                <g:FlexTable ui:field='availabilityTable' cellSpacing='0' cellPadding='0' />
300
                    </g:VerticalPanel>
2027 ankur.sing 301
                    <g:VerticalPanel styleName='{style.floatRight}'>
1992 ankur.sing 302
                                <g:FlexTable ui:field='headerPricing' styleName='{style.header}' cellSpacing='0' cellPadding='0'/>
303
                                <g:FlexTable ui:field='pricingTable' cellSpacing='0' cellPadding='0' />
304
                    </g:VerticalPanel>
305
                </g:HorizontalPanel>
2027 ankur.sing 306
                <g:VerticalPanel styleName='{style.buttonContainer}'>
1992 ankur.sing 307
                    <g:Button ui:field="submit">Update</g:Button>
308
                </g:VerticalPanel>
309
            </g:VerticalPanel>
2027 ankur.sing 310
            </g:ScrollPanel>
1961 ankur.sing 311
		</g:center>
312
	</g:DockLayoutPanel>
313
</ui:UiBinder>