summaryrefslogtreecommitdiffstats
path: root/tpl/views/list-group.pug
blob: 9c6b13269e207e95843ac0c3e032e1340b6a3441 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
mixin view-list-group 
    +view('list-group', 'List group')
        .c-box
            +list-group
                +list-group-item= 'First item'
                +list-group-item= 'Second item'
                +list-group-item= 'Third item'
                +list-group-item= 'Fourth item'

        .c-box
            +list-group
                +list-group-item(interactive=true)= 'First item'
                +list-group-item(interactive=true)= 'Second item'
                +list-group-item(interactive=true)= 'Third item'
                +list-group-item(interactive=true)= 'Fourth item'

        .c-box
            +list-group(horizontal=true)
                +list-group-item(interactive=true)= 'First item'
                +list-group-item(interactive=true)= 'Second item'
                +list-group-item(interactive=true)= 'Third item'
                +list-group-item(interactive=true)= 'Fourth item'