flask-mongo / templates /index.html
Rahul23232's picture
Update templates/index.html
3204d32 verified
raw
history blame contribute delete
722 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard</title>
<style>
body { font-family: Arial, sans-serif; background-color: #f4f4f4; }
.container { width: 50%; margin: 50px auto; background: white; padding: 20px; border-radius: 8px; text-align: center; }
h1 { color: #333; }
a { text-decoration: none; color: white; background: #007BFF; padding: 10px 15px; border-radius: 5px; }
a:hover { background: #0056b3; }
</style>
</head>
<body>
<div class="container">
<h1>Welcome, {{ username }} ๐ŸŽ‰</h1>
<p>You are successfully logged in.</p>
<a href="{{ url_for('logout') }}">Logout</a>
</div>
</body>
</html>