1 parent
274875c6c4
commit
320263eefa
58 files changed
+2078
-5398
No files matched your search
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* @file 提示帮助
|
||||
* @author life
|
||||
*
|
||||
*/
|
||||
define('tips', [], function() {
|
||||
var tpl = ['<div class="modal fade bs-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">',
|
||||
'<div class="modal-dialog modal-sm">',
|
||||
'<div class="modal-content">',
|
||||
'<div class="modal-header">',
|
||||
'<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>',
|
||||
'<h4 class="modal-title" class="modalTitle">' + getMsg('editorTips') + '</h4>',
|
||||
'</div>',
|
||||
'<div class="modal-body">' + getMsg('editorTipsInfo') + '</div>',
|
||||
'<div class="modal-footer">',
|
||||
'<button type="button" class="btn btn-default" data-dismiss="modal">' + getMsg('close') + '</button>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
'</div>',
|
||||
'</div>'].join('');
|
||||
var $tpl = $(tpl);
|
||||
|
||||
var view = {
|
||||
init: function () {
|
||||
$("#tipsBtn").click(function() {
|
||||
$tpl.modal({show: true});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
view.init();
|
||||
});
|
||||
Reference in new issue
Block a user