-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from jokiefer/16_improvements_for_first_release
16 improvements for first release
- Loading branch information
Showing
71 changed files
with
434 additions
and
518 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,3 +94,4 @@ class DataToggleEnum(Enum): | |
COLLAPSE = "collapse" | ||
MODAL = "modal" | ||
DROPDOWN = "dropdown" | ||
TOOLTIP = "tooltip" |
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/accordion.html
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
django_bootstrap_swt/templates/django_bootstrap_swt/components/badge.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/button.html
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
django_bootstrap_swt/templates/django_bootstrap_swt/components/button_group.html
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
django_bootstrap_swt/templates/django_bootstrap_swt/components/card.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/card_body.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/card_footer.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/card_header.html
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
django_bootstrap_swt/templates/django_bootstrap_swt/components/dropdown_item.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/link.html
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
django_bootstrap_swt/templates/django_bootstrap_swt/components/list_group.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/list_group_item.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/progressbar.html
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
django_bootstrap_swt/templates/django_bootstrap_swt/components/tag.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<{{tag}} {% if additional_classes %}class="{% for cls in additional_classes %}{{cls}} {% endfor %}"{% endif %}>{% if content %}{{content|safe}}{% endif %}</{{tag}}> | ||
<{{tag}}{% for attr, values in attrs.items %} {{ attr }}{% if values %}="{% for value in values%}{{value}}{% if not forloop.last %} {% endif %}{% endfor %}"{% endif %}{% endfor %}>{% if content %}{{content|safe}}{% endif %}</{{tag}}> |
3 changes: 0 additions & 3 deletions
3
django_bootstrap_swt/templates/django_bootstrap_swt/components/tooltip.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 1 addition & 14 deletions
15
tests/app/templates/components/accordion/test_accordion_body_bg_color.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
<div class="accordion" id="{{accordion_id}}" > | ||
<div class="card"> | ||
<div id="{{card_header_id}}" class="card-header"> | ||
<div class="row "><div class="col-sm text-left "><button id="{{button_id}}" class="btn collapsed accordion text-left" type="button" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"> | ||
<i class="fa" aria-hidden="true"></i> nice button | ||
</button></div></div> | ||
</div> | ||
<div id="{{card_body_id}}" class="card-body bg-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"> | ||
{% if True %}{% endif %} | ||
</div> | ||
{% if True %}{% endif %} | ||
</div> | ||
|
||
</div> | ||
<div id="{{accordion_id}}" class="accordion"><div class="card"><div id="{{card_header_id}}" class="card-header"><div class="row"><div class="col-sm text-left"><button id="{{button_id}}" type="button" class="btn collapsed accordion text-left" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"><i class="fa" aria-hidden="true"></i> nice button</button></div></div></div><div id="{{card_body_id}}" class="card-body bg-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"></div></div></div> |
15 changes: 1 addition & 14 deletions
15
tests/app/templates/components/accordion/test_accordion_body_border_color.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
<div class="accordion" id="{{accordion_id}}" > | ||
<div class="card"> | ||
<div id="{{card_header_id}}" class="card-header"> | ||
<div class="row "><div class="col-sm text-left "><button id="{{button_id}}" class="btn collapsed accordion text-left" type="button" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"> | ||
<i class="fa" aria-hidden="true"></i> nice button | ||
</button></div></div> | ||
</div> | ||
<div id="{{card_body_id}}" class="card-body border-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"> | ||
{% if True %}{% endif %} | ||
</div> | ||
{% if True %}{% endif %} | ||
</div> | ||
|
||
</div> | ||
<div id="{{accordion_id}}" class="accordion"><div class="card"><div id="{{card_header_id}}" class="card-header"><div class="row"><div class="col-sm text-left"><button id="{{button_id}}" type="button" class="btn collapsed accordion text-left" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"><i class="fa" aria-hidden="true"></i> nice button</button></div></div></div><div id="{{card_body_id}}" class="card-body border-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"></div></div></div> |
15 changes: 1 addition & 14 deletions
15
tests/app/templates/components/accordion/test_accordion_body_text_color.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
<div class="accordion" id="{{accordion_id}}" > | ||
<div class="card"> | ||
<div id="{{card_header_id}}" class="card-header"> | ||
<div class="row "><div class="col-sm text-left "><button id="{{button_id}}" class="btn collapsed accordion text-left" type="button" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"> | ||
<i class="fa" aria-hidden="true"></i> nice button | ||
</button></div></div> | ||
</div> | ||
<div id="{{card_body_id}}" class="card-body text-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"> | ||
{% if True %}{% endif %} | ||
</div> | ||
{% if True %}{% endif %} | ||
</div> | ||
|
||
</div> | ||
<div id="{{accordion_id}}" class="accordion"><div class="card"><div id="{{card_header_id}}" class="card-header"><div class="row"><div class="col-sm text-left"><button id="{{button_id}}" type="button" class="btn collapsed accordion text-left" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"><i class="fa" aria-hidden="true"></i> nice button</button></div></div></div><div id="{{card_body_id}}" class="card-body text-success collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"></div></div></div> |
15 changes: 1 addition & 14 deletions
15
tests/app/templates/components/accordion/test_accordion_fetch_url.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
<div class="accordion" id="{{accordion_id}}" > | ||
<div class="card"> | ||
<div id="{{card_header_id}}" class="card-header"> | ||
<div class="row "><div class="col-sm text-left "><button id="{{button_id}}" class="btn collapsed accordion text-left" type="button" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"> | ||
<i class="fa" aria-hidden="true"></i> nice button | ||
</button></div></div> | ||
</div> | ||
<div id="{{card_body_id}}" class="card-body collapse" data-parent="#{{accordion_id}}" data-url="http://example.com" aria-labelledby="{{card_header_id}}"> | ||
{% if True %}{% endif %} | ||
</div> | ||
{% if True %}{% endif %} | ||
</div> | ||
|
||
</div> | ||
<div id="{{accordion_id}}" class="accordion"><div class="card"><div id="{{card_header_id}}" class="card-header"><div class="row"><div class="col-sm text-left"><button id="{{button_id}}" type="button" class="btn collapsed accordion text-left" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"><i class="fa" aria-hidden="true"></i> nice button</button></div></div></div><div id="{{card_body_id}}" class="card-body collapse" data-url="http://example.com" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"></div></div></div> |
15 changes: 1 addition & 14 deletions
15
tests/app/templates/components/accordion/test_accordion_header_bg_color.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
<div class="accordion" id="{{accordion_id}}" > | ||
<div class="card"> | ||
<div id="{{card_header_id}}" class="card-header bg-success"> | ||
<div class="row "><div class="col-sm text-left "><button id="{{button_id}}" class="btn collapsed accordion text-left" type="button" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"> | ||
<i class="fa" aria-hidden="true"></i> nice button | ||
</button></div></div> | ||
</div> | ||
<div id="{{card_body_id}}" class="card-body collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"> | ||
{% if True %}{% endif %} | ||
</div> | ||
{% if True %}{% endif %} | ||
</div> | ||
|
||
</div> | ||
<div id="{{accordion_id}}" class="accordion"><div class="card"><div id="{{card_header_id}}" class="card-header bg-success"><div class="row"><div class="col-sm text-left"><button id="{{button_id}}" type="button" class="btn collapsed accordion text-left" data-toggle="collapse" data-target="#{{card_body_id}}" aria-expanded="false" aria-controls="{{card_body_id}}"><i class="fa" aria-hidden="true"></i> nice button</button></div></div></div><div id="{{card_body_id}}" class="card-body collapse" data-parent="#{{accordion_id}}" aria-labelledby="{{card_header_id}}"></div></div></div> |
Oops, something went wrong.