added settings page with ability to update password, delete user and CRUD and share abilities for associated children
This commit is contained in:
@@ -23,11 +23,10 @@
|
||||
color: #333;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.user-info {
|
||||
background: #e3f2fd;
|
||||
padding: 1rem;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 1rem;
|
||||
.greeting {
|
||||
color: #666;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
button {
|
||||
padding: 0.75rem 1.5rem;
|
||||
@@ -448,10 +447,8 @@
|
||||
`;
|
||||
|
||||
document.getElementById("content").innerHTML = `
|
||||
<h1>Welcome to Baby Monitor!</h1>
|
||||
<div class="user-info">
|
||||
<p><strong>Logged in as:</strong> ${username}</p>
|
||||
</div>
|
||||
<h1>Hi ${username}</h1>
|
||||
<p class="greeting">Let's keep track of your baby's care.</p>
|
||||
<button class="feeding-button" onclick="window.location.href='/log-diaper.html'" style="background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); margin-bottom: 20px;">
|
||||
🧷 Changed Diaper
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user