From 875cff557dc5adb6c1f9f713a5be7393334456db Mon Sep 17 00:00:00 2001 From: printempw Date: Tue, 23 Aug 2016 22:04:10 +0800 Subject: [PATCH] use callout instead of alert --- assets/src/js/utils.js | 4 ++-- resources/views/auth/forgot.tpl | 2 +- resources/views/auth/login.tpl | 2 +- resources/views/auth/register.tpl | 2 +- resources/views/auth/reset.tpl | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/src/js/utils.js b/assets/src/js/utils.js index db09f8c6..56a396c9 100644 --- a/assets/src/js/utils.js +++ b/assets/src/js/utils.js @@ -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) { diff --git a/resources/views/auth/forgot.tpl b/resources/views/auth/forgot.tpl index 859ecbbc..516a3f9b 100644 --- a/resources/views/auth/forgot.tpl +++ b/resources/views/auth/forgot.tpl @@ -31,7 +31,7 @@ -
+
diff --git a/resources/views/auth/login.tpl b/resources/views/auth/login.tpl index da4c75b6..f6d599bb 100644 --- a/resources/views/auth/login.tpl +++ b/resources/views/auth/login.tpl @@ -35,7 +35,7 @@
-
+
diff --git a/resources/views/auth/register.tpl b/resources/views/auth/register.tpl index d19b5d6e..0f9bef96 100644 --- a/resources/views/auth/register.tpl +++ b/resources/views/auth/register.tpl @@ -44,7 +44,7 @@
-
+
diff --git a/resources/views/auth/reset.tpl b/resources/views/auth/reset.tpl index 37a3ce03..1389f280 100644 --- a/resources/views/auth/reset.tpl +++ b/resources/views/auth/reset.tpl @@ -24,7 +24,7 @@
-
+