django-cotton-bs5 0.2.1__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cotton_bs5/templates/cotton/button_group.html +5 -3
- cotton_bs5/templates/cotton/progress.html +2 -3
- cotton_bs5/templates/cotton/spinner.html +6 -3
- {django_cotton_bs5-0.2.1.dist-info → django_cotton_bs5-0.3.0.dist-info}/METADATA +2 -2
- {django_cotton_bs5-0.2.1.dist-info → django_cotton_bs5-0.3.0.dist-info}/RECORD +7 -7
- {django_cotton_bs5-0.2.1.dist-info → django_cotton_bs5-0.3.0.dist-info}/LICENSE +0 -0
- {django_cotton_bs5-0.2.1.dist-info → django_cotton_bs5-0.3.0.dist-info}/WHEEL +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{% load i18n %}
|
|
2
|
-
<c-vars size
|
|
3
|
-
|
|
2
|
+
<c-vars size
|
|
3
|
+
vertical
|
|
4
|
+
class
|
|
5
|
+
label='{% trans "Button group" %}' />
|
|
4
6
|
<div class="btn-group{% if vertical %}-vertical{% endif %}{% if size %} btn-group-{{ size }}{% endif %} {{ class }}"
|
|
5
7
|
role="group"
|
|
6
|
-
aria-label="{
|
|
8
|
+
aria-label="{{ label }}"
|
|
7
9
|
{{ attrs }}>
|
|
8
10
|
{{ slot }}
|
|
9
11
|
</div>
|
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
:min="0"
|
|
4
4
|
:max="100"
|
|
5
5
|
text
|
|
6
|
-
label
|
|
6
|
+
label="{% trans 'Progress' %}"
|
|
7
7
|
variant="primary"
|
|
8
8
|
striped
|
|
9
9
|
animated
|
|
10
10
|
class />
|
|
11
|
-
{% trans "Progress" as default_label %}
|
|
12
11
|
<div class="progress {{ class }}"
|
|
13
12
|
role="progressbar"
|
|
14
|
-
aria-label="{
|
|
13
|
+
aria-label="{{ label }}"
|
|
15
14
|
aria-valuenow="{{ value }}"
|
|
16
15
|
aria-valuemin="{{ min }}"
|
|
17
16
|
aria-valuemax="{{ max }}"
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{% load i18n %}
|
|
2
|
-
<c-vars type="border"
|
|
3
|
-
|
|
2
|
+
<c-vars type="border"
|
|
3
|
+
size
|
|
4
|
+
variant
|
|
5
|
+
class
|
|
6
|
+
label="{% trans 'Loading...' %}" />
|
|
4
7
|
<div class="spinner-{{ type }}{% if size %} spinner-{{ type }}-{{ size }}{% endif %}{% if variant %} text-{{ variant }}{% endif %} {{ class }}"
|
|
5
8
|
role="status"
|
|
6
9
|
{{ attrs }}>
|
|
7
|
-
<span class="visually-hidden">{
|
|
10
|
+
<span class="visually-hidden">{{ label }}</span>
|
|
8
11
|
{{ slot }}
|
|
9
12
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: django-cotton-bs5
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Bootstrap 5 components for use with Django Cotton.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Sam
|
|
@@ -28,7 +28,7 @@ Bootstrap 5 components for Django Cotton - A comprehensive library of reusable,
|
|
|
28
28
|
## Installation
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
pip install cotton-bs5
|
|
31
|
+
pip install django-cotton-bs5
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Add `cotton_bs5` to your `INSTALLED_APPS` in `settings.py`:
|
|
@@ -104,7 +104,7 @@ cotton_bs5/templates/cotton/breadcrumbs/index.html,sha256=s0aRRbhCZqmVPD6N4JD9mD
|
|
|
104
104
|
cotton_bs5/templates/cotton/breadcrumbs/item.html,sha256=h0_RmjgC35XQ-3cJ3MgPcVCRwUN6ors2UzJX--JwjxE,397
|
|
105
105
|
cotton_bs5/templates/cotton/button/dismiss.html,sha256=Q1pBNnh8mFACc73XmQzLD9TgmPToZ374sW26SNALnCI,253
|
|
106
106
|
cotton_bs5/templates/cotton/button/index.html,sha256=bW8yrGFxJk-lkbla9RgM3vaUyxyDnwWVoMiZncBPQv4,440
|
|
107
|
-
cotton_bs5/templates/cotton/button_group.html,sha256=
|
|
107
|
+
cotton_bs5/templates/cotton/button_group.html,sha256=f2R1uNgdhtlO89kM55ZWQ4YqX-nHDXIGQx2gmNJs5QU,309
|
|
108
108
|
cotton_bs5/templates/cotton/card/body.html,sha256=V7_erMPFbYfCWeMeI9BCtiqrKpr4Qr2LGd4uxrQhkA4,162
|
|
109
109
|
cotton_bs5/templates/cotton/card/footer.html,sha256=5wop-wWc-Pj5HU8cZLNY4L7t-cEXskyz6WiECAKvOs8,87
|
|
110
110
|
cotton_bs5/templates/cotton/card/header.html,sha256=MWK3s26XYMhPTPGXpUg8P6KJ2jLSkeQjEU6oTovmPRw,103
|
|
@@ -143,9 +143,9 @@ cotton_bs5/templates/cotton/offcanvas/title.html,sha256=eigDuIXB4fRpby8YpjdodAsq
|
|
|
143
143
|
cotton_bs5/templates/cotton/pagination/index.html,sha256=ZaHJsQ7fPrcwUd7tLpjvFJ2-mR8vRzAws9u2ky_1WwI,157
|
|
144
144
|
cotton_bs5/templates/cotton/pagination/link.html,sha256=YfZ6kyRX0TdSIE2dQmbllDUbTbACuvwEWEkA_u0o1Y0,518
|
|
145
145
|
cotton_bs5/templates/cotton/placeholder.html,sha256=fxvSk_X03S2dQWDo1VT27vAppeSWZEnJUCVPaUocmsU,309
|
|
146
|
-
cotton_bs5/templates/cotton/progress.html,sha256=
|
|
146
|
+
cotton_bs5/templates/cotton/progress.html,sha256=jPmfL3cStIbvoCz1Rg-ljlJz64edtlkjz7TFWePM4EY,672
|
|
147
147
|
cotton_bs5/templates/cotton/ratio.html,sha256=yarrtDic-Eooy1O1C_mfOOJ1-spUscSs403N9zMB5AY,209
|
|
148
|
-
cotton_bs5/templates/cotton/spinner.html,sha256=
|
|
148
|
+
cotton_bs5/templates/cotton/spinner.html,sha256=JPMcqCBbPWeZ9FAYZ56DxlajqSWP5Xqh9en1QIBu-z0,389
|
|
149
149
|
cotton_bs5/templates/cotton/table.html,sha256=w2W4tBn6bceAedIyB0fzkofEuznX6K7fgj9nIAbO6Vk,563
|
|
150
150
|
cotton_bs5/templates/cotton/tabs/content.html,sha256=JnrVk2PUTfhdBZf-k4STdVjXj0yu4PJauRtFbjQglfY,87
|
|
151
151
|
cotton_bs5/templates/cotton/tabs/index.html,sha256=LstucGtV5psIh55VkFk9kLV_5AZxe6NwCjyplIU-Q-4,418
|
|
@@ -155,7 +155,7 @@ cotton_bs5/templates/cotton/toast/activate.html,sha256=D-qh8lfEWoJWMKdUG0PT4jdNA
|
|
|
155
155
|
cotton_bs5/templates/cotton/toast/body.html,sha256=cneCr26QtF48gYR7kW5wa_QO0Qv5nGJDlXR6PjVueMU,71
|
|
156
156
|
cotton_bs5/templates/cotton/toast/header.html,sha256=izlXp-D5cKEIeIj297pma9XYgGNo6lkrgvHw1QscOR8,115
|
|
157
157
|
cotton_bs5/templates/cotton/toast/index.html,sha256=av7EWcLGcB90KUBCru6qwtl78PkM228n5OxuJewc4OI,304
|
|
158
|
-
django_cotton_bs5-0.
|
|
159
|
-
django_cotton_bs5-0.
|
|
160
|
-
django_cotton_bs5-0.
|
|
161
|
-
django_cotton_bs5-0.
|
|
158
|
+
django_cotton_bs5-0.3.0.dist-info/LICENSE,sha256=jAcYHTznehUzk6dbbjLdSq9Xo2S_OmscgUKA94hUoMo,1072
|
|
159
|
+
django_cotton_bs5-0.3.0.dist-info/METADATA,sha256=OEdjzTASZcHQlGlBrojsq8Qt_LkgV5U4iY3kPPeG6gI,3220
|
|
160
|
+
django_cotton_bs5-0.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
161
|
+
django_cotton_bs5-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|