diff options
Diffstat (limited to 'restaurant_orders/settings/templates')
-rw-r--r-- | restaurant_orders/settings/templates/settings/restaurant_settings.html | 22 |
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 %} | ||