use callout instead of alert

This commit is contained in:
printempw 2016-08-23 22:04:10 +08:00
parent 2e8139809b
commit 875cff557d
5 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
* @Author: printempw
* @Date: 2016-07-16 09:02:32
* @Last Modified by: printempw
* @Last Modified time: 2016-08-16 18:01:22
* @Last Modified time: 2016-08-23 17:58:40
*/
function showModal(msg, title, type, callback) {
@ -16,7 +16,7 @@ function showModal(msg, title, type, callback) {
function showMsg(msg, type) {
type = type === undefined ? "info" : type;
$("[id=msg]").removeClass().addClass("alert").addClass('alert-'+type).html(msg);
$("[id=msg]").removeClass().addClass("callout").addClass('callout-'+type).html(msg);
}
function showAjaxError(json) {

View File

@ -31,7 +31,7 @@
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div id="msg" class="callout hide"></div>
<div class="row">
<div class="col-xs-8">

View File

@ -35,7 +35,7 @@
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div id="msg" class="callout hide"></div>
<div class="row">
<div class="col-xs-8">

View File

@ -44,7 +44,7 @@
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div id="msg" class="callout hide"></div>
<div class="row">
<div class="col-xs-8">

View File

@ -24,7 +24,7 @@
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div id="msg" class="alert hide"></div>
<div id="msg" class="callout hide"></div>
<div class="row">
<div class="col-xs-8">