生成一个对应flask框架的登录页面,包括系统名称:居中显示;两个超链接,风格类似于百度首页
时间: 2023-05-31 17:05:48 浏览: 46
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<style type="text/css">
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
.container {
margin: 0 auto;
width: 50%;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
h1 {
text-align: center;
}
.link {
display: inline-block;
padding: 5px 10px;
background-color: #fff;
color: #000;
text-decoration: none;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
margin: 20px;
}
.link:hover {
background-color: #eee;
}
</style>
</head>
<body>
<div class="container">
<h1>System Name</h1>
<form action="" method="post">
<label for="username">Username:</label>
<input type="text" name="username" id="username"><br><br>
<label for="password">Password:</label>
<input type="password" name="password" id="password"><br><br>
<input type="submit" value="Login">
</form>
<a href="#" class="link">Forgot Password</a>
<a href="#" class="link">Create Account</a>
</div>
</body>
</html>