From f1c5c8c82c4917d8c65eeae139c397eabdcb2919 Mon Sep 17 00:00:00 2001 From: guofeilong Date: Thu, 2 Mar 2023 16:58:42 +0800 Subject: [PATCH 1/2] * Adjust code in admin. --- module/admin/control.php | 2 +- module/admin/css/index.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/admin/control.php b/module/admin/control.php index 2a38dac0ef..d400508562 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -53,7 +53,7 @@ class admin extends control $this->loadModel('misc'); - $hasInternet = $this->admin->checkInternet(); + $hasInternet = !$this->admin->checkInternet(); $clientLang = $this->app->getClientLang(); $langNotCN = common::checkNotCN(); $dateUsed = $this->admin->genDateUsed(); diff --git a/module/admin/css/index.css b/module/admin/css/index.css index 9aaf48f125..d457164dbc 100755 --- a/module/admin/css/index.css +++ b/module/admin/css/index.css @@ -84,8 +84,8 @@ /* css for without internet */ .main.without-internet {display: flex; flex-wrap: wrap;} -.main.without-internet > .plug.panel {flex: 1 1 60%; margin-bottom: unset;} -.main.without-internet > .bottom {flex: 1 1 100%;} +.main.without-internet > .plug.panel {flex: 1 1 60%; margin-bottom: unset; margin-right: 16px;} +.main.without-internet > .bottom {flex: 1 1 30%;} .main.without-internet > .bottom > .official.panel {margin-right: unset;} .main.without-internet > .bottom > .official.panel > .main-panel {flex-direction: row-reverse;} From 95184b53a36492aa6d59084c97b82b3566e53572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E9=A3=9E=E9=BE=99?= Date: Thu, 2 Mar 2023 09:00:04 +0000 Subject: [PATCH 2/2] * Adjust code in control.php. --- module/admin/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/admin/control.php b/module/admin/control.php index d400508562..2a38dac0ef 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -53,7 +53,7 @@ class admin extends control $this->loadModel('misc'); - $hasInternet = !$this->admin->checkInternet(); + $hasInternet = $this->admin->checkInternet(); $clientLang = $this->app->getClientLang(); $langNotCN = common::checkNotCN(); $dateUsed = $this->admin->genDateUsed();