summaryrefslogtreecommitdiffstats
path: root/tpl/views/badge.pug
blob: a3c4eed0b10c3ecb19e64491fd424f9d2153a419 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
mixin view-badge 
    +view('badge', 'Badge')
        .c-box
            +badge= '100'
            = ' '
            +badge('primary')= 'new'
            = ' '
            +badge('accent')= 'new'
            = ' '
            +badge('accent-quiet')= 'new'
            = ' '
            +badge(size=200 href='#')= '200'
            = ' '
            +badge('primary')(size=200 href='#')= 'new'
            = ' '
            +badge('accent')(size=200 href='#')= 'new'
            = ' '
            +badge('accent-quiet')(size=200 href='#')= 'new'
            = ' '
            +badge(size=300 href='#')= '300'
            = ' '
            +badge('primary')(size=300 href='#')= 'new'
            = ' '
            +badge('accent')(size=300 href='#')= 'new'
            = ' '
            +badge('accent-quiet')(size=300 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)= '200'
            = ' '
            +badge('primary')(size=200, pill=true)= 'new'
            = ' '
            +badge('accent')(size=200, pill=true)= 'new'
            = ' '
            +badge('accent-quiet')(size=200, pill=true)= 'new'
            = ' '
            +badge(size=300, pill=true)= '300'
            = ' '
            +badge('primary')(size=300, pill=true)= 'new'
            = ' '
            +badge('accent')(size=300, pill=true)= 'new'
            = ' '
            +badge('accent-quiet')(size=300, pill=true)= 'new'