From eaf8a62533b79f24a95789b695ba74b48035dbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=99=93=E9=A3=9E?= Date: Fri, 16 Aug 2024 18:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B0=B4=E5=8D=B0=E7=9A=84?= =?UTF-8?q?=E9=80=8F=E6=98=8E=E5=BA=A6=E7=9A=84=E5=80=BC=20(#2765)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加favicon图片 * firset * 修改 * 撤销 * 修改水印的透明度 --------- Co-authored-by: 王飞 --- common/templates/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/templates/base.html b/common/templates/base.html index 0f5a4dc6b1..ff8952d0fd 100644 --- a/common/templates/base.html +++ b/common/templates/base.html @@ -413,9 +413,9 @@ var user = '{{ user.display }}{{ user.date_joined|date:"Hdi" }}'; var watermark_enabled = '{{ watermark_enabled }}'; if(watermark_enabled == 'True'){ - watermark.init({ watermark_txt: user + " " + now }) + watermark.init({ watermark_txt: user + " " + now, watermark_alpha: 0.05}) window.onscroll = function(){ - watermark.load({ watermark_txt: user + " " + now }) + watermark.load({ watermark_txt: user + " " + now, watermark_alpha: 0.05}) } };