This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94f122e
commit a9c9e73
Showing
10 changed files
with
71 additions
and
10 deletions.
There are no files selected for viewing
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,5 @@ | ||
0.3.0 (2015-02-03) | ||
================== | ||
|
||
* multi-boilerplate support | ||
new requirement: aldryn-boilerplates (needs configuration) |
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,4 +1,3 @@ | ||
include README.rst | ||
include CHANGELOG | ||
recursive-include aldryn_accordion/templates * | ||
recursive-include aldryn_accordion/static * | ||
recursive-include aldryn_accordion/boilerplates * |
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.
1 change: 1 addition & 0 deletions
1
aldryn_accordion/boilerplates/legacy/static/js/addons/cl.accordion.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
aldryn_accordion/boilerplates/legacy/static/js/libs/class.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
aldryn_accordion/boilerplates/legacy/templates/aldryn_accordion/accordion.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% load i18n static cms_tags sekizai_tags %} | ||
|
||
<div class="plugin plugin-accordion{% if accordion.custom_classes %} {{ accordion.custom_classes }}{% endif %}" id="{{ accordion_id }}"> | ||
{% for plugin in accordion.child_plugin_instances %} | ||
{% with parentloop=forloop %}{% render_plugin plugin %}{% endwith %} | ||
{% endfor %} | ||
</div> | ||
|
||
{% addtoblock "js" %}<script src="{% static 'js/libs/class.min.js' %}"></script>{% endaddtoblock %} | ||
{% addtoblock "js" %}<script src="{% static 'js/addons/cl.accordion.min.js' %}"></script>{% endaddtoblock %} | ||
{% addtoblock "js" %} | ||
<script> | ||
jQuery(document).ready(function ($) { | ||
new Cl.Accordion("#{{ accordion_id }}", { | ||
// settings | ||
{% if accordion.index %}'index': {{ accordion.index }},{% endif %} | ||
'grouping': {% if accordion.grouping %}true{% else %}false{% endif %}, | ||
// static | ||
'forceClose': true, | ||
'cls': { | ||
'trigger': '.accordion-trigger', | ||
'container': '.accordion-container' | ||
}, | ||
'lang': { | ||
'expanded': '{% trans "Close" %} ', | ||
'collapsed': '{% trans "Open" %} ' | ||
} | ||
}); | ||
}); | ||
</script> | ||
{% endaddtoblock %} |
13 changes: 13 additions & 0 deletions
13
aldryn_accordion/boilerplates/legacy/templates/aldryn_accordion/accordion_item.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% load cms_tags i18n %} | ||
|
||
<div class="accordion-trigger"> | ||
{{ item.title }} <span class="text">{% trans "Close" %}</span> | ||
</div> | ||
|
||
<div class="accordion-container"> | ||
<div class="accordion-item {% if item.custom_classes %} {{ item.custom_classes }}{% endif %}{% if parentloop.first %} alpha{% endif %}{% if parentloop.last %} omega{% endif %}"> | ||
{% for plugin in item.child_plugin_instances %} | ||
{% render_plugin plugin %} | ||
{% endfor %} | ||
</div> | ||
</div> |
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 |
---|---|---|
|
@@ -9,7 +9,9 @@ | |
).group(1) | ||
|
||
|
||
REQUIREMENTS = [] | ||
REQUIREMENTS = [ | ||
'aldryn-boilerplates>=0.6', | ||
] | ||
|
||
|
||
CLASSIFIERS = [ | ||
|