ministerchief's picture
Create login.html
7120e03 verified
Raw
History Blame Contribute Delete
1.04 kB
<!DOCTYPE html>
<html>
<head>
<title>Secure Asset Login</title>
<style>
body{
font-family:Poppins;
background:linear-gradient(135deg,#667eea,#764ba2);
height:100vh;
display:flex;
justify-content:center;
align-items:center;
}
.login-box{
background:white;
padding:40px;
border-radius:20px;
width:320px;
text-align:center;
box-shadow:0 10px 40px rgba(0,0,0,0.3);
}
input{
width:100%;
padding:12px;
margin:10px 0;
border-radius:8px;
border:1px solid #ddd;
}
button{
width:100%;
padding:12px;
border:none;
background:#667eea;
color:white;
border-radius:8px;
font-size:16px;
cursor:pointer;
}
</style>
</head>
<body>
<div class="login-box">
<h2>๐Ÿ” Asset Access</h2>
{% if error %}
<p style="color:red">{{error}}</p>
{% endif %}
<form method="POST">
<input type="hidden" name="asset_id" value="{{asset_id}}">
<input type="text" name="username" placeholder="Username" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
</div>
</body>
</html>