diff options
Diffstat (limited to 'tpl/views')
| -rw-r--r-- | tpl/views/alert.pug | 6 | ||||
| -rw-r--r-- | tpl/views/card.pug | 9 | ||||
| -rw-r--r-- | tpl/views/table.pug | 2 |
3 files changed, 13 insertions, 4 deletions
diff --git a/tpl/views/alert.pug b/tpl/views/alert.pug index c176279..02cf508 100644 --- a/tpl/views/alert.pug +++ b/tpl/views/alert.pug | |||
| @@ -3,10 +3,10 @@ mixin view-alert | |||
| 3 | .c-box | 3 | .c-box |
| 4 | +alert= loremIpsum | 4 | +alert= loremIpsum |
| 5 | br | 5 | br |
| 6 | +alert('primary')= loremIpsum | 6 | +alert('accent')= loremIpsum |
| 7 | br | 7 | br |
| 8 | +alert('error')= loremIpsum | 8 | +alert('negative')= loremIpsum |
| 9 | br | 9 | br |
| 10 | +alert('success')= loremIpsum | 10 | +alert('positive')= loremIpsum |
| 11 | br | 11 | br |
| 12 | +alert('warning')= loremIpsum | 12 | +alert('warning')= loremIpsum |
diff --git a/tpl/views/card.pug b/tpl/views/card.pug new file mode 100644 index 0000000..0b88b0e --- /dev/null +++ b/tpl/views/card.pug | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | mixin view-card | ||
| 2 | +view('card', 'Card') | ||
| 3 | .c-box | ||
| 4 | +card(href='#') | ||
| 5 | +slot('body') | ||
| 6 | h1= 'XS Heading' | ||
| 7 | p= loremIpsum | ||
| 8 | +slot('footer') | ||
| 9 | = 'Footer' | ||
diff --git a/tpl/views/table.pug b/tpl/views/table.pug index f74a4cd..6ed7263 100644 --- a/tpl/views/table.pug +++ b/tpl/views/table.pug | |||
| @@ -76,7 +76,7 @@ mixin view-table | |||
| 76 | +table-cell= 'Row 4,3' | 76 | +table-cell= 'Row 4,3' |
| 77 | 77 | ||
| 78 | .c-box | 78 | .c-box |
| 79 | +table(box=true, size50=true) | 79 | +table(box=true sm=true) |
| 80 | +table-head | 80 | +table-head |
| 81 | +table-row | 81 | +table-row |
| 82 | +table-head-cell= 'Title' | 82 | +table-head-cell= 'Title' |
