diff --git a/src/common/pages/Car/CarSearch.js b/src/common/pages/Car/CarSearch.js index 69ee27b..98886f3 100644 --- a/src/common/pages/Car/CarSearch.js +++ b/src/common/pages/Car/CarSearch.js @@ -3,7 +3,7 @@ import {inject, observer} from 'mobx-react'; import { FlatButton } from 'material-ui'; -import { Affix, Card, Slider, Select, Row, Col, Icon, Tag,Rate, Button, Checkbox ,Divider, DatePicker } from 'antd'; +import { Affix, Card, Slider, Select, Row, Col, Icon, Tag,Rate, Button, Checkbox ,Divider, DatePicker, TimePicker } from 'antd'; import {startCase} from 'lodash'; import LoadingDialog from "../LoadingDialog"; import Loader from 'react-loader-advanced'; @@ -13,6 +13,8 @@ import EmptyComponent from '../EmptyComponent'; import NavigationArrowBack from 'material-ui/svg-icons/navigation/arrow-back'; import Search from 'material-ui/svg-icons/action/search'; +const format = 'HH:mm'; + @inject('appstate') @observer export default class CarSearch extends React.Component { @@ -79,25 +81,30 @@ export default class CarSearch extends React.Component {

Max. Points

-

Rating Bintang

- - -

Fasilitas

+

Kelas Point

- Air Conditioning - Check All - Bar - Business Centre - Coffee Shop - Gym - Internet Access - Pool - Restaurant - Room Service - Wi-Fi Access + Mini + Special + +

Penyejuk Mobil

+ + + Air Conditional + + + +

Penyejuk Mobil

+ + + Automatic + + + Manual + + @@ -118,56 +125,91 @@ export default class CarSearch extends React.Component { {(this.state.changeSearch == true) ? ( -
-
-

Where

+
+
+

Country

+ +
+
+

City

-
-
-

Rooms

+ allowClear + showSearch + showArrow={false} + style={{ width: '100%' }} + placeholder="Select City" + optionFilterProp="children" + onChange={this.whereHandleChange} + onFocus={this.whereHandleFocus} + onBlur={this.whereHandleBlur} + filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} + > + + + + +
+
+

Lokasi

-
-
-
-
-

Check-in

+ allowClear + showSearch + showArrow={false} + style={{ width: '100%' }} + placeholder="Select Location" + optionFilterProp="children" + onChange={this.whereHandleChange} + onFocus={this.whereHandleFocus} + onBlur={this.whereHandleBlur} + filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} + > + + + + +
+
+
+
+

Start Date

-

Check-out

+

Start Time

+ +
+
+

Until Date

-
+
+

End Time

+ , +
+
+
+
+ Usia pengendara 25 sampai 70 tahun? +
+
+ Kembali ke lokasi yang sama +
+
+
diff --git a/src/common/pages/Car/index.js b/src/common/pages/Car/index.js index 8b68ada..48dce43 100644 --- a/src/common/pages/Car/index.js +++ b/src/common/pages/Car/index.js @@ -153,7 +153,7 @@ export default class CarComponent extends React.Component {
-
+

Start Date