请问如何在notiry的提示框中加入按钮?

 $.notify({
         title: '确定要删除此模板吗!',
          message: ""
          },{
            element: 'body',
            type: 'warning',
            placement: {
               from: "top",
               align: "center"
            },
            emplate: '<div data-noify="container" class="col-xs-11 col-sm-3 alert alert-{0}" role="alert">' +
                      '<button type="button" aria-hidden="true" class="close" data-notify="dismiss">×</button>' +
                      '<span data-notify="icon"></span> ' +
                      '<span data-notify="title">{1}</span> ' +
                      '<span data-notify="message">{2}</span>' +
                      '<div class="progress" data-notify="progressbar">' +
                      '<div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 10%;">' +
                      '<button type="button" class="btn btn-warning">确定</button>'+
                      '</div>' +
                      '</div>' +
                      '</div>'
                    });

我这样写的,但是没有效果。
谢谢!

https://segmentfault.com/q/1010000008602112 lz解决了?