diff --git a/core/__pycache__/forms.cpython-311.pyc b/core/__pycache__/forms.cpython-311.pyc index 7e82c9a..3651588 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 732b20f..d23514e 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 cedcc73..7d78b68 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 21e602d..ed7a9bc 100644 --- a/core/forms.py +++ b/core/forms.py @@ -1,4 +1,8 @@ from django import forms class UploadFileForm(forms.Form): - file = forms.FileField() \ No newline at end of file + file = forms.FileField() + +class VulnerabilitySearchForm(forms.Form): + application_name = forms.CharField(max_length=100, label="Application Name") + application_website = forms.URLField(label="Application Website", required=False) \ No newline at end of file diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 6a0a55d..b745fe1 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -63,6 +63,21 @@ +
{{ result.description }}
+