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