|
3 | 3 | --- |
4 | 4 | {% extends 'test.njk' %} |
5 | 5 | {% block content %} |
| 6 | + <section> |
| 7 | + <h2>Example Choice Tile Grid</h2> |
| 8 | + <form> |
| 9 | + <fieldset> |
| 10 | + <div class="hxRow"> |
| 11 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 12 | + <input type="radio" name="sample" value="1" /> |
| 13 | + <hx-tile> |
| 14 | + <hx-icon type="checkmark"></hx-icon> |
| 15 | + <div class="hx-tile-icon"> |
| 16 | + <hx-icon type="server"></hx-icon> |
| 17 | + </div> |
| 18 | + <hx-tile-title>Servers</hx-tile-title> |
| 19 | + <hx-tile-description>Servers description</hx-tile-description> |
| 20 | + </hx-tile> |
| 21 | + </label> |
| 22 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 23 | + <input type="radio" name="sample" value="2" /> |
| 24 | + <hx-tile> |
| 25 | + <hx-icon type="checkmark"></hx-icon> |
| 26 | + <div class="hx-tile-icon"> |
| 27 | + <hx-icon type="technical-change"></hx-icon> |
| 28 | + </div> |
| 29 | + <hx-tile-title>Configurations</hx-tile-title> |
| 30 | + <hx-tile-description>Configurations description</hx-tile-description> |
| 31 | + </hx-tile> |
| 32 | + </label> |
| 33 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 34 | + <input type="radio" name="sample" value="3" /> |
| 35 | + <hx-tile> |
| 36 | + <hx-icon type="checkmark"></hx-icon> |
| 37 | + <div class="hx-tile-icon"> |
| 38 | + <hx-icon type="technical-incident"></hx-icon> |
| 39 | + </div> |
| 40 | + <hx-tile-title>Incidents</hx-tile-title> |
| 41 | + <hx-tile-description>Incidents description</hx-tile-description> |
| 42 | + </hx-tile> |
| 43 | + </label> |
| 44 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 45 | + <input type="radio" name="sample" value="4" /> |
| 46 | + <hx-tile> |
| 47 | + <hx-icon type="checkmark"></hx-icon> |
| 48 | + <div class="hx-tile-icon"> |
| 49 | + <hx-icon type="billing"></hx-icon> |
| 50 | + </div> |
| 51 | + <hx-tile-title>Billing</hx-tile-title> |
| 52 | + <hx-tile-description>Billing description</hx-tile-description> |
| 53 | + </hx-tile> |
| 54 | + </label> |
| 55 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 56 | + <input type="radio" name="sample" value="5" /> |
| 57 | + <hx-tile> |
| 58 | + <hx-icon type="checkmark"></hx-icon> |
| 59 | + <div class="hx-tile-icon"> |
| 60 | + <hx-icon type="account"></hx-icon> |
| 61 | + </div> |
| 62 | + <hx-tile-title>Account</hx-tile-title> |
| 63 | + <hx-tile-description>Account description</hx-tile-description> |
| 64 | + </hx-tile> |
| 65 | + </label> |
| 66 | + <label class="hxChoice hxCol hxSpan-4-xs"> |
| 67 | + <input type="radio" name="sample" value="6" disabled /> |
| 68 | + <hx-tile> |
| 69 | + <hx-icon type="checkmark"></hx-icon> |
| 70 | + <div class="hx-tile-icon"> |
| 71 | + <hx-icon type="minus-circle"></hx-icon> |
| 72 | + </div> |
| 73 | + <hx-tile-title>Disabled Tile</hx-tile-title> |
| 74 | + <hx-tile-description>Disabled Tile description</hx-tile-description> |
| 75 | + </hx-tile> |
| 76 | + </label> |
| 77 | + </div> |
| 78 | + </fieldset> |
| 79 | + </form> |
| 80 | + </section> |
| 81 | + |
6 | 82 | <section> |
7 | 83 | <h2>Default</h2> |
8 | 84 | <code>input + hx-tile</code> |
|
0 commit comments