@@ -1 +1 @@ | |||||
body{line-height:1.6;letter-spacing:.6px;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}a:hover{color:#ff8400;text-decoration:none}h2{line-height:1.6;font-size:24px;color:#393d49;font-weight:600}.btn,input,select{font-size:14px!important}.admin-head{padding:1rem 0;background:#fff}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:30px;line-height:30px;font-size:14px;color:#545b62!important}.logo,.form-control{height:36px}.login-from{margin:0 auto;width:500px}.login-box{padding:1.25rem;background:#fff}.login-power{padding-top:1rem}.login-box,.form-control,.btn-md,.alert,.rounded{border-radius:.5rem!important}.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0!important;border-bottom-left-radius:0!important}#validateimg{border-radius:0 .5rem .5rem 0;cursor:pointer}#browsehappy{padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.35rem;border:0}.browsehappy-close{float:right;cursor:pointer}@media (max-width:760px){.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}.login-from{width:100%}} | |||||
body{line-height:1.6;letter-spacing:.6px;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}a:hover{color:#ff8400;text-decoration:none}h2{line-height:24px;font-size:24px;color:#393d49;font-weight:600}.mb-6{margin-bottom:6.5rem!important}.btn,input,select{font-size:14px!important}.admin-head{padding:1rem 0;background:#fff}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:30px;line-height:30px;font-size:14px;color:#545b62!important}.logo,.form-control{height:36px}.login-from{margin:0 auto;width:500px}.login-box{padding:1.25rem;background:#fff}.login-box,.form-control,.btn-md,.alert,.rounded{border-radius:.5rem!important}.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important}.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0!important;border-bottom-left-radius:0!important}#validateimg{border-radius:0 .5rem .5rem 0;cursor:pointer}#browsehappy{padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.35rem;border:0}.browsehappy-close{float:right;cursor:pointer}@media (max-width:760px){.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}.login-from{width:100%}} |
@@ -30,7 +30,7 @@ if (is_dir(dirname(__FILE__).'/../install')) { | |||||
//检测后台目录是否更名 | //检测后台目录是否更名 | ||||
$cururl = GetCurUrl(); | $cururl = GetCurUrl(); | ||||
if (preg_match('/admin/', $cururl)) { | if (preg_match('/admin/', $cururl)) { | ||||
$redmsg = '<div class="alert alert-warning">安全提示:后台管理目录名称中包含名称admin,建议把后台管理目录修改为其它名称</div>'; | |||||
$redmsg = '<div class="alert alert-warning">后台管理目录名称中包含名称admin,建议把后台管理目录修改为其它名称</div>'; | |||||
} else { | } else { | ||||
$redmsg = ''; | $redmsg = ''; | ||||
} | } | ||||
@@ -19,7 +19,7 @@ | |||||
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a> | <a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a> | ||||
</div> | </div> | ||||
<?php }?> | <?php }?> | ||||
<div class="d-flex flex-md-row align-items-center shadow-sm admin-head mb-5"> | |||||
<div class="d-flex flex-md-row align-items-center shadow-sm admin-head mb-6"> | |||||
<div class="container"> | <div class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-6 col-md-4"><img src="../static/web/img/logo.png" title="<?php echo $cfg_soft_enname;?>" class="logo"></div> | <div class="col-6 col-md-4"><img src="../static/web/img/logo.png" title="<?php echo $cfg_soft_enname;?>" class="logo"></div> | ||||
@@ -29,10 +29,10 @@ | |||||
</div> | </div> | ||||
<div class="container"> | <div class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | |||||
<div class="col-md-12 mb-3"> | |||||
<div class="login-from"> | <div class="login-from"> | ||||
<?php echo $redmsg;?> | <?php echo $redmsg;?> | ||||
<div class="login-box shadow-sm"> | |||||
<div class="login-box shadow-sm mb-3"> | |||||
<h2 class="text-center mb-3">后台登录</h2> | <h2 class="text-center mb-3">后台登录</h2> | ||||
<form name="form1" method="post" action="login.php"> | <form name="form1" method="post" action="login.php"> | ||||
<input type="hidden" name="gotopage" value="<?php if (!empty($gotopage)) echo RemoveXSS($gotopage);?>"> | <input type="hidden" name="gotopage" value="<?php if (!empty($gotopage)) echo RemoveXSS($gotopage);?>"> | ||||
@@ -53,10 +53,10 @@ | |||||
<img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg"> | <img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg"> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div><button type="submit" class="btn btn-success btn-md btn-block">登录</button></div> | |||||
<div class="login-power"><?php echo $cfg_powerby;?></div> | |||||
<div class="text-center"><button type="submit" class="btn btn-success btn-md btn-block">登录</button></div> | |||||
</form> | </form> | ||||
</div> | </div> | ||||
<span><?php echo $cfg_powerby;?></span> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||