You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
210 lines
4.3 KiB
210 lines
4.3 KiB
5 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html xmlns:th="http://127.0.0.1:5000/">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>login</title>
|
||
|
<style type="text/css">
|
||
|
*{
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
html{
|
||
|
background-image:url(/static/background.jpg);
|
||
|
}
|
||
|
#wrap {
|
||
|
height: 75%;
|
||
|
width: 100;
|
||
|
background-image:url(/static/background.jpg);
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center center;
|
||
|
position: relative;
|
||
|
}
|
||
|
#head {
|
||
|
height: 46px;
|
||
|
width: 100;
|
||
|
background-color: #66CCCC;
|
||
|
text-align: center;
|
||
|
position: relative;
|
||
|
}
|
||
|
#wrap .logGet {
|
||
|
height: 408px;
|
||
|
width: 368px;
|
||
|
position: absolute;
|
||
|
background-color: #FFFFFF;
|
||
|
top: 20%;
|
||
|
right: 15%;
|
||
|
}
|
||
|
.logC a button {
|
||
|
width: 100%;
|
||
|
height: 45px;
|
||
|
background-color: #ee7700;
|
||
|
border: none;
|
||
|
color: white;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
.logGet .logD.logDtip .p1 {
|
||
|
display: inline-block;
|
||
|
font-size: 28px;
|
||
|
margin-top: 30px;
|
||
|
width: 86%;
|
||
|
}
|
||
|
#wrap .logGet .logD.logDtip {
|
||
|
width: 86%;
|
||
|
border-bottom: 1px solid #ee7700;
|
||
|
margin-bottom: 60px;
|
||
|
margin-top: 0px;
|
||
|
margin-right: auto;
|
||
|
margin-left: auto;
|
||
|
}
|
||
|
.logGet .lgD img {
|
||
|
position: absolute;
|
||
|
top: 12px;
|
||
|
left: 8px;
|
||
|
}
|
||
|
.logGet .lgD input {
|
||
|
width: 100%;
|
||
|
height: 42px;
|
||
|
text-indent: 2.5rem;
|
||
|
}
|
||
|
#wrap .logGet .lgD {
|
||
|
width: 86%;
|
||
|
position: relative;
|
||
|
margin-bottom: 30px;
|
||
|
margin-top: 30px;
|
||
|
margin-right: auto;
|
||
|
margin-left: auto;
|
||
|
}
|
||
|
#wrap .logGet .logC {
|
||
|
width: 86%;
|
||
|
margin-top: 0px;
|
||
|
margin-right: auto;
|
||
|
margin-bottom: 0px;
|
||
|
margin-left: auto;
|
||
|
}
|
||
|
|
||
|
|
||
|
title {
|
||
|
font-family: "宋体";
|
||
|
color: #FFFFFF;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%); /* 使用css3的transform来实现 */
|
||
|
font-size: 36px;
|
||
|
height: 40px;
|
||
|
width: 30%;
|
||
|
}
|
||
|
|
||
|
copyright {
|
||
|
font-family: "宋体";
|
||
|
color: #FFFFFF;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%); /* 使用css3的transform来实现 */
|
||
|
height: 60px;
|
||
|
width: 40%;
|
||
|
text-align:center;
|
||
|
}
|
||
|
|
||
|
|
||
|
.copyright .img .icon {
|
||
|
display: inline-block;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
margin-left: 22px;
|
||
|
vertical-align: middle;
|
||
|
background-image: url(th:'@{/static/background.jpg}');
|
||
|
background-repeat: no-repeat;
|
||
|
vertical-align: middle;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
|
||
|
.copyright .img .icon1 {
|
||
|
display: inline-block;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
margin-left: 22px;
|
||
|
vertical-align: middle;
|
||
|
background-image: url(background.jpg);
|
||
|
background-repeat: no-repeat;
|
||
|
vertical-align: middle;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
.copyright .img .icon2 {
|
||
|
display: inline-block;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
margin-left: 22px;
|
||
|
vertical-align: middle;
|
||
|
background-image: url(background.jpg);
|
||
|
background-repeat: no-repeat;
|
||
|
vertical-align: middle;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="header" id="head">
|
||
|
<div class="title">疫情实时追踪</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="wrap" id="wrap">
|
||
|
<div class="logGet">
|
||
|
<!-- 头部提示信息 -->
|
||
|
<div class="logD logDtip">
|
||
|
<p class="p1">登录</p>
|
||
|
</div>
|
||
|
<!-- 输入框 -->
|
||
|
<div class="lgD">
|
||
|
<img th:src="@{/static/2.png}" src="../static/user.png" width="20" height="20" alt=""/>
|
||
|
<input type="text"
|
||
|
placeholder="输入用户名" name="userAccount" id="userAccount" value=""/>
|
||
|
<span ></span>
|
||
|
</div>
|
||
|
<div class="lgD">
|
||
|
<img th:src="@{/static/pwd.png}" src="../static/3.png" width="20" height="20" alt=""/>
|
||
|
<input type="password"
|
||
|
placeholder="输入用户密码" name="userPwd" id="userPwd"/>
|
||
|
<span ></span>
|
||
|
</div>
|
||
|
<div class="logC">
|
||
|
<a href="http://127.0.0.1:5000/" id="loginButton"><button>登 录</button></a>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="wrap" id="wrap">
|
||
|
<div class="logGet">
|
||
|
<!-- 头部提示信息 -->
|
||
|
<div class="logD logDtip">
|
||
|
<p class="p1">登录</p>
|
||
|
</div>
|
||
|
<!-- 输入框 -->
|
||
|
<div class="lgD">
|
||
|
<img th:src="@{/static/2.png}" src="../static/user.png" width="20" height="20" alt=""/>
|
||
|
<input type="text"
|
||
|
placeholder="输入用户名" name="userAccount" id="userAccount" value=""/>
|
||
|
<span ></span>
|
||
|
</div>
|
||
|
<div class="lgD">
|
||
|
<img th:src="@{/static/pwd.png}" src="../static/3.png" width="20" height="20" alt=""/>
|
||
|
<input type="password"
|
||
|
placeholder="输入用户密码" name="userPwd" id="userPwd"/>
|
||
|
<span ></span>
|
||
|
</div>
|
||
|
<div class="logC">
|
||
|
<a href="http://127.0.0.1:5000/" id="loginButton"><button>登 录</button></a>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|