From a8052c647d7084dc839dddb03465d1682f4e1738 Mon Sep 17 00:00:00 2001 From: lan Date: Mon, 16 Jan 2023 20:19:52 +0800 Subject: [PATCH] =?UTF-8?q?update:=E4=BF=9D=E7=95=99=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- templates/admin.html | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index bf21e65..809a998 100644 --- a/main.py +++ b/main.py @@ -172,7 +172,7 @@ async def index(code: str, ip: str = Depends(error_ip_limit), s: AsyncSession = if info.type != 'text': info.text = await storage.get_url(info) return { - 'detail': f'取件成功,文件将在{settings.DELETE_EXPIRE_FILES_INTERVAL}分钟后删除', + 'detail': f'取件成功,请立即下载,避免失效!', 'data': {'type': info.type, 'text': info.text, 'name': info.name, 'code': info.code} } diff --git a/templates/admin.html b/templates/admin.html index 870090c..7ca3d5f 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -40,7 +40,7 @@ color: #ccc !important; } - .el-input-group__prepend, .el-menu, .btn-prev, .el-input__inner, .el-input-group__append, .el-empty__description, .el-select-dropdown, .el-button { + .el-input-group__prepend, .el-menu, .el-menu-item, .el-input__inner, .el-input-group__append, .el-empty__description, .el-select-dropdown, .el-button { border: 1px solid transparent; background-color: rgba(0, 0, 0, 0.2); } @@ -157,9 +157,12 @@
+ + + @@ -172,6 +175,9 @@ + + +