django-cotton-bs5 0.3.0__tar.gz → 0.5.0__tar.gz

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.
Files changed (166) hide show
  1. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/PKG-INFO +2 -2
  2. django_cotton_bs5-0.5.0/cotton_bs5/templates/cotton/badge.html +6 -0
  3. django_cotton_bs5-0.5.0/cotton_bs5/templates/cotton/breadcrumbs/index.html +13 -0
  4. django_cotton_bs5-0.5.0/cotton_bs5/templates/cotton/button_group.html +9 -0
  5. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/index.html +2 -2
  6. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/dropdown/index.html +0 -1
  7. django_cotton_bs5-0.5.0/cotton_bs5/templates/cotton/pagination/index.html +91 -0
  8. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/pagination/link.html +13 -3
  9. django_cotton_bs5-0.5.0/cotton_bs5/templates/cotton/pagination/wrapper.html +9 -0
  10. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/pyproject.toml +4 -4
  11. django_cotton_bs5-0.3.0/cotton_bs5/templates/cotton/badge.html +0 -6
  12. django_cotton_bs5-0.3.0/cotton_bs5/templates/cotton/breadcrumbs/index.html +0 -9
  13. django_cotton_bs5-0.3.0/cotton_bs5/templates/cotton/button_group.html +0 -11
  14. django_cotton_bs5-0.3.0/cotton_bs5/templates/cotton/pagination/index.html +0 -6
  15. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/LICENSE +0 -0
  16. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/README.md +0 -0
  17. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/__init__.py +0 -0
  18. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/apps.py +0 -0
  19. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/_variables.scss +0 -0
  20. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_accordion.scss +0 -0
  21. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_alert.scss +0 -0
  22. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_badge.scss +0 -0
  23. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_breadcrumb.scss +0 -0
  24. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_button-group.scss +0 -0
  25. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_buttons.scss +0 -0
  26. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_card.scss +0 -0
  27. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_carousel.scss +0 -0
  28. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_close.scss +0 -0
  29. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_containers.scss +0 -0
  30. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_dropdown.scss +0 -0
  31. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_forms.scss +0 -0
  32. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_functions.scss +0 -0
  33. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_grid.scss +0 -0
  34. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_helpers.scss +0 -0
  35. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_images.scss +0 -0
  36. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_list-group.scss +0 -0
  37. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_maps.scss +0 -0
  38. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_mixins.scss +0 -0
  39. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_modal.scss +0 -0
  40. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_nav.scss +0 -0
  41. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_navbar.scss +0 -0
  42. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_offcanvas.scss +0 -0
  43. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_pagination.scss +0 -0
  44. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_placeholders.scss +0 -0
  45. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_popover.scss +0 -0
  46. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_progress.scss +0 -0
  47. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_reboot.scss +0 -0
  48. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_root.scss +0 -0
  49. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_spinners.scss +0 -0
  50. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_tables.scss +0 -0
  51. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_toasts.scss +0 -0
  52. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_tooltip.scss +0 -0
  53. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_transitions.scss +0 -0
  54. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_type.scss +0 -0
  55. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_utilities.scss +0 -0
  56. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_variables-dark.scss +0 -0
  57. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/_variables.scss +0 -0
  58. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/bootstrap-grid.scss +0 -0
  59. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/bootstrap-reboot.scss +0 -0
  60. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/bootstrap-utilities.scss +0 -0
  61. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/bootstrap.scss +0 -0
  62. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_floating-labels.scss +0 -0
  63. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_form-check.scss +0 -0
  64. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_form-control.scss +0 -0
  65. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_form-range.scss +0 -0
  66. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_form-select.scss +0 -0
  67. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_form-text.scss +0 -0
  68. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_input-group.scss +0 -0
  69. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_labels.scss +0 -0
  70. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/forms/_validation.scss +0 -0
  71. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_clearfix.scss +0 -0
  72. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_color-bg.scss +0 -0
  73. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_colored-links.scss +0 -0
  74. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_focus-ring.scss +0 -0
  75. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_icon-link.scss +0 -0
  76. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_position.scss +0 -0
  77. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_ratio.scss +0 -0
  78. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_stacks.scss +0 -0
  79. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_stretched-link.scss +0 -0
  80. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_text-truncation.scss +0 -0
  81. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_visually-hidden.scss +0 -0
  82. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/helpers/_vr.scss +0 -0
  83. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_alert.scss +0 -0
  84. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_backdrop.scss +0 -0
  85. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_banner.scss +0 -0
  86. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_border-radius.scss +0 -0
  87. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_box-shadow.scss +0 -0
  88. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_breakpoints.scss +0 -0
  89. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_buttons.scss +0 -0
  90. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_caret.scss +0 -0
  91. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_clearfix.scss +0 -0
  92. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_color-mode.scss +0 -0
  93. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_color-scheme.scss +0 -0
  94. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_container.scss +0 -0
  95. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_deprecate.scss +0 -0
  96. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_forms.scss +0 -0
  97. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_gradients.scss +0 -0
  98. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_grid.scss +0 -0
  99. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_image.scss +0 -0
  100. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_list-group.scss +0 -0
  101. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_lists.scss +0 -0
  102. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_pagination.scss +0 -0
  103. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_reset-text.scss +0 -0
  104. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_resize.scss +0 -0
  105. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_table-variants.scss +0 -0
  106. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_text-truncate.scss +0 -0
  107. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_transition.scss +0 -0
  108. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_utilities.scss +0 -0
  109. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/mixins/_visually-hidden.scss +0 -0
  110. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/utilities/_api.scss +0 -0
  111. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/bs5/vendor/_rfs.scss +0 -0
  112. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/static/stylesheet.scss +0 -0
  113. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/accordion/body.html +0 -0
  114. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/accordion/header.html +0 -0
  115. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/accordion/index.html +0 -0
  116. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/accordion/item.html +0 -0
  117. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/alert.html +0 -0
  118. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/breadcrumbs/item.html +0 -0
  119. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/button/dismiss.html +0 -0
  120. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/button/index.html +0 -0
  121. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/body.html +0 -0
  122. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/footer.html +0 -0
  123. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/header.html +0 -0
  124. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/subtitle.html +0 -0
  125. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/card/title.html +0 -0
  126. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/carousel/button.html +0 -0
  127. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/carousel/caption.html +0 -0
  128. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/carousel/index.html +0 -0
  129. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/carousel/item.html +0 -0
  130. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/collapse.html +0 -0
  131. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/dropdown/divider.html +0 -0
  132. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/dropdown/header.html +0 -0
  133. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/dropdown/item.html +0 -0
  134. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/dropdown/toggle.html +0 -0
  135. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/grid/col.html +0 -0
  136. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/grid/index.html +0 -0
  137. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/list_group/index.html +0 -0
  138. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/list_group/item.html +0 -0
  139. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/modal/body.html +0 -0
  140. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/modal/footer.html +0 -0
  141. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/modal/header.html +0 -0
  142. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/modal/index.html +0 -0
  143. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/modal/title.html +0 -0
  144. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/nav/index.html +0 -0
  145. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/nav/link.html +0 -0
  146. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/navbar/index.html +0 -0
  147. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/navbar/link.html +0 -0
  148. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/navbar/links.html +0 -0
  149. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/offcanvas/body.html +0 -0
  150. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/offcanvas/footer.html +0 -0
  151. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/offcanvas/header.html +0 -0
  152. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/offcanvas/index.html +0 -0
  153. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/offcanvas/title.html +0 -0
  154. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/placeholder.html +0 -0
  155. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/progress.html +0 -0
  156. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/ratio.html +0 -0
  157. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/spinner.html +0 -0
  158. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/table.html +0 -0
  159. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/tabs/content.html +0 -0
  160. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/tabs/index.html +0 -0
  161. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/tabs/item.html +0 -0
  162. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/tabs/pane.html +0 -0
  163. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/toast/activate.html +0 -0
  164. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/toast/body.html +0 -0
  165. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/toast/header.html +0 -0
  166. {django_cotton_bs5-0.3.0 → django_cotton_bs5-0.5.0}/cotton_bs5/templates/cotton/toast/index.html +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-cotton-bs5
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Bootstrap 5 components for use with Django Cotton.
5
5
  License: MIT
6
6
  Author: Sam
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Provides-Extra: django-compressor
15
15
  Requires-Dist: django-compressor (>=4.5.1,<5.0.0) ; extra == "django-compressor"
16
- Requires-Dist: django-cotton (>2.1)
16
+ Requires-Dist: django-cotton (>=2.3.1)
17
17
  Requires-Dist: django-libsass (>=0.9,<0.10)
18
18
  Description-Content-Type: text/markdown
19
19
 
@@ -0,0 +1,6 @@
1
+ <c-vars variant="primary" pill text />
2
+ {% with element=href|yesno:"a,span" %}
3
+ {# djlint:off #}
4
+ <{{ element }} class="badge text-bg-{{ variant }}{% if pill %} rounded-pill{% endif %}{% if class %} {{ class }}{% endif %}" {{ attrs }}>{{ text }}{{ slot }}</{{ element }}>
5
+ {# djlint:on #}
6
+ {% endwith %}
@@ -0,0 +1,13 @@
1
+ {% load i18n %}
2
+ <c-vars ol_class divider="/" items class />
3
+ <nav aria-label="{% trans "breadcrumb" %}"
4
+ style="--bs-breadcrumb-divider: '{{ divider }}'"
5
+ {{ attrs }}>
6
+ <ol class="breadcrumb {{ ol_class }}">
7
+ {% if items %}
8
+ {% for item in items %}<c-breadcrumbs.item :attrs="item" />{% endfor %}
9
+ {% else %}
10
+ {{ slot }}
11
+ {% endif %}
12
+ </ol>
13
+ </nav>
@@ -0,0 +1,9 @@
1
+ {% load i18n %}
2
+ <c-vars size
3
+ vertical
4
+ gap
5
+ class
6
+ label='{% trans "Button group" %}' />
7
+ {# djlint:off #}
8
+ <div class="{% if gap %}d-flex gap-{{ gap }}{% if vertical %} flex-column{% endif %}{% else %}btn-group{% if vertical %}-vertical{% endif %}{% endif %} {% if size %} btn-group-{{ size }}{% endif %} {{ class }}" role="group" aria-label="{{ label }}" {{ attrs }}>{{ slot }}</div>
9
+ {# djlint:on #}
@@ -1,10 +1,10 @@
1
- <c-vars class header title minimal />
1
+ <c-vars class header title minimal body_class />
2
2
  <div class="card {{ class }}" {{ attrs }}>
3
3
  {% if header %}<c-card.header text="{{ header }}" />{% endif %}
4
4
  {% if minimal %}
5
5
  {{ slot }}
6
6
  {% else %}
7
- <c-card.body>
7
+ <c-card.body class="{{ body_class }}" only>
8
8
  {% if title %}<c-card.title text="{{ title }}" />{% endif %}
9
9
  {% if subtitle %}<c-card.subtitle text="{{ subtitle }}" />{% endif %}
10
10
  {{ slot }}
@@ -1,4 +1,3 @@
1
- {% load cotton %}
2
1
  <c-vars direction="down"
3
2
  :dir_dict="{'up': 'dropup', 'down': 'dropdown', 'left': 'dropstart', 'right':'dropend'}"
4
3
  class />
@@ -0,0 +1,91 @@
1
+ {% load i18n %}
2
+ <c-vars label
3
+ page_obj
4
+ page_window="5"
5
+ use_icons
6
+ show_first_and_last />
7
+ {% if page_obj.paginator.num_pages > 1 %}
8
+ <c-pagination.wrapper :attrs="attrs">
9
+ {# --- First page --- #}
10
+ {% if not show_first_and_last %}
11
+ <c-pagination.link :page="1"
12
+ :disabled="{{ page_obj.has_previous|yesno:"False,True" }}"
13
+ text="{% trans "First" %}">
14
+ {% if use_icons %}
15
+ <svg height="1em"
16
+ style="vertical-align: -0.175em"
17
+ fill="currentColor"
18
+ viewBox="0 0 16 16">
19
+ <path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0" />
20
+ <path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0" />
21
+ </svg>
22
+ {% else %}
23
+ {% trans "First" %}
24
+ {% endif %}
25
+ </c-pagination.link>
26
+ {% endif %}
27
+ {# --- Previous page --- #}
28
+ <c-pagination.link :page="{% if page_obj.has_previous %}{{ page_obj.previous_page_number }}{% endif %}"
29
+ :disabled="{{ page_obj.has_previous|yesno:"False,True" }}"
30
+ text="{% trans "Previous" %}">
31
+ {% if use_icons %}
32
+ <svg height="1em"
33
+ style="vertical-align: -0.175em"
34
+ fill="currentColor"
35
+ viewBox="0 0 16 16">
36
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0" />
37
+ </svg>
38
+ {% else %}
39
+ {% trans "Previous" %}
40
+ {% endif %}
41
+ </c-pagination.link>
42
+ {% with "-"|add:page_window as negative_window %}
43
+ {% for num in page_obj.paginator.page_range %}
44
+ {% if forloop.first or forloop.last and show_first_and_last %}
45
+ <c-pagination.link page="{{ num }}"
46
+ text="{{ num }}"
47
+ :active="{% if num == page_obj.number %}True{% endif %}" />
48
+ {% elif num >= page_obj.number|add:negative_window and num <= page_obj.number|add:page_window %}
49
+ <c-pagination.link page="{{ num }}"
50
+ text="{{ num }}"
51
+ :active="{% if num == page_obj.number %}True{% endif %}" />
52
+ {% elif num == page_obj.number|add:negative_window|add:"-1" or num == page_obj.number|add:page_window|add:"1" %}
53
+ <c-pagination.link text="..." disabled />
54
+ {% endif %}
55
+ {% endfor %}
56
+ {% endwith %}
57
+ {# --- Next page --- #}
58
+ <c-pagination.link :page="{% if page_obj.has_next %}{{ page_obj.next_page_number }}{% endif %}"
59
+ :disabled="{{ page_obj.has_next|yesno:"False,True" }}"
60
+ text="{% trans "Next" %}">
61
+ {% if use_icons %}
62
+ <svg height="1em"
63
+ style="vertical-align: -0.175em"
64
+ fill="currentColor"
65
+ viewBox="0 0 16 16">
66
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708" />
67
+ </svg>
68
+ {% else %}
69
+ {% trans "Next" %}
70
+ {% endif %}
71
+ </c-pagination.link>
72
+ {% if not show_first_and_last %}
73
+ {# --- Last page --- #}
74
+ <c-pagination.link :page="{{ page_obj.paginator.num_pages }}"
75
+ :disabled="{{ page_obj.has_next|yesno:"False,True" }}"
76
+ text="{% trans "Last" %}">
77
+ {% if use_icons %}
78
+ <svg height="1em"
79
+ style="vertical-align: -0.175em"
80
+ fill="currentColor"
81
+ viewBox="0 0 16 16">
82
+ <path fill-rule="evenodd" d="M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708" />
83
+ <path fill-rule="evenodd" d="M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708" />
84
+ </svg>
85
+ {% else %}
86
+ {% trans "Last" %}
87
+ {% endif %}
88
+ </c-pagination.link>
89
+ {% endif %}
90
+ </c-pagination.wrapper>
91
+ {% endif %}
@@ -1,14 +1,24 @@
1
1
  <c-vars page text active disabled class />
2
2
  <li class="page-item{% if active %} active{% endif %}{% if disabled %} disabled{% endif %}">
3
3
  {% if disabled %}
4
- <span class="page-link {{ class }}" {{ attrs }}>{{ text }} {{ slot }}</span>
4
+ <span class="page-link {{ class }}" {{ attrs }}>
5
+ {% if slot %}
6
+ {{ slot }}
7
+ {% else %}
8
+ {{ text }}
9
+ {% endif %}
10
+ </span>
5
11
  {% else %}
6
12
  <a class="page-link {{ class }}"
7
- href="?page={{ page }}"
13
+ href="?{{ page_param|default:"page" }}={{ page }}"
8
14
  {% if active %}aria-current="page"{% endif %}
9
15
  {% if disabled %}tabindex="-1" aria-disabled="true"{% endif %}
10
16
  {{ attrs }}>
11
- {{ text }} {{ slot }}
17
+ {% if slot %}
18
+ {{ slot }}
19
+ {% else %}
20
+ {{ text }}
21
+ {% endif %}
12
22
  </a>
13
23
  {% endif %}
14
24
  </li>
@@ -0,0 +1,9 @@
1
+ {% load i18n %}
2
+ <c-vars label="{% trans "Navigation page results" %}"
3
+ size
4
+ ul_class />
5
+ <nav aria-label="{{ label }}" {{ attrs }}>
6
+ <ul class="pagination{% if size %} pagination-{{ size }}{% endif %} {{ ul_class }}">
7
+ {{ slot }}
8
+ </ul>
9
+ </nav>
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "django-cotton-bs5"
3
- version = "v0.3.0"
3
+ version = "v0.5.0"
4
4
  description = "Bootstrap 5 components for use with Django Cotton."
5
5
  authors = ["Sam <samuel.scott.jennings@gmail.com>"]
6
6
  license = "MIT"
@@ -9,7 +9,7 @@ packages = [{include = "cotton_bs5"}]
9
9
 
10
10
  [tool.poetry.dependencies]
11
11
  python = ">=3.10,<4.0"
12
- django-cotton = ">2.1"
12
+ django-cotton = ">=2.3.1"
13
13
  django-compressor = {version = "^4.5.1", optional = true}
14
14
  django-libsass = "^0.9"
15
15
 
@@ -17,11 +17,11 @@ django-libsass = "^0.9"
17
17
  django-compressor = ["django-compressor"]
18
18
 
19
19
  [tool.poetry.group.dev.dependencies]
20
- Django = "^5.0.7"
21
- djlint = "^1.34.1"
20
+ Django = ">=4.2,<6.0"
22
21
  django-crispy-forms = "^2.4"
23
22
  crispy-bootstrap5 = "^2025.6"
24
23
  shot-scraper = "^1.8"
24
+ fairdm-dev-tools = {git = "https://github.com/FAIR-DM/dev-tools"}
25
25
 
26
26
  [build-system]
27
27
  requires = ["poetry-core"]
@@ -1,6 +0,0 @@
1
- <c-vars variant="primary" element="span" pill text class />
2
- <{{ element }} class="badge text-bg-{{ variant }}
3
- {% if pill %}rounded-pill{% endif %}
4
- {{ class }}" {{ attrs }}>
5
- {{ text }}{{ slot }}
6
- </{{ element }}>
@@ -1,9 +0,0 @@
1
- {% load i18n %}
2
- <c-vars ol_class="py-1 mb-1" divider="/" class />
3
- <nav aria-label="{% trans "breadcrumb" %}"
4
- style="--bs-breadcrumb-divider: '{{ divider }}'"
5
- {{ attrs }}>
6
- <ol class="breadcrumb {{ ol_class }}">
7
- {{ slot }}
8
- </ol>
9
- </nav>
@@ -1,11 +0,0 @@
1
- {% load i18n %}
2
- <c-vars size
3
- vertical
4
- class
5
- label='{% trans "Button group" %}' />
6
- <div class="btn-group{% if vertical %}-vertical{% endif %}{% if size %} btn-group-{{ size }}{% endif %} {{ class }}"
7
- role="group"
8
- aria-label="{{ label }}"
9
- {{ attrs }}>
10
- {{ slot }}
11
- </div>
@@ -1,6 +0,0 @@
1
- <c-vars size="" class />
2
- <nav {{ attrs }}>
3
- <ul class="pagination{% if size %} pagination-{{ size }}{% endif %} {{ class }}">
4
- {{ slot }}
5
- </ul>
6
- </nav>