moved list of cities to store / fixed bug with grunt watch on fast computers
This commit is contained in:
@@ -29,7 +29,7 @@ var CartPage = React.createClass({
|
||||
var firstImage = i.get('multi_media_descriptions')[0];
|
||||
firstImage = firstImage || { resized_url: "https://res.cloudinary.com/lfvt7ps2n/image/upload/c_fit,h_172,w_226/v1421732950/http_www.asms.ru_bitrix_templates_main_images_nophoto_irnofq.png" } ;
|
||||
return (
|
||||
<tr key={i.get('id')}>
|
||||
<tr key={i.get('id') } className="cart-table-row">
|
||||
<td className='text-center'>
|
||||
<img style={{maxWidth: '90px', maxHeight: '90px'}} src={firstImage.url} alt="product image"/>
|
||||
</td>
|
||||
@@ -41,7 +41,7 @@ var CartPage = React.createClass({
|
||||
</td>
|
||||
<td>{ Globals.FormatCurrency(price) }</td>
|
||||
<td>
|
||||
<select style={{textAlign: 'center'}} value={count}
|
||||
<select style={{textAlign: 'center'}} value={count} className="form-control"
|
||||
onChange={self._onQuantityChange.bind(self, i.get('id'))}
|
||||
>
|
||||
|
||||
@@ -61,9 +61,9 @@ var CartPage = React.createClass({
|
||||
{ Globals.FormatCurrency(count * price) }
|
||||
</td>
|
||||
<td>
|
||||
<button onClick={self._onTakeItemOut.bind(self, i.get('id'))}>Ukloni iz korpe</button>
|
||||
<button className="btn btn-default" onClick={self._onTakeItemOut.bind(self, i.get('id'))}>Ukloni iz korpe</button>
|
||||
</td>
|
||||
</tr>)
|
||||
</tr>)
|
||||
});
|
||||
|
||||
var deliveryDestination = (<span></span>);
|
||||
|
||||
Reference in New Issue
Block a user