From 1ded0d6a4eefb7daca62c44e4e735aec200f0b6f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 11 Feb 2019 11:15:34 -0800 Subject: Release v4.3.0 (#28228) * Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map --- .../docs/4.2/examples/checkout/form-validation.css | 5 - site/docs/4.2/examples/checkout/form-validation.js | 20 -- site/docs/4.2/examples/checkout/index.html | 223 --------------------- 3 files changed, 248 deletions(-) delete mode 100644 site/docs/4.2/examples/checkout/form-validation.css delete mode 100644 site/docs/4.2/examples/checkout/form-validation.js delete mode 100644 site/docs/4.2/examples/checkout/index.html (limited to 'site/docs/4.2/examples/checkout') diff --git a/site/docs/4.2/examples/checkout/form-validation.css b/site/docs/4.2/examples/checkout/form-validation.css deleted file mode 100644 index 7a6246fae..000000000 --- a/site/docs/4.2/examples/checkout/form-validation.css +++ /dev/null @@ -1,5 +0,0 @@ -.container { - max-width: 960px; -} - -.lh-condensed { line-height: 1.25; } diff --git a/site/docs/4.2/examples/checkout/form-validation.js b/site/docs/4.2/examples/checkout/form-validation.js deleted file mode 100644 index 280849408..000000000 --- a/site/docs/4.2/examples/checkout/form-validation.js +++ /dev/null @@ -1,20 +0,0 @@ -// Example starter JavaScript for disabling form submissions if there are invalid fields -(function () { - 'use strict' - - window.addEventListener('load', function () { - // Fetch all the forms we want to apply custom Bootstrap validation styles to - var forms = document.getElementsByClassName('needs-validation') - - // Loop over them and prevent submission - Array.prototype.filter.call(forms, function (form) { - form.addEventListener('submit', function (event) { - if (form.checkValidity() === false) { - event.preventDefault() - event.stopPropagation() - } - form.classList.add('was-validated') - }, false) - }) - }, false) -}()) diff --git a/site/docs/4.2/examples/checkout/index.html b/site/docs/4.2/examples/checkout/index.html deleted file mode 100644 index 396270e74..000000000 --- a/site/docs/4.2/examples/checkout/index.html +++ /dev/null @@ -1,223 +0,0 @@ ---- -layout: examples -title: Checkout example -extra_css: "form-validation.css" -extra_js: "form-validation.js" -body_class: "bg-light" ---- - -
-
- -

Checkout form

-

Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.

-
- -
-
-

- Your cart - 3 -

-
    -
  • -
    -
    Product name
    - Brief description -
    - $12 -
  • -
  • -
    -
    Second product
    - Brief description -
    - $8 -
  • -
  • -
    -
    Third item
    - Brief description -
    - $5 -
  • -
  • -
    -
    Promo code
    - EXAMPLECODE -
    - -$5 -
  • -
  • - Total (USD) - $20 -
  • -
- -
-
- -
- -
-
-
-
-
-

Billing address

-
-
-
- - -
- Valid first name is required. -
-
-
- - -
- Valid last name is required. -
-
-
- -
- -
-
- @ -
- -
- Your username is required. -
-
-
- -
- - -
- Please enter a valid email address for shipping updates. -
-
- -
- - -
- Please enter your shipping address. -
-
- -
- - -
- -
-
- - -
- Please select a valid country. -
-
-
- - -
- Please provide a valid state. -
-
-
- - -
- Zip code required. -
-
-
-
-
- - -
-
- - -
-
- -

Payment

- -
-
- - -
-
- - -
-
- - -
-
-
-
- - - Full name as displayed on card -
- Name on card is required -
-
-
- - -
- Credit card number is required -
-
-
-
-
- - -
- Expiration date required -
-
-
- - -
- Security code required -
-
-
-
- -
-
-
- - -
-- cgit v1.2.3