Subversion Repositories SmartDukaan

Rev

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