From b0f060e97d439d5311b9c2281253b95eec9aa39b Mon Sep 17 00:00:00 2001 From: xushubieli <xushubieli@qq.com> Date: Tue, 17 May 2022 15:38:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/index.htm | 8 +++----- src/admin/templets/index_body.htm | 4 ++-- src/admin/templets/index_menu.htm | 33 +++++++++++++++---------------- 3 files changed, 21 insertions(+), 24 deletions(-) diff --git a/src/admin/templets/index.htm b/src/admin/templets/index.htm index 98e70aba..e5895ca3 100644 --- a/src/admin/templets/index.htm +++ b/src/admin/templets/index.htm @@ -51,15 +51,13 @@ <a href="exit.php">退出</a> </li> <?php - if($cuserLogin->getUserType()>=10) { + if($cuserLogin->getUserType()>=10){ ?> <li><a target="main" href="sys_info.php">系统配置</a></li> <li><a target="main" href="catalog_main.php">栏目管理</a></li> <li><a target="main" href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE? '?activepath='.$cfg_medias_dir : '';?>">文件管理</a></li> - <?php if(!DEDEBIZ_SAFE_MODE) { ?><li><a target="main" href="templets_main.php">模板管理</a></li><?php } ?> - <?php - } - ?> + <?php }?> + <?php if(!DEDEBIZ_SAFE_MODE){ ?><li><a target="main" href="templets_main.php">模板管理</a></li><?php }?> <li><a target="main" href="makehtml_all.php">更新整站</a></li> <?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?> <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> diff --git a/src/admin/templets/index_body.htm b/src/admin/templets/index_body.htm index 3b11ba26..2a925a5c 100644 --- a/src/admin/templets/index_body.htm +++ b/src/admin/templets/index_body.htm @@ -3,7 +3,7 @@ <head> <meta charset="<?php echo $cfg_soft_lang; ?>"> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> - <title>系统概况</title> + <title>系统主页</title> <base target="_self"> <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> @@ -80,7 +80,7 @@ <a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a><span id="text">V:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span> </div> <div class="card-body"> - <div id="updateinfos"><?php echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' style='width:98%;height:70px;padding:.6rem'></iframe>"; ?></div> + <div id="updateinfos"><?php echo "<iframe src='{$offUrl}&uptime={$oktime}' name='stafrm' id='stafrm' style='width:98%;height:70px;padding:.6rem;border:0'></iframe>"; ?></div> <table width="98%" class="table table-borderless"> <tr> <td> diff --git a/src/admin/templets/index_menu.htm b/src/admin/templets/index_menu.htm index 02935bfa..277e90c5 100644 --- a/src/admin/templets/index_menu.htm +++ b/src/admin/templets/index_menu.htm @@ -3,9 +3,9 @@ <head> <meta charset="<?php echo $cfg_soft_lang; ?>"> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> - <title>DedeBIZ menu</title> - <link rel="stylesheet" href="../static/web/css/admin.css"> + <title>系统菜单</title> <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> + <link rel="stylesheet" href="../static/web/css/admin.css"> <script src="../static/web/js/webajax.js"></script> <script src="../static/web/js/jquery.min.js"></script> <?php echo "<script>var curopenItem = '$openitem';</script>"; ?> @@ -20,10 +20,10 @@ overflow-x: hidden } .mleft { - padding-top: 12px + padding-top: 1rem } .mright { - padding-top: 12px; + padding-top: 1rem; width: 100%; background: #fff; border: 1px solid #dee2e6; @@ -31,17 +31,17 @@ } a.mmac div { margin-bottom: 2px; - padding: 8px 0; + padding: 6px 0; width: 50px; color: #fff; - background: #4f7632; + background: #424b51; border-bottom: 1px solid #dee2e6; border-radius: .2rem 0 0 .2rem; text-align: center } a.mm div { margin-bottom: 2px; - padding: 8px 0; + padding: 6px 0; width: 50px; color: #424b51; background: #fff; @@ -52,28 +52,27 @@ } a.mm:hover div { color: #fff; - background: #4f7632 + background: #424b51 } dl.bitem { margin: 0 10px 2px 10px; clear: both } + dl.bitem dd { + padding: 10px; + background: #fff + } + dl.bitem dt b { + color: #424b51 + } dl.bitem dt { - padding-left: 30px; + padding-left: 16px; height: 26px; line-height: 26px; background: #f8f8f8; border-radius: .2rem; - border-bottom: 1px solid #dee2e6; cursor: pointer } - dl.bitem dd { - padding: 10px; - background: #fff - } - dl.bitem dt b { - color: #4f7632 - } .sitemu li { padding: 0 0 0 20px; height: 26px;