From db9153f42cf84d2a27fad3c48a90b90752c3ad6f Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Sat, 7 Sep 2024 01:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E8=87=AA=E6=A3=80html=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/template/check/main.css | 9 ++++-- resources/template/check/main.html | 16 +++------- zhenxun/builtin_plugins/check/__init__.py | 10 +++---- zhenxun/builtin_plugins/check/data_source.py | 31 ++++++++++++-------- 4 files changed, 34 insertions(+), 32 deletions(-) diff --git a/resources/template/check/main.css b/resources/template/check/main.css index 2a0e207f8..97ee0c66a 100644 --- a/resources/template/check/main.css +++ b/resources/template/check/main.css @@ -161,12 +161,15 @@ body { .status-text { font-family: 'fzrzFont'; color: #EC859F; - height: 90px; - display: flex; + height: 185px; } .status-text-title { - height: 25%; + /* height: 25%; */ + display: flex; + /* justify-content: center; */ + align-items: center; + font-size: 14px; } .tip { diff --git a/resources/template/check/main.html b/resources/template/check/main.html index 7216e4bc5..00fffb85d 100644 --- a/resources/template/check/main.html +++ b/resources/template/check/main.html @@ -68,18 +68,10 @@
CPU
-SYSTEM
-VERSION
-PLUGINS
-{{data.brand_raw}}
-{{data.system}}
-{{data.version}}
-{{data.plugin_count}} loaded
-CPU {{data.brand_raw}}
+SYSTEM {{data.system}}
+VERSION {{data.version}}
+PLUGINS {{data.plugin_count}} loaded