[bootstrap] update to bootstrap5

This commit is contained in:
Nico Schottelius 2021-02-13 18:50:28 +01:00
commit 49f52fd41d
5 changed files with 176 additions and 169 deletions

View file

@ -1,28 +1,30 @@
{% extends 'uncloud/base.html' %}
{% block header %}
{% block bootstrap5_extra_head %}
<script src="https://js.stripe.com/v3/"></script>
{% endblock %}
{% block body %}
<div id="content">
<h1>Register Credit Card with Stripe</h1>
<p>
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
{% block bootstrap5_content %}
<div class="container">
<div id="content">
<h1>Register Credit Card with Stripe</h1>
<p>
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.
</p>
</p>
<span id="message"></span>
<div id="card-element"></div>
<button type='button' id="card-button">Save</button>
<div id="ungleichmessage">The card will be registered with stripe.</div>
<span id="message"></span>
<div id="card-element"></div>
<button type='button' id="card-button">Save</button>
<div id="ungleichmessage">The card will be registered with stripe.</div>
<div id="goback" style="display: none;">
<a href="{% url 'uncloudindex' %}">Go back to main page</a>
<div id="goback" style="display: none;">
<a href="{% url 'uncloudindex' %}">Go back to main page</a>
</div>
</div>
</div>
<!-- Enable Stripe from UI elements - standard code -->