summaryrefslogtreecommitdiffstats
path: root/tpl/views/badge.pug
blob: d4ca4b06f4895c14f9833e895ace88918ab19f65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
mixin view-badge 
    +view('badge', 'Badge')
        .c-box
            +badge= '100'
            = ' '
            +badge('primary')= 'new'
            = ' '
            +badge('accent')= 'new'
            = ' '
            +badge('accent-quiet')= 'new'
            = ' '
            +badge(size=200 href='#')= '100'
            = ' '
            +badge('primary')(size=200 href='#')= 'new'
            = ' '
            +badge('accent')(size=200 href='#')= 'new'
            = ' '
            +badge('accent-quiet')(size=200 href='#')= 'new'

        .c-box
            +badge(pill=true)= '100'
            = ' '
            +badge('primary')(pill=true)= 'new'
            = ' '
            +badge('accent')(pill=true)= 'new'
            = ' '
            +badge('accent-quiet')(pill=true)= 'new'
            = ' '
            +badge(size=200, pill=true)= '100'
            = ' '
            +badge('primary')(size=200, pill=true)= 'new'
            = ' '
            +badge('accent')(size=200, pill=true)= 'new'
            = ' '
            +badge('accent-quiet')(size=200, pill=true)= 'new'