Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
8078c77
Updated version to 4.0.0
ruttenb Aug 24, 2020
9c27f7c
css_classes should be a tuple not a list
stealthv Apr 15, 2021
5050089
Merge pull request #17 from stealthv/fix_css_classes
ruttenb Apr 21, 2021
d8ef779
Bump version
ruttenb Apr 22, 2021
2680695
Revert "css_classes should be a tuple not a list"
ruttenb Apr 22, 2021
8063513
Bump version
ruttenb Apr 22, 2021
2d66b1b
Revert "Revert "css_classes should be a tuple not a list""
ruttenb Apr 22, 2021
a818a05
Bump version
ruttenb Apr 22, 2021
20bd1ce
bioshare2550 - Add bootstrap app config
ratclifh Jul 1, 2021
21f9e83
bioshare2550 - Use new app configs get_bootstrap_widget() for widgets…
ratclifh Jul 1, 2021
a4109e9
bioshare2550 - Store get_bioshare_widget() in variable to cut down on…
ratclifh Jul 2, 2021
ceb741b
bioshare2550 - Change MainBootstrapWidget to _BootstrapWidget
ratclifh Jul 2, 2021
98566f3
Merge pull request #18 from ratclifh/bioshare2550_update_form_inputs
ruttenb Jul 2, 2021
4387c8d
Bug fix in render value
ruttenb Jul 12, 2021
14cef9a
Merge pull request #19 from imsweb/render_value_label
ruttenb Jul 20, 2021
ee562ad
Bump version
ruttenb Aug 11, 2021
85fe127
2656 - Bootstrap 5 Upgrade
May 31, 2022
8703ae7
2656 - form-group -> mb-3
May 31, 2022
53a308d
2656 - missed another form-group -> mb-3
May 31, 2022
c270a4a
2656 - upgrade Bootstrap from 5.0.2 to 5.1.3
Jun 1, 2022
6e67099
Merge pull request #20 from salsburj/squish_2656
ruttenb Jun 30, 2022
86e21ce
Updates for Django 4.0 and Python 3.10
dcwatson Sep 30, 2022
c9427c1
Updates for Django 4.x and Python 3.10
dcwatson Sep 30, 2022
6397819
Erroneous space
dcwatson Oct 6, 2022
587e327
One day I'll get the spaces right
dcwatson Oct 6, 2022
14ae625
Merge branch '4.0' into 5.x
ruttenb Nov 30, 2022
750cb57
Bump version
ruttenb Nov 30, 2022
9f9ac32
fix form label bolding and spacing
Dec 23, 2022
19cdb19
Upgrade to Bootstrap 5.2.3
Jan 5, 2023
cba97ff
Merge pull request #22 from salsburj/bootstrap_5_1_3_to_5_2_3
tomlinsj Jan 6, 2023
063b930
Merge pull request #21 from salsburj/fix_form_label_bolding_and_spacing
tomlinsj Jan 6, 2023
bdc9821
Remove selectize/js/es5-shim files
kukwaa Jan 11, 2023
5940e4f
Add a testapp app for testing the display of all widgets.
kukwaa Jan 18, 2023
420f68e
Fix find_packages() omission
kukwaa Jan 18, 2023
990cfc5
Merge pull request #23 from kukwaa/5.x
tomlinsj Feb 13, 2023
66c6996
update changelog with 5.x changes
Feb 14, 2023
dd28bad
update version
Feb 15, 2023
689c8a6
Merge pull request #25 from salsburj/update_changelog_with_5_x_changes
ruttenb Feb 22, 2023
7a2959e
Bump version
ruttenb Apr 27, 2023
a556c3a
add icons and dialog
May 10, 2023
088b00f
add bootstrap_icon templatetag
May 10, 2023
9cc5700
Added bootstrap_icon templatetag
May 10, 2023
c2e1ba1
use unmodified boostrap-dialog.css
Aug 1, 2023
0ec0d6a
repalced boostrat-dialog.css with the origonal version instead of bis…
Aug 1, 2023
b81e090
Merge pull request #24 from kukwaa/testapp
tomlinsj Sep 20, 2023
46d9169
Update CHANGELOG.md
jhunterc15 Dec 4, 2023
2881485
Add missing space to CHANGELOG.md
jhunterc15 Dec 4, 2023
491f8ad
make changelog more descriptive
jhunterc15 Dec 4, 2023
11a82f0
Merge pull request #26 from jhunterc15/Add_bootstrap_dialog_and_icons
tomlinsj Jan 17, 2024
944630f
Bump version
ruttenb Jan 18, 2024
378ad9b
Fix dismissible alerts in forms (#29)
stealthv Mar 20, 2024
606a437
form labels need not be <strong> (#28)
stealthv Mar 20, 2024
2937787
Bump version
ruttenb Apr 17, 2024
068a0e9
4236-added new bootstrap css files
amalozzi300 Jan 7, 2025
fec6d0c
4236-updated URL mappings
amalozzi300 Jan 7, 2025
7a57ca9
4236-replaced js source code files
amalozzi300 Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,18 @@
## 4.0.0

* Updated local copy of Bootstrap v4.4.1 with contrast adjustments for default colors, navbars, breadcrumbs, and alerts

## 5.0.0

* Upgraded to Bootstrap 5.2.3. These changes are breaking insofar as there have been naming changes to HTML classes, attributes, etc. within files of this package
in order to make this package Bootstrap 5-compatible (see https://getbootstrap.com/docs/5.3/migration/), but django-bootstrap constructs themselves have not had naming changes
(e.g., `bootstrap.widgets.Select` still has the same name).

## 5.0.1

* Removed `bootstrap/static/selectize/js/es5-shim.js` and `bootstrap/static/selectize/js/es5-shim.min.js`; they were causing `collectstatic` to fail.

## 5.0.3

* Added [bootstrap icons](https://icons.getbootstrap.com/) which can be added with the bootstrap_icon template-tag.
* Added [bootstap dialogs](https://github.com/nakupanda/bootstrap3-dialog).
4 changes: 3 additions & 1 deletion bootstrap/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__version_info__ = (4, 0, 0, 'dev')
__version_info__ = (5, 1, 1)
__version__ = '.'.join(str(i) for i in __version_info__)

default_app_config = 'bootstrap.apps.BootstrapConfig'
8 changes: 8 additions & 0 deletions bootstrap/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django.apps import AppConfig

class BootstrapConfig(AppConfig):
name = 'bootstrap'

def get_bootstrap_widget(self):
from bootstrap.widgets import BootstrapWidget
return BootstrapWidget
111 changes: 111 additions & 0 deletions bootstrap/static/bootstrap/bootstrap-dialog/bootstrap-dialog.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
.bootstrap-dialog {
/* dialog types */
/**
* Icon animation
* Copied from font-awesome: http://fontawesome.io/
**/
/** End of icon animation **/
}
.bootstrap-dialog .modal-header {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.bootstrap-dialog .bootstrap-dialog-title {
color: #fff;
display: inline-block;
font-size: 16px;
}
.bootstrap-dialog .bootstrap-dialog-message {
font-size: 14px;
}
.bootstrap-dialog .bootstrap-dialog-button-icon {
margin-right: 3px;
}
.bootstrap-dialog .bootstrap-dialog-close-button {
font-size: 20px;
float: right;
opacity: 0.9;
filter: alpha(opacity=90);
}
.bootstrap-dialog .bootstrap-dialog-close-button:hover {
cursor: pointer;
opacity: 1;
filter: alpha(opacity=100);
}
.bootstrap-dialog.type-default .modal-header {
background-color: #ffffff;
}
.bootstrap-dialog.type-default .bootstrap-dialog-title {
color: #333;
}
.bootstrap-dialog.type-info .modal-header {
background-color: #5bc0de;
}
.bootstrap-dialog.type-primary .modal-header {
background-color: #337ab7;
}
.bootstrap-dialog.type-success .modal-header {
background-color: #5cb85c;
}
.bootstrap-dialog.type-warning .modal-header {
background-color: #f0ad4e;
}
.bootstrap-dialog.type-danger .modal-header {
background-color: #d9534f;
}
.bootstrap-dialog.size-large .bootstrap-dialog-title {
font-size: 24px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
font-size: 30px;
}
.bootstrap-dialog.size-large .bootstrap-dialog-message {
font-size: 18px;
}
.bootstrap-dialog .icon-spin {
display: inline-block;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
}
}
@-o-keyframes spin {
0% {
-o-transform: rotate(0deg);
}
100% {
-o-transform: rotate(359deg);
}
}
@-ms-keyframes spin {
0% {
-ms-transform: rotate(0deg);
}
100% {
-ms-transform: rotate(359deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
Loading