|
10 | 10 | <body id="app" class="k-body">
|
11 | 11 | <style>
|
12 | 12 | .k-window {
|
13 |
| - width: 450px; |
| 13 | + min-width: 400px; |
14 | 14 | position: relative;
|
15 | 15 | }
|
16 | 16 |
|
17 | 17 | </style>
|
18 |
| - <div id="test-area" class="k-d-grid"> |
19 |
| - <div class="k-spreadsheet-window k-window"> |
20 |
| - <div class="k-window-titlebar"> |
21 |
| - <span class="k-window-title">Data Validation</span> |
22 |
| - <div class="k-window-titlebar-actions"> |
23 |
| - <button class="k-window-titlebar-action k-button k-button-md k-button-flat k-button-flat-base k-rounded-md k-icon-button"> |
24 |
| - <span class="k-button-icon k-svg-icon k-svg-i-x"> |
25 |
| - <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
26 |
| - <path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z"></path> |
27 |
| - </svg> |
28 |
| - </span> |
29 |
| - </button> |
| 18 | + <div id="test-area" class="k-d-grid k-grid-cols-2"> |
| 19 | + <section> |
| 20 | + <div class="k-spreadsheet-window k-window"> |
| 21 | + <div class="k-window-titlebar"> |
| 22 | + <span class="k-window-title">Data Validation</span> |
| 23 | + <div class="k-window-titlebar-actions"> |
| 24 | + <button class="k-window-titlebar-action k-button k-button-md k-button-flat k-button-flat-base k-rounded-md k-icon-button"> |
| 25 | + <span class="k-button-icon k-svg-icon k-svg-i-x"> |
| 26 | + <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
| 27 | + <path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z"></path> |
| 28 | + </svg> |
| 29 | + </span> |
| 30 | + </button> |
| 31 | + </div> |
30 | 32 | </div>
|
31 |
| - </div> |
32 |
| - <div class="k-window-content"> |
33 |
| - <form class="k-form k-form-md"> |
34 |
| - <div class="k-form-field"> |
35 |
| - <label class="k-label k-form-label">Criteria:</label> |
36 |
| - <div class="k-form-field-wrap"> |
37 |
| - <span class="k-dropdownlist k-picker k-picker-md k-picker-solid k-rounded-md"> |
38 |
| - <span class="k-input-inner">Number</span> |
39 |
| - <button class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button"> |
40 |
| - <span class="k-button-icon k-svg-icon k-svg-i-caret-alt-down"> |
41 |
| - <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
42 |
| - <path d="M256 352 128 160h256L256 352z"></path> |
43 |
| - </svg> |
| 33 | + <div class="k-window-content"> |
| 34 | + <form class="k-form k-form-md"> |
| 35 | + <div class="k-form-field"> |
| 36 | + <label class="k-label k-form-label">Cell Range</label> |
| 37 | + <div class="k-form-field-wrap"> |
| 38 | + <span class="k-textbox k-input k-input-md k-input-solid k-rounded-md"> |
| 39 | + <input type="text" class="k-input-inner" placeholder="" autocomplete="off" value="Input Value"> |
| 40 | + <span class="k-clear-value"> |
| 41 | + <span class="k-svg-icon k-svg-i-x"> |
| 42 | + <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
| 43 | + <path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z"></path> |
| 44 | + </svg> |
| 45 | + </span> |
44 | 46 | </span>
|
45 |
| - </button> |
46 |
| - </span> |
| 47 | + </span> |
| 48 | + </div> |
47 | 49 | </div>
|
48 |
| - </div> |
49 |
| - <div class="k-form-field"> |
50 |
| - <label class="k-label k-form-label">Comparer:</label> |
51 |
| - <div class="k-form-field-wrap"> |
52 |
| - <span class="k-dropdownlist k-picker k-picker-md k-picker-solid k-rounded-md"> |
53 |
| - <span class="k-input-inner">greater than</span> |
54 |
| - <button class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button"> |
55 |
| - <span class="k-button-icon k-svg-icon k-svg-i-caret-alt-down"> |
56 |
| - <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
57 |
| - <path d="M256 352 128 160h256L256 352z"></path> |
58 |
| - </svg> |
| 50 | + <div class="k-form-field"> |
| 51 | + <label class="k-label k-form-label">Criteria</label> |
| 52 | + <div class="k-form-field-wrap"> |
| 53 | + <span class="k-dropdownlist k-picker k-picker-md k-picker-solid k-rounded-md"> |
| 54 | + <span class="k-input-inner"> |
| 55 | + <span class="k-input-value-text">Number</span> |
59 | 56 | </span>
|
60 |
| - </button> |
61 |
| - </span> |
| 57 | + <button class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button"> |
| 58 | + <span class="k-button-icon k-svg-icon k-svg-i-caret-alt-down"> |
| 59 | + <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
| 60 | + <path d="M256 352 128 160h256L256 352z"></path> |
| 61 | + </svg> |
| 62 | + </span> |
| 63 | + </button> |
| 64 | + </span> |
| 65 | + </div> |
62 | 66 | </div>
|
63 |
| - </div> |
64 |
| - <div class="k-form-field"> |
65 |
| - <label class="k-label k-form-label">Min:</label> |
66 |
| - <div class="k-form-field-wrap"> |
67 |
| - <span class="k-textbox k-input k-input-md k-input-solid k-rounded-md"> |
68 |
| - <input type="text" class="k-input-inner" placeholder="e.g. 10" autocomplete="off" value=""> |
69 |
| - </span> |
| 67 | + <div class="k-form-field"> |
| 68 | + <label class="k-label k-form-label">Comparer</label> |
| 69 | + <div class="k-form-field-wrap"> |
| 70 | + <span class="k-dropdownlist k-picker k-picker-md k-picker-solid k-rounded-md"> |
| 71 | + <span class="k-input-inner"> |
| 72 | + <span class="k-input-value-text">Greater than</span> |
| 73 | + </span> |
| 74 | + <button class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button"> |
| 75 | + <span class="k-button-icon k-svg-icon k-svg-i-caret-alt-down"> |
| 76 | + <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
| 77 | + <path d="M256 352 128 160h256L256 352z"></path> |
| 78 | + </svg> |
| 79 | + </span> |
| 80 | + </button> |
| 81 | + </span> |
| 82 | + </div> |
70 | 83 | </div>
|
71 |
| - </div> |
72 |
| - <div class="k-form-field"> |
73 |
| - <div class="k-form-field-wrap"> |
74 |
| - <span class="k-checkbox-wrap"> |
75 |
| - <input type="checkbox" class="k-checkbox k-checkbox-md k-rounded-md k-checked" checked=""> |
76 |
| - </span> |
77 |
| - <label class="k-checkbox-label">Ignore blank</label> |
| 84 | + <div class="k-form-field"> |
| 85 | + <label class="k-label k-form-label">Min</label> |
| 86 | + <div class="k-form-field-wrap"> |
| 87 | + <span class="k-textbox k-input k-input-md k-input-solid k-rounded-md"> |
| 88 | + <input type="text" class="k-input-inner" placeholder="Placeholder" autocomplete="off" value=""> |
| 89 | + </span> |
| 90 | + </div> |
78 | 91 | </div>
|
79 |
| - </div> |
80 |
| - <div class="k-form-field"> |
81 |
| - <label class="k-label k-form-label">On invalid data:</label> |
82 |
| - <div class="k-form-field-wrap"> |
83 |
| - <ul class="k-radio-list k-list-horizontal"> |
84 |
| - <li class="k-radio-list-item"> |
85 |
| - <span class="k-radio-wrap"> |
86 |
| - <input type="radio" class="k-radio k-radio-md k-checked" checked=""> |
87 |
| - </span> |
88 |
| - <label class="k-radio-label">Reject input</label> |
89 |
| - </li> |
90 |
| - <li class="k-radio-list-item"> |
91 |
| - <span class="k-radio-wrap"> |
92 |
| - <input type="radio" class="k-radio k-radio-md"> |
93 |
| - </span> |
94 |
| - <label class="k-radio-label">Show warning</label> |
95 |
| - </li> |
96 |
| - </ul> |
| 92 | + <div class="k-form-field"> |
| 93 | + <div class="k-form-field-wrap"> |
| 94 | + <span class="k-checkbox-wrap"> |
| 95 | + <input type="checkbox" class="k-checkbox k-checkbox-md k-rounded-md"> |
| 96 | + </span> |
| 97 | + <label class="k-checkbox-label">Ignore blank</label> |
| 98 | + </div> |
97 | 99 | </div>
|
98 |
| - </div> |
99 |
| - <div class="k-form-field"> |
100 |
| - <div class="k-form-field-wrap"> |
101 |
| - <span class="k-checkbox-wrap"> |
102 |
| - <input type="checkbox" class="k-checkbox k-checkbox-md k-rounded-md"> |
103 |
| - </span> |
104 |
| - <label class="k-checkbox-label">Show hint</label> |
| 100 | + <div class="k-form-field"> |
| 101 | + <label class="k-label k-form-label">On invalid data</label> |
| 102 | + <div class="k-form-field-wrap"> |
| 103 | + <ul class="k-radio-list k-list-vertical"> |
| 104 | + <li class="k-radio-list-item"> |
| 105 | + <span class="k-radio-wrap"> |
| 106 | + <input type="radio" class="k-radio k-radio-md k-checked" checked=""> |
| 107 | + </span> |
| 108 | + <label class="k-radio-label">Reject input</label> |
| 109 | + </li> |
| 110 | + <li class="k-radio-list-item"> |
| 111 | + <span class="k-radio-wrap"> |
| 112 | + <input type="radio" class="k-radio k-radio-md"> |
| 113 | + </span> |
| 114 | + <label class="k-radio-label">Show warning</label> |
| 115 | + </li> |
| 116 | + </ul> |
| 117 | + </div> |
105 | 118 | </div>
|
106 |
| - </div> |
107 |
| - </form> |
| 119 | + <div class="k-form-field"> |
| 120 | + <div class="k-form-field-wrap"> |
| 121 | + <span class="k-checkbox-wrap"> |
| 122 | + <input type="checkbox" class="k-checkbox k-checkbox-md k-rounded-md"> |
| 123 | + </span> |
| 124 | + <label class="k-checkbox-label">Show hint</label> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | + </form> |
| 128 | + </div> |
| 129 | + <div class="k-actions k-actions-start k-actions-horizontal k-window-actions"> |
| 130 | + <button class="k-button k-button-md k-button-solid k-button-solid-primary k-rounded-md"> |
| 131 | + <span class="k-button-text">Apply</span> |
| 132 | + </button> |
| 133 | + <button class="k-button k-button-md k-button-solid k-button-solid-base k-rounded-md"> |
| 134 | + <span class="k-button-text">Cancel</span> |
| 135 | + </button> |
| 136 | + </div> |
108 | 137 | </div>
|
109 |
| - <div class="k-actions k-actions-start k-actions-horizontal k-window-actions"> |
110 |
| - <button class="k-button k-button-md k-button-solid k-button-solid-primary k-rounded-md"> |
111 |
| - <span class="k-button-text">Apply</span> |
112 |
| - </button> |
113 |
| - <button class="k-button k-button-md k-button-solid k-button-solid-base k-rounded-md"> |
114 |
| - <span class="k-button-text">Cancel</span> |
115 |
| - </button> |
| 138 | + </section> |
| 139 | + <section> |
| 140 | + <div class="k-spreadsheet-window k-window"> |
| 141 | + <div class="k-window-titlebar"> |
| 142 | + <span class="k-window-title">Birth Date validaiton error</span> |
| 143 | + <div class="k-window-titlebar-actions"> |
| 144 | + <button class="k-window-titlebar-action k-button k-button-md k-button-flat k-button-flat-base k-rounded-md k-icon-button"> |
| 145 | + <span class="k-button-icon k-svg-icon k-svg-i-x"> |
| 146 | + <svg aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> |
| 147 | + <path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z"></path> |
| 148 | + </svg> |
| 149 | + </span> |
| 150 | + </button> |
| 151 | + </div> |
| 152 | + </div> |
| 153 | + <div class="k-window-content">Birth Date should be between 1899 and 1998 year.</div> |
| 154 | + <div class="k-actions k-actions-start k-actions-horizontal k-window-actions"> |
| 155 | + <button class="k-button k-button-md k-button-solid k-button-solid-primary k-rounded-md"> |
| 156 | + <span class="k-button-text">Retry</span> |
| 157 | + </button> |
| 158 | + <button class="k-button k-button-md k-button-solid k-button-solid-base k-rounded-md"> |
| 159 | + <span class="k-button-text">Cancel</span> |
| 160 | + </button> |
| 161 | + </div> |
116 | 162 | </div>
|
117 |
| - </div> |
| 163 | + </section> |
118 | 164 | </div>
|
119 | 165 | </body>
|
120 | 166 | </html>
|
0 commit comments