- Add custom border, background, and spacing utilities to base template - Enhance message notification styling and layout - Update delete modal button appearance and behavior - Refine comment card component with Tailwind classes and responsive behavior - Adjust sidebar responsiveness for mobile view
30 lines
2.0 KiB
HTML
30 lines
2.0 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Login{% endblock %}
|
|
{% block content %}
|
|
<div class="min-h-screen flex items-center justify-center px-4">
|
|
<div class="w-full max-w-md card-surface p-8">
|
|
<div class="text-center mb-8">
|
|
<div class="flex items-center justify-center gap-2 mb-4">
|
|
<svg class="w-8 h-8 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 17V7m0 10a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h2a2 2 0 012 2m0 10a2 2 0 002 2h2a2 2 0 002-2M9 7a2 2 0 012-2h2a2 2 0 012 2m0 10V7"/></svg>
|
|
<h1 class="text-2xl font-bold text-primary">ProMan</h1>
|
|
</div>
|
|
<p class="text-tertiary">Sign in to your account</p>
|
|
</div>
|
|
<form method="post" class="space-y-4">
|
|
{% csrf_token %}
|
|
<div class="space-y-1.5">
|
|
<label class="text-sm font-medium text-secondary">Username</label>
|
|
<input type="text" name="username" class="w-full px-3 py-2 rounded-lg border border-soft bg-white text-sm text-primary focus:outline-none focus:ring-2 focus:ring-blue-500/30 focus:border-blue-500 transition-colors" required>
|
|
</div>
|
|
<div class="space-y-1.5">
|
|
<label class="text-sm font-medium text-secondary">Password</label>
|
|
<input type="password" name="password" class="w-full px-3 py-2 rounded-lg border border-soft bg-white text-sm text-primary focus:outline-none focus:ring-2 focus:ring-blue-500/30 focus:border-blue-500 transition-colors" required>
|
|
</div>
|
|
<button type="submit" class="w-full px-4 py-2 rounded-lg bg-blue-600 text-white text-sm font-medium hover:bg-blue-700 transition-colors">Sign In</button>
|
|
</form>
|
|
<p class="text-center mt-6 text-sm text-tertiary">
|
|
Don't have an account? <a href="{% url 'register' %}" class="text-blue-600 hover:text-blue-800 font-medium">Register</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |