| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>jQuery UI Checkboxradio - No Icons</title> |
| 6 | <link rel="stylesheet" href="../../themes/base/all.css"> |
| 7 | <link rel="stylesheet" href="../demos.css"> |
| 8 | <script src="../../external/requirejs/require.js"></script> |
| 9 | <script src="../bootstrap.js"> |
| 10 | $( "input" ).checkboxradio({ |
| 11 | icon: false |
| 12 | }); |
| 13 | </script> |
| 14 | </head> |
| 15 | <body> |
| 16 | <div class="widget"> |
| 17 | <h1>Checkbox and radio button widgets</h1> |
| 18 | |
| 19 | <h2>Radio Group</h2> |
| 20 | <fieldset> |
| 21 | <legend>Select a Location: </legend> |
| 22 | <label for="radio-1">New York</label> |
| 23 | <input type="radio" name="radio-1" id="radio-1"> |
| 24 | <label for="radio-2">Paris</label> |
| 25 | <input type="radio" name="radio-1" id="radio-2"> |
| 26 | <label for="radio-3">London</label> |
| 27 | <input type="radio" name="radio-1" id="radio-3"> |
| 28 | </fieldset> |
| 29 | |
| 30 | <h2>Checkbox</h2> |
| 31 | <fieldset> |
| 32 | <legend>Hotel Ratings: </legend> |
| 33 | <label for="checkbox-1">2 Star</label> |
| 34 | <input type="checkbox" name="checkbox-1" id="checkbox-1"> |
| 35 | <label for="checkbox-2">3 Star</label> |
| 36 | <input type="checkbox" name="checkbox-2" id="checkbox-2"> |
| 37 | <label for="checkbox-3">4 Star</label> |
| 38 | <input type="checkbox" name="checkbox-3" id="checkbox-3"> |
| 39 | <label for="checkbox-4">5 Star</label> |
| 40 | <input type="checkbox" name="checkbox-4" id="checkbox-4"> |
| 41 | </fieldset> |
| 42 | |
| 43 | <h2>Checkbox nested in label</h2> |
| 44 | <fieldset> |
| 45 | <legend>Bed Type: </legend> |
| 46 | <label for="checkbox-nested-1">2 Double |
| 47 | <input type="checkbox" name="checkbox-nested-1" id="checkbox-nested-1"> |
| 48 | </label> |
| 49 | <label for="checkbox-nested-2">2 Queen |
| 50 | <input type="checkbox" name="checkbox-nested-2" id="checkbox-nested-2"> |
| 51 | </label> |
| 52 | <label for="checkbox-nested-3">1 Queen |
| 53 | <input type="checkbox" name="checkbox-nested-3" id="checkbox-nested-3"> |
| 54 | </label> |
| 55 | <label for="checkbox-nested-4">1 King |
| 56 | <input type="checkbox" name="checkbox-nested-4" id="checkbox-nested-4"> |
| 57 | </label> |
| 58 | </fieldset> |
| 59 | </div> |
| 60 | |
| 61 | <div class="demo-description"> |
| 62 | <p>Examples of the markup that can be used with checkboxes and radio buttons, here showing both without icons.</p> |
| 63 | </div> |
| 64 | </body> |
| 65 | </html> |