Created
January 12, 2015 02:05
-
-
Save deanstalker/755b37d1eabb575653c3 to your computer and use it in GitHub Desktop.
Bootstrap 3 Modal Processing Dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app; | |
app = app || (function () { | |
var process = $('<div class="modal modal-static fade" id="processing-modal" role="dialog" aria-hidden="true" data-keyboard="false" data-backdrop="static" style="overflow: hidden;"><div class="modal-dialog" style="width: 180px;"><div class="modal-content"><div class="modal-body"><div class="text-center"><i class="fa fa-spinner fa-spin" style="font-size: 64px;"></i><h4>Processing...</h4></div></div></div></div></div>'); | |
return { | |
showProcess: function () { | |
process.modal('show'); | |
}, | |
hideProcess: function () { | |
process.modal('hide'); | |
} | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment