diff options
Diffstat (limited to 'tpl/index.pug')
-rw-r--r-- | tpl/index.pug | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tpl/index.pug b/tpl/index.pug index e3918de..93c2057 100644 --- a/tpl/index.pug +++ b/tpl/index.pug | |||
@@ -8,6 +8,7 @@ include objects/rule.pug | |||
8 | include objects/button.pug | 8 | include objects/button.pug |
9 | include objects/text-field.pug | 9 | include objects/text-field.pug |
10 | include objects/field-label.pug | 10 | include objects/field-label.pug |
11 | include objects/radio.pug | ||
11 | 12 | ||
12 | mixin box | 13 | mixin box |
13 | +container(padX=true padY=true inPage=true theme="raised") | 14 | +container(padX=true padY=true inPage=true theme="raised") |
@@ -199,3 +200,17 @@ html | |||
199 | br | 200 | br |
200 | +field-label('Password', 'At least 6 characters required')(align='right' labelWidth='100px' invalid=true disabled=true) | 201 | +field-label('Password', 'At least 6 characters required')(align='right' labelWidth='100px' invalid=true disabled=true) |
201 | +text-field(placeholder='Placeholder' type='password' invalid=true disabled=true) | 202 | +text-field(placeholder='Placeholder' type='password' invalid=true disabled=true) |
203 | |||
204 | //----------------------------------------- | ||
205 | |||
206 | +h1-heading(level='xl')= 'Radio' | ||
207 | +rule(level='medium') | ||
208 | |||
209 | +box | ||
210 | +radio(name="radio-demo-1")= 'Cats' | ||
211 | +radio(name="radio-demo-1")= 'Dogs' | ||
212 | +radio(name="radio-demo-1" checked=true)= 'Foxes' | ||
213 | br | ||
214 | +radio(name="radio-demo-2" disabled=true)= 'Cats' | ||
215 | +radio(name="radio-demo-2" disabled=true)= 'Dogs' | ||
216 | +radio(name="radio-demo-2" checked=true disabled=true)= 'Foxes' | ||