summaryrefslogtreecommitdiffstats
path: root/tpl/views/checkbox.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/views/checkbox.pug')
-rw-r--r--tpl/views/checkbox.pug18
1 files changed, 18 insertions, 0 deletions
diff --git a/tpl/views/checkbox.pug b/tpl/views/checkbox.pug
new file mode 100644
index 0000000..8f925af
--- /dev/null
+++ b/tpl/views/checkbox.pug
@@ -0,0 +1,18 @@
1mixin view-checkbox
2 +view('checkbox', 'Checkbox')
3 .c-box
4 +checkbox(indeterminate=true)= 'Cats'
5 +checkbox= 'Dogs'
6 +checkbox(checked=true)= 'Foxes'
7 br
8 +checkbox(indeterminate=true disabled=true)= 'Cats'
9 +checkbox(disabled=true)= 'Dogs'
10 +checkbox(checked=true disabled=true)= 'Foxes'
11 br
12 +checkbox(accent=true indeterminate=true)= 'Cats'
13 +checkbox(accent=true)= 'Dogs'
14 +checkbox(accent=true checked=true)= 'Foxes'
15 br
16 +checkbox(accent=true indeterminate=true disabled=true)= 'Cats'
17 +checkbox(accent=true disabled=true)= 'Dogs'
18 +checkbox(accent=true checked=true disabled=true)= 'Foxes'