summaryrefslogtreecommitdiffstats
path: root/restaurant_orders/settings/templates
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-07-17 01:47:57 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-07-17 01:52:26 +0200
commitc21f4b3dacd597a15a5ec39d525df1dfe1b70376 (patch)
tree0dfc51d2ffeb7b5022d9ad852f2fd3620c72196a /restaurant_orders/settings/templates
parent2c6f98aeef4fa1aba5678fe17c8e762a11db7b40 (diff)
downloadrestaurant-orders-main.tar.gz
restaurant-orders-main.zip
Add project.main
Diffstat (limited to 'restaurant_orders/settings/templates')
-rw-r--r--restaurant_orders/settings/templates/settings/restaurant_settings.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/restaurant_orders/settings/templates/settings/restaurant_settings.html b/restaurant_orders/settings/templates/settings/restaurant_settings.html
new file mode 100644
index 0000000..eebe63a
--- /dev/null
+++ b/restaurant_orders/settings/templates/settings/restaurant_settings.html
@@ -0,0 +1,22 @@
1{% extends "base.html" %}
2
3{% block title %}Settings{% endblock %}
4
5{% block content %}
6 <div class="py-20">
7 <h3 class="text-3xl font-bold mb-2">Settings</h3>
8
9 <div id='webhook_url' class='w-full mb-8'>
10 <span>Wpisz ten wehbhook do ustawien w twoim sklepie!</span>
11 <strong> {{request.scheme}}://{{request.get_host}}{% url 'wordpress_integration:webhook' restaurant_pk=view.kwargs.pk %}</strong>
12 </div>
13
14 <div class="grid place-items-center">
15 <form method="post" class="p-6 rounded-lg shadow-lg bg-gray-50 justify-center max-w-sm" enctype="multipart/form-data">
16 {% csrf_token %}
17 {{form.as_p}}
18 <input type="submit" value="Zatwierdz!" />
19 </form>
20 </div>
21 </div>
22{% endblock %}