summaryrefslogtreecommitdiffstats
path: root/tpl/objects/dialog.pug
blob: 7e3e2d6011d565ec89304554b480323e1c2daef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include rule.pug
include button.pug
include heading.pug

mixin dialog(title)
    .o-dialog.t-raised
        header.o-dialog__header
            +div-heading('lg')(class='o-dialog__title')
                = title
        +rule('medium')(class='o-dialog__rule')
        section.o-dialog__body
            block
        footer.o-dialog__footer.l-button-group
            +a-button(outline=true)= 'Cancel'
            = ' '
            +a-button(outline=true variant='primary')= 'Continue'