@@ -10,7 +10,7 @@ form{margin:0;padding:0} | |||||
.top{height:46px;width:100%;background-image:linear-gradient(135deg,#008E38 0%,#639709 100%);overflow:hidden;clear:both} | .top{height:46px;width:100%;background-image:linear-gradient(135deg,#008E38 0%,#639709 100%);overflow:hidden;clear:both} | ||||
.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px} | .top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px} | ||||
.top .top_logo a{font-size:22px;color:#fff} | .top .top_logo a{font-size:22px;color:#fff} | ||||
.top .top_version{display:inline-block;margin-top:18px;margin-left:10px;color:#fff} | |||||
.top .top_version{display:inline-block;margin-top:10px;margin-left:10px;color:#fff} | |||||
.top .top_link{float:right;margin-right:30px} | .top .top_link{float:right;margin-right:30px} | ||||
.top .top_link ul{float:left;line-height:46px;overflow:hidden} | .top .top_link ul{float:left;line-height:46px;overflow:hidden} | ||||
.top .top_link ul li.welcome img{margin-top:-4px;margin-right:10px;width:30px;height:30px;vertical-align:middle} | .top .top_link ul li.welcome img{margin-top:-4px;margin-right:10px;width:30px;height:30px;vertical-align:middle} | ||||
@@ -10,17 +10,16 @@ | |||||
<title><?php echo $cfg_webname; ?>后台登录</title> | <title><?php echo $cfg_webname; ?>后台登录</title> | ||||
<style> | <style> | ||||
body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f8f8f8} | body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f8f8f8} | ||||
img{max-width:100%} | |||||
header{background:#ffffff} | header{background:#ffffff} | ||||
h1{font-size:22px} | |||||
.system{height:60px;line-height:60px;font-size:22px} | |||||
.model{margin-left:10px;font-size:12px} | |||||
.goindex{line-height:60px} | |||||
header .logo{width:300px;padding:1rem 0} | |||||
.goindex{line-height:68px} | |||||
.fa{font-size:16px} | .fa{font-size:16px} | ||||
.login-from{max-width:580px;width:100%} | .login-from{max-width:580px;width:100%} | ||||
.login-area{background:#ffffff;padding:2rem;border-radius:.25rem} | .login-area{background:#ffffff;padding:2rem;border-radius:.25rem} | ||||
.login-area .btnLogin{width:100%} | .login-area .btnLogin{width:100%} | ||||
.login-power{padding-top:1rem} | .login-power{padding-top:1rem} | ||||
.system,.model,.goindex a,.login-power a{color:#008e38} | |||||
.login-power a,.goindex a{color:#008e38} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
@@ -28,8 +27,7 @@ h1{font-size:22px} | |||||
<div class="container top"> | <div class="container top"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-10"> | <div class="col-10"> | ||||
<span class="system"><?php echo $cfg_webname; ?>系统</span> | |||||
<span class="model"><?php echo $cfg_version_detail; ?></span> | |||||
<div class="logo"><img src="../static/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div> | |||||
</div> | </div> | ||||
<div class="col-2 d-flex justify-content-end goindex"> | <div class="col-2 d-flex justify-content-end goindex"> | ||||
<a href="../index.php" target="_blank"><i class="fa fa-home" aria-hidden="true"></i></a> | <a href="../index.php" target="_blank"><i class="fa fa-home" aria-hidden="true"></i></a> | ||||
@@ -40,7 +38,7 @@ h1{font-size:22px} | |||||
<main class="container login-from mt-5"> | <main class="container login-from mt-5"> | ||||
<?php echo $redmsg; ?> | <?php echo $redmsg; ?> | ||||
<div class="login-area"> | <div class="login-area"> | ||||
<h1 class="mb-4 text-center">后台登录</h1> | |||||
<h4 class="mb-4 text-center">后台登录</h4> | |||||
<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); ?>"> | ||||
<input type="hidden" name="dopost" value="login"> | <input type="hidden" name="dopost" value="login"> | ||||
@@ -203,7 +203,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) | |||||
} | } | ||||
$func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | ||||
$rmsg = $func; | $rmsg = $func; | ||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#666;background:#f2f2f2}a{color:#28a745;text-decoration:none}.xushu-tips{margin:68px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.tips{margin:0 20px;padding:16px 0;border-bottom:1px solid #f6f6f6}.tips p{margin:0;padding-left:10px;line-height:16px;font-size:14px;color:#424b51;text-align:left;border-left:3px solid #ff5722}.frame{padding:20px;height:130px}.go a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border:1px solid #28a745;box-sizing:border-box;border-radius:.2rem;text-align:center;transition:all .6s}.go a:hover{color:#fff;opacity:.8}@media (max-width:768px){body{padding:0 14px}.xushu-tips{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#666;background:#f2f2f2}a{color:#424b51;text-decoration:none}.xushu-tips{margin:68px auto 0;padding:0;width:420px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.tips{margin:0 20px;padding:16px 0;border-bottom:1px solid #f6f6f6}.tips p{margin:0;padding-left:10px;line-height:16px;font-size:14px;color:#424b51;text-align:left;border-left:3px solid #ff5722}.frame{padding:20px;height:auto}.go a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border:1px solid #28a745;box-sizing:border-box;border-radius:.2rem;text-align:center;transition:all .6s}.go a:hover{color:#fff;opacity:.8}@media (max-width:768px){body{padding:0 16px}.xushu-tips{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<div class='xushu-tips'>"; | $rmsg .= "document.write(\"<div class='xushu-tips'>"; | ||||
$rmsg .= "<div class='tips'><p>提示信息</p></div>\");"; | $rmsg .= "<div class='tips'><p>提示信息</p></div>\");"; | ||||
$rmsg .= "document.write(\"<div class='frame'>\");"; | $rmsg .= "document.write(\"<div class='frame'>\");"; | ||||