From 3f3eb50649a60ada36c9a4b6d2ee31cf999de6f1 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Wed, 12 Sep 2018 09:50:34 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=91=B5=E5=91=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/resources/static/js/login.js | 4 ++-- src/main/resources/templates/admin/admin_login.ftl | 4 ++++ src/main/resources/templates/admin/module/_footer.ftl | 1 + .../resources/templates/themes/anatole/module/sidebar.ftl | 2 ++ 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index b55e01545..b17b816bc 100755 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ halo latest halo - + halo,一个基于SpringBoot的博客系统,最求轻快,易用,以内容为中心。 diff --git a/src/main/resources/static/js/login.js b/src/main/resources/static/js/login.js index 63dcd2a2b..627f297c5 100644 --- a/src/main/resources/static/js/login.js +++ b/src/main/resources/static/js/login.js @@ -22,7 +22,7 @@ function btn_login() { if(data.code==1){ $.toast({ text: data.msg, - heading: '提示', + heading: heading, icon: 'success', showHideTransition: 'fade', allowToastClose: true, @@ -40,7 +40,7 @@ function btn_login() { $('.login-body').addClass('animate shake'); $.toast({ text: data.msg, - heading: '提示', + heading: heading, icon: 'error', showHideTransition: 'fade', allowToastClose: true, diff --git a/src/main/resources/templates/admin/admin_login.ftl b/src/main/resources/templates/admin/admin_login.ftl index 4934dd9e9..f0f8071b2 100755 --- a/src/main/resources/templates/admin/admin_login.ftl +++ b/src/main/resources/templates/admin/admin_login.ftl @@ -16,6 +16,7 @@
+ <#-- 虽然Halo使用了宽松的GPL协议,但开发不易,希望您可以保留一下版权声明。笔芯~ --> @@ -40,6 +41,9 @@
+ diff --git a/src/main/resources/templates/admin/module/_footer.ftl b/src/main/resources/templates/admin/module/_footer.ftl index a0ece2158..b9d6e112c 100755 --- a/src/main/resources/templates/admin/module/_footer.ftl +++ b/src/main/resources/templates/admin/module/_footer.ftl @@ -1,4 +1,5 @@ diff --git a/src/main/resources/templates/themes/anatole/module/sidebar.ftl b/src/main/resources/templates/themes/anatole/module/sidebar.ftl index 7f4f22d60..48a50755f 100644 --- a/src/main/resources/templates/themes/anatole/module/sidebar.ftl +++ b/src/main/resources/templates/themes/anatole/module/sidebar.ftl @@ -17,8 +17,10 @@ <#include "social-list.ftl">