Removed sample record, and button
This commit is contained in:
Binary file not shown.
@@ -20,9 +20,6 @@
|
||||
Download our free white paper showing exactly how Risklet pinpoints critical vulnerabilities for NIS2 compliance and recommends cost-effective controls.
|
||||
</p>
|
||||
<div class="mt-10 flex flex-col sm:flex-row gap-4 justify-center">
|
||||
<a href="/downloads/risklet_example_document.pdf" download class="bg-accent text-primary hover:bg-yellow-500 font-semibold py-3 px-8 rounded-lg shadow-lg text-lg transition-all duration-300 ease-in-out transform hover:scale-105">
|
||||
Download FREE Report Sample
|
||||
</a>
|
||||
<a href="#cyber-measures" class="nav-link-desktop bg-transparent border-2 border-accent text-accent hover:bg-accent hover:text-primary font-semibold py-3 px-8 rounded-lg text-lg transition-all duration-300 ease-in-out">
|
||||
Learn More
|
||||
</a>
|
||||
|
||||
@@ -15,7 +15,6 @@ urlpatterns = [
|
||||
path('pdf/<uuid:document_id>/', v.pdf_view, name='pdf_view'),
|
||||
path('api/validate_form_fields/', v.validate_form_fields, name='validate_form_fields'),
|
||||
path('no_confidential_data/', v.no_confidential_data, name='no_confidential_data'),
|
||||
path('downloads/risklet_example_document.pdf', v.download_example_pdf, name='download_example_pdf'),
|
||||
path('validate_code/', v.validate_code, name='validate_code'),
|
||||
|
||||
#admin urls
|
||||
|
||||
@@ -144,12 +144,6 @@ def no_confidential_data(request):
|
||||
return render(request, "no_confidential_data.html")
|
||||
|
||||
|
||||
def download_example_pdf(request):
|
||||
pdf_path = os.path.join(settings.BASE_DIR, 'backend/core/static/pdf/risklet_example_document.pdf')
|
||||
if not os.path.exists(pdf_path):
|
||||
raise Http404("File not found.")
|
||||
return FileResponse(open(pdf_path, 'rb'), as_attachment=True, filename='risklet_example_document.pdf')
|
||||
|
||||
|
||||
@staff_member_required
|
||||
def payment_codes_pdf_view(request):
|
||||
|
||||
Reference in New Issue
Block a user