From 4609d5588d4661fa5e2136f82d15ecb32cabdbd2 Mon Sep 17 00:00:00 2001 From: dami Date: Tue, 19 Aug 2025 00:21:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=99=E7=82=B9=E6=8E=92=E5=BA=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/templates/default/site.html | 35 ++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/web/templates/default/site.html b/web/templates/default/site.html index 29e0628c9..031932057 100755 --- a/web/templates/default/site.html +++ b/web/templates/default/site.html @@ -33,15 +33,15 @@
- + - + @@ -75,5 +75,34 @@ setTimeout(function(){ getWeb(1); },500); + + +function initPage(){ + var order = getCookie('order'); + if (order != ''){ + var sort = order.split(' '); + if (sort[0] == 'name'){ + if (sort[1] == 'desc'){ + $($('#webBodyHeader .glyphicon-stop')[0]).removeClass('glyphicon-stop').addClass('glyphicon-triangle-top'); + } else if (sort[1] == 'asc'){ + $($('#webBodyHeader .glyphicon-stop')[0]).removeClass('glyphicon-stop').addClass('glyphicon-triangle-bottom'); + } + } + + if (sort[0] == 'edate'){ + if (sort[1] == 'desc'){ + $($('#webBodyHeader .glyphicon-stop')[1]).removeClass('glyphicon-stop').addClass('glyphicon-triangle-top'); + } else if (sort[1] == 'asc'){ + $($('#webBodyHeader .glyphicon-stop')[1]).removeClass('glyphicon-stop').addClass('glyphicon-triangle-bottom'); + } + } + } + +} + +initPage(); + + + {% endblock %} \ No newline at end of file
域名域名 网站状态 备份 网站目录 - 到期日期 + 到期日期 备注 操作