Frequently Asked Questions
+nobody has asked me anything yet :(
+diff --git a/core/urls.py b/core/urls.py
index 8b6dcf2..54a0e91 100644
--- a/core/urls.py
+++ b/core/urls.py
@@ -6,6 +6,9 @@ from . import views
urlpatterns = [
path('', views.home, name='home'),
path('robots.txt', lambda x: HttpResponse("User-Agent: *\nDisallow: /", content_type="text/plain"), name="robots_file"),
+ path('faqs/', views.get_faqs, name='get_faqs'),
+ path('privacy/', views.get_privacy, name='get_privacy'),
+ path('terms/', views.get_terms, name='get_terms'),
path('health/', views.health, name='health'),
path('shipping/edit/', views.edit_shipping, name='edit_shipping'),
]
diff --git a/core/views.py b/core/views.py
index 595345e..874ec80 100644
--- a/core/views.py
+++ b/core/views.py
@@ -29,6 +29,16 @@ def health(request):
return JsonResponse(context)
+def get_faqs(request):
+ return render(request, 'core/faqs.html')
+
+def get_privacy(request):
+ return render(request, 'core/privacy.html')
+
+def get_terms(request):
+ return render(request, 'core/terms.html')
+
+
@login_required
def edit_shipping(request):
profile = UserShippingAddress.objects.filter(user=request.user).first()
diff --git a/web/static/css/style.css b/web/static/css/style.css
index 5230dd5..5f3fdeb 100644
--- a/web/static/css/style.css
+++ b/web/static/css/style.css
@@ -1160,6 +1160,15 @@ New color: fd4e05
list-style: none;
}
+#donation-address {
+ text-align: center;
+ width: 50%;
+ overflow-wrap: break-word;
+ display: block;
+ margin: auto;
+ color: grey;
+}
+
html {
height: 100%;
}
diff --git a/web/static/faq.txt b/web/static/faq.txt
deleted file mode 100644
index 31e8751..0000000
--- a/web/static/faq.txt
+++ /dev/null
@@ -1 +0,0 @@
-nobody has asked me anything yet :(
diff --git a/web/static/privacy.txt b/web/static/privacy.txt
deleted file mode 100644
index 935fbcd..0000000
--- a/web/static/privacy.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-Privacy Policy
-
-I'll do my best, dawg.
diff --git a/web/static/terms.txt b/web/static/terms.txt
deleted file mode 100644
index 9a7f039..0000000
--- a/web/static/terms.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-Terms and Conditions
-
-You agree to not be an asshole and that nothing that happens on this site is my fault in any way.
diff --git a/web/templates/base.html b/web/templates/base.html
index 1d3e7d7..699348b 100644
--- a/web/templates/base.html
+++ b/web/templates/base.html
@@ -103,7 +103,15 @@
nobody has asked me anything yet :( I'll do my best, dawg. You agree to not be an asshole and that nothing that happens on this site is my fault in any way.{{ site_meta.name }}
-
+
Frequently Asked Questions
+ Privacy Policy
+ Terms and Conditions
+
Hey {{ sale.bid.bidder.username }},
It sounds like your order was successful. The seller will be sent their funds from the transaction out of the escrow wallet. You are good to go!
+If you found the site useful and had a good experience, please consider donating to the developer address provided on the home page.
Thanks for using {{ site_meta.name }}!
Please provide me with any feedback so I can make the process better in the future.
@@ -120,6 +121,8 @@Platform Fee (XMR): {{ sale.platform_fee_xmr }}
Total Payout (XMR): {{ total_seller_payout }}
Payout Address: {{ sale.item.payout_address }}
+If you found the site useful and had a good experience, please consider donating to the developer address provided on the home page.
Thanks for using {{ site_meta.name }}!
Please provide me with any feedback so I can make the process better in the future.