diff --git a/assets/pasted-20251217-195346-608f0fd1.png b/assets/pasted-20251217-195346-608f0fd1.png new file mode 100644 index 0000000..3eb6574 Binary files /dev/null and b/assets/pasted-20251217-195346-608f0fd1.png differ diff --git a/assets/pasted-20251217-200213-f5b1aa31.png b/assets/pasted-20251217-200213-f5b1aa31.png new file mode 100644 index 0000000..5817b3d Binary files /dev/null and b/assets/pasted-20251217-200213-f5b1aa31.png differ diff --git a/assets/pasted-20251217-200627-20278c49.png b/assets/pasted-20251217-200627-20278c49.png new file mode 100644 index 0000000..5074729 Binary files /dev/null and b/assets/pasted-20251217-200627-20278c49.png differ diff --git a/core/__pycache__/forms.cpython-311.pyc b/core/__pycache__/forms.cpython-311.pyc index 0864d42..72645ab 100644 Binary files a/core/__pycache__/forms.cpython-311.pyc and b/core/__pycache__/forms.cpython-311.pyc differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 57df135..f3c53bf 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index cbb0ef3..004f16c 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/forms.py b/core/forms.py index f917e0d..41a8881 100644 --- a/core/forms.py +++ b/core/forms.py @@ -1,5 +1,6 @@ from django import forms from .models import Project, Client +from django.contrib.auth.forms import AuthenticationForm class ProjectForm(forms.ModelForm): class Meta: @@ -21,4 +22,8 @@ class ClientForm(forms.ModelForm): 'name': forms.TextInput(attrs={'class': 'form-control'}), 'email': forms.EmailInput(attrs={'class': 'form-control'}), 'phone': forms.TextInput(attrs={'class': 'form-control'}), - } \ No newline at end of file + } + +class LoginForm(AuthenticationForm): + username = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Username'})) + password = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'form-control', 'placeholder': 'Password'})) \ No newline at end of file diff --git a/core/templates/core/add_project.html b/core/templates/core/add_project.html index aae1338..29d628e 100644 --- a/core/templates/core/add_project.html +++ b/core/templates/core/add_project.html @@ -14,38 +14,12 @@