-
Notifications
You must be signed in to change notification settings - Fork 85
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 #302 from haricot/patch-18
Swicth bs3demo to bs4demo
- Loading branch information
Showing
22 changed files
with
68 additions
and
58 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import "bootstrap/scss/_functions"; | ||
@import "bootstrap/scss/_variables"; | ||
@import "bootstrap/scss/mixins/_breakpoints.scss"; | ||
|
||
// footer | ||
$body-footer-height: 200px; | ||
$body-footer-color: $yiq-text-light; | ||
$body-footer-bg: $dark; |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ples/bs3demo/static/bs3demo/css/main.scss → ...ples/bs4demo/static/bs4demo/css/main.scss
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
4 changes: 2 additions & 2 deletions
4
...ples/bs3demo/templates/bs3demo/badge.html → ...ples/bs4demo/templates/bs4demo/badge.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,5 +1,5 @@ | ||
{% load sekizai_tags sass_tags %} | ||
{% addtoblock "css" %}<link rel="stylesheet" href="{% sass_src 'bs3demo/css/badge.scss' %}" type="text/css" />{% endaddtoblock %} | ||
{% addtoblock "css" %}<link rel="stylesheet" href="{% sass_src 'bs4demo/css/badge.scss' %}" type="text/css" />{% endaddtoblock %} | ||
{% with inline_styles=instance.inline_styles %} | ||
<div class="badge-ribbon"{% if inline_styles %} style="{{ inline_styles }}"{% endif %}>{{ instance.glossary.content }}</div> | ||
{% endwith %} | ||
{% endwith %} |
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
22 changes: 15 additions & 7 deletions
22
examples/bs3demo/templates/bs3demo/main.html → examples/bs4demo/templates/bs4demo/main.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
8 changes: 4 additions & 4 deletions
8
...es/bs3demo/templates/bs3demo/strides.html → ...es/bs4demo/templates/bs4demo/strides.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,13 +1,13 @@ | ||
{% extends "bs3demo/main.html" %} | ||
{% extends "bs4demo/main.html" %} | ||
{% load cascade_tags %} | ||
|
||
{% block main %} | ||
<div class="container"> | ||
<div class="row starter-template"> | ||
<div class="col-xs-12"> | ||
<p>Content is rendered using the templatetag {% verbatim %}<code>{% render_cascade "bs3demo/cascades/strides.json" %}</code>{% endverbatim %}</p> | ||
<div class="col-12"> | ||
<p>Content is rendered using the templatetag {% verbatim %}<code>{% render_cascade "bs4demo/cascades/strides.json" %}</code>{% endverbatim %}</p> | ||
</div> | ||
</div> | ||
</div> | ||
{% render_cascade "bs3demo/cascades/strides.json" %} | ||
{% render_cascade "bs4demo/cascades/strides.json" %} | ||
{% endblock main %} |
4 changes: 2 additions & 2 deletions
4
...es/bs3demo/templates/bs3demo/wrapped.html → ...es/bs4demo/templates/bs4demo/wrapped.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
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
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Django==1.11.15 | ||
Django>=1.11.15,<2.0 | ||
-r base.txt |