diff --git a/application/index/view/header.html b/application/index/view/header.html
index 9adf0974a949088d91282458fa404b448d502052..4958a5981352659d30b36c0eb64561a3a3a47209 100644
--- a/application/index/view/header.html
+++ b/application/index/view/header.html
@@ -6,6 +6,7 @@
+
{$options.siteName} - {$options.siteTitle}
diff --git a/application/index/view/header_home.html b/application/index/view/header_home.html
index 11cf519a06cc7c81dca54a81583c7fa1c3882a2f..4300a5cc0e06dbf539fc35f8009369b10214fc6d 100644
--- a/application/index/view/header_home.html
+++ b/application/index/view/header_home.html
@@ -3,6 +3,7 @@
+
{block name="title"}{/block}
diff --git a/application/index/view/header_public.html b/application/index/view/header_public.html
index 2f364223a3d803461d8d7eabbdf714fac65ad007..114ddc85b78a28429907aaf3874bda72b7d874b2 100644
--- a/application/index/view/header_public.html
+++ b/application/index/view/header_public.html
@@ -2,6 +2,7 @@
+
{block name="title"}{/block}
diff --git a/application/index/view/home/home.html b/application/index/view/home/home.html
index 257588e3436832145740dcd64ef7de484507d254..593b101f0a17629df258acbb3decbfbe4c9796d9 100644
--- a/application/index/view/home/home.html
+++ b/application/index/view/home/home.html
@@ -3,6 +3,7 @@
+
ๆ็ๆไปถ - {$options.siteName}
diff --git a/static/js/login.js b/static/js/login.js
index 098339e57e7bb663abb25517e43288efb2800b90..c72d200091af1e81ed8c17f4191d0f198142be2e 100644
--- a/static/js/login.js
+++ b/static/js/login.js
@@ -26,8 +26,13 @@ changeColor("#4e64d9","#3f51b5");
$(".captcha_img").click(function() {
$("[alt='captcha']:visible").attr('src', "/captcha");
})
+function updateMetaThemeColor(themeColor) {
+ $('meta[name=theme-color]').remove();
+ $('head').append('');
+}
function switchToReg(){
changeColor("#46adff","#2196F3");
+ updateMetaThemeColor("#2196F3");
$("#logForm").hide();
$("#regForm").show();
$("[alt='captcha']:visible").attr('src', "/captcha");
@@ -36,6 +41,7 @@ function switchToReg(){
}
function switchToLog(){
changeColor("#4e64d9","#3f51b5");
+ updateMetaThemeColor("#3f51b5");
$("#regForm").hide();
$("#forgetForm").hide();
$("#logForm").show();
@@ -45,6 +51,7 @@ function switchToLog(){
}
function switchToEmail(){
changeColor("#009688","#4CAF50");
+ updateMetaThemeColor("#4CAF50");
$("#regForm").hide();
$("#emailCheck").show();
$("#emailCheck").removeClass("animated zoomIn");
@@ -52,6 +59,7 @@ function switchToEmail(){
}
function switchToForget(){
changeColor("#FF9800","#F44336");
+ updateMetaThemeColor("#F44336");
$("#regForm").hide();
$("#logForm").hide();
$("#forgetForm").show();