Skip to content

Commit

Permalink
update bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
OniriCorpe committed May 22, 2024
1 parent 89dee68 commit c66a7c8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
7 changes: 0 additions & 7 deletions assets/css/bootstrap-5.0.0-beta2.min.css

This file was deleted.

6 changes: 6 additions & 0 deletions assets/css/bootstrap-5.3.3.min.css

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<title>{{ _('Donate to %(name)s', name=name) }}</title>

<link rel="icon" href="{{ favicon }}" type="image/x-icon" />
<link href="./css/bootstrap-5.0.0-beta2.min.css" rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link href="./css/bootstrap-5.3.3.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="./css/global.css" rel="stylesheet" />
<script src="https://js.stripe.com/v3/"></script>
<script src="./index.js" defer></script>
Expand All @@ -20,23 +20,29 @@
<div>
<img src="{{ logo }}" class="mb-4" alt="{{ _('%(name)s Logo', name=name) }}" max-width="7em" />
<h1 class="h3 mb-3 fw-normal">{{ _('I want to give to %(name)s', name=name) }}</h1>

<div class="input-group mb-3">
<input type="hidden" id="csrf" value="{{ csrf }}" />
<input type="hidden" id="public_key" value="{{ stripe_publishable_key }}" />

<input type="number" min="0" max="9999" class="form-control" id="quantity" value="10" aria-label="Amount">

<select class="form-control" id="currency" style="width:40px">
{% for iso, symbol in currencies %}
<option value="{{ iso }}">{{ symbol }}
{% endfor %}
</select>

<select class="form-control" id="frequency">
<option value="recuring"> {{ _('/ month') }}
<option value="one_time"> {{ _('one time') }}
</select>
</div>

<button id="submit" class="w-100 btn btn-lg btn-primary">{{ _('Donate') }}</button>

<p><a href="{{ contact_url }}">{{ _('If you want to cancel a monthly donation, please contact us') }}</a></p>

<div id="error-message"></div>
</div>
</main>
Expand Down

0 comments on commit c66a7c8

Please sign in to comment.