From d872357dd1cea11c766382763db06f896d2f0fb3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 25 May 2021 20:22:18 +0200 Subject: [PATCH] Fix login -> move to bootstrap5 --- .../templates/uncloud_auth/login.html | 25 +++++++++++-------- .../uncloud_pay/register_stripe.html | 7 ++++-- uncloud_service/apps.py | 2 +- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/uncloud_auth/templates/uncloud_auth/login.html b/uncloud_auth/templates/uncloud_auth/login.html index 887467b..0a84780 100644 --- a/uncloud_auth/templates/uncloud_auth/login.html +++ b/uncloud_auth/templates/uncloud_auth/login.html @@ -1,14 +1,19 @@ {% extends 'uncloud/base.html' %} -{% load bootstrap4 %} +{% load bootstrap5 %} -{% block body %} -

Login to uncloud

-
- {% csrf_token %} - {% bootstrap_form form %} - {% buttons %} - - {% endbuttons %} -
+ +{% block bootstrap5_content %} +
+
+

Login to uncloud

+
+ {% csrf_token %} + {% bootstrap_form form %} + {% buttons %} + + {% endbuttons %} +
+
+
{% endblock %} diff --git a/uncloud_pay/templates/uncloud_pay/register_stripe.html b/uncloud_pay/templates/uncloud_pay/register_stripe.html index 7205261..9613701 100644 --- a/uncloud_pay/templates/uncloud_pay/register_stripe.html +++ b/uncloud_pay/templates/uncloud_pay/register_stripe.html @@ -13,12 +13,15 @@ By submitting I authorise to send instructions to the financial institution that issued my card to take payments from my card account in accordance with the - terms of my agreement with you. + terms of my agreement with you.

+
+ +
The card will be registered with stripe.