initial commit
This commit is contained in:
26
views/login.ejs
Normal file
26
views/login.ejs
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="max-w-md mx-auto">
|
||||
<div class="glass rounded-xl p-8 shadow-lg">
|
||||
<h1 class="text-3xl font-bold text-center text-gray-800 mb-6">🍽️ Calorie Tracker</h1>
|
||||
<p class="text-center text-gray-600 mb-8">Filipino Food Edition</p>
|
||||
|
||||
<form method="POST" action="/login">
|
||||
<div class="mb-4">
|
||||
<label class="block text-sm font-medium text-gray-700 mb-2">Username</label>
|
||||
<input type="text" name="username" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary" required>
|
||||
</div>
|
||||
|
||||
<div class="mb-6">
|
||||
<label class="block text-sm font-medium text-gray-700 mb-2">Password</label>
|
||||
<input type="password" name="password" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary" required>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="w-full bg-primary text-white py-3 rounded-lg hover:bg-red-700 transition font-semibold">
|
||||
Login
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<p class="text-center mt-6 text-gray-600">
|
||||
Don't have an account? <a href="/register" class="text-primary hover:underline font-semibold">Register</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user