Checkout


Checkout

Checkout

Checkout table

Checkout table

Checkout item

Checkout item

Datepicker

Datepicker

Form row

Form row

Form row 2

Form row 2

CSS Classes:

ct-checkout: Base class for checkout.
tab-content: Hide tab panels at start, show them when .active.

The ‘.datepicker’ component consist of fallowing HTML markup:

CSS Classes :
.input-append‘, ‘.date‘ are the classes necessary to get datepicker plugin to work and be displayed.
I also requires the following js files:

<script src="assets/plugins/datepicker/js/bootstrap-datepicker.js"></script> Initialization can be done below attached file.
<script> $('.input-append').datepicker();</script>

The ‘ct-checkout’ component consist of ‘datepicker‘ and ‘ct-checkout-item‘ items.
The ‘ct-checkout-item’ selects a prticular date in ‘.datepicker’ component by clicking CHECKBOX BUTTON.

CHECKBOX BUTTON :

It always comes with the following markup :

ct-btn-checkbox: It’s a type of a button, reserved just for checkout section.

Input field receive two attributes, which is ‘value’ and ‘data-value’. The ‘value’ attribute
sets the ‘datepicker’ component to particular date. The ‘data-value’ is text of a button that
will be displayed after clicking twice on the button. First click will inform user that button was clicked
by displaying thext ‘Selected!’. Second click will take value from ‘data-value’ attribute.

USED UTILITIES CLASSES: