-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
193 changed files
with
1,222 additions
and
2,465 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
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
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
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,4 @@ | ||
# flake8: noqa | ||
from .Verto import Verto | ||
|
||
__version__ = '0.5.2' | ||
__version__ = '0.5.3' |
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 @@ | ||
<div class='boxed-text{% if indented %} boxed-text-indented{% endif %}'> | ||
{% autoescape false -%} | ||
{{ text }} | ||
{%- endautoescape %} | ||
{% endautoescape -%} | ||
</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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
<a class="glossary-term" | ||
data-glossary-term="{{ term }}" | ||
{% if id %} id="{{ id }}" {% endif %}> | ||
{{ text }} | ||
</a> | ||
{% if id %} id="{{ id }}" {% endif %}>{{ text }}</a> |
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,24 +1,24 @@ | ||
<{{ heading_type }} id="{{ title_slug }}"> | ||
<span class="section_number"> | ||
{% if heading_level >= 1 -%} | ||
{{ "{{ chapter.number }}" }} | ||
{%- endif -%} | ||
{%- if heading_level >= 2 -%} | ||
.{{ level_2 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 3 -%} | ||
.{{ level_3 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 4 -%} | ||
.{{ level_4 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 5 -%} | ||
.{{ level_5 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 6 -%} | ||
.{{ level_6 }} | ||
{%- endif -%} | ||
. | ||
</span> | ||
{{ title }} | ||
<span class="section_number"> | ||
{% if heading_level >= 1 -%} | ||
{{ "{{ chapter.number }}" }} | ||
{%- endif -%} | ||
{%- if heading_level >= 2 -%} | ||
.{{ level_2 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 3 -%} | ||
.{{ level_3 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 4 -%} | ||
.{{ level_4 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 5 -%} | ||
.{{ level_5 }} | ||
{%- endif -%} | ||
{%- if heading_level >= 6 -%} | ||
.{{ level_6 }} | ||
{%- endif -%} | ||
. | ||
</span> | ||
{{ title }} | ||
</{{ heading_type }}> |
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,3 @@ | ||
<iframe src="{{ link }}"> | ||
<p> | ||
Your browser does not support iframes. | ||
</p> | ||
<p>Your browser does not support iframes.</p> | ||
</iframe> |
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,14 @@ | ||
<div> | ||
<img src="{{ file_path }}" | ||
{% if alt %} alt="{{ alt }}" {% endif -%} | ||
{%- if hover_text %} title="{{ hover_text }}" {% endif -%} | ||
class="{% if alignment == 'left' %}left-align{% elif alignment =='center' %}center-align{% elif alignment =='right' %}right-align{% endif %}"> | ||
{%- if caption and caption_link -%} | ||
<p><a href="{{ caption_link }}">{{ caption }}</a></p> | ||
{%- elif caption -%} | ||
<p>{{ caption }}</p> | ||
{%- endif -%} | ||
{%- if source_link -%} | ||
<p><a href="{{ source_link }}">Source</a></p> | ||
{%- endif -%} | ||
<img src="{{ file_path }}" | ||
{% if alt %} alt="{{ alt }}" {% endif -%} | ||
{%- if hover_text %} title="{{ hover_text }}" {% endif -%} | ||
class="{% if alignment == 'left' %}left-align{% elif alignment =='center' %}center-align{% elif alignment =='right' %}right-align{% endif %}"> | ||
{% if caption and caption_link -%} | ||
<p><a href="{{ caption_link }}">{{ caption }}</a></p> | ||
{%- elif caption -%} | ||
<p>{{ caption }}</p> | ||
{%- endif -%} | ||
{%- if source_link -%} | ||
<p><a href="{{ source_link }}">Source</a></p> | ||
{%- endif -%} | ||
</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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{%- if type == 'in-page' -%} | ||
<remove> | ||
{{ "{% include 'interactive/" }}{{ name }}{{ "/index.html' %}" }} | ||
</remove> | ||
<remove> | ||
{{ "{% include 'interactive/" }}{{ name }}{{ "/index.html' %}" }} | ||
</remove> | ||
{% elif type == 'iframe' -%} | ||
<iframe src="{{ "{% url 'interactive' name='" }}{{ name }}{{ "' %}" }}{% if parameters %}?{{ parameters }}{% endif %}"> | ||
<p>Your browser does not support iframes.</p> | ||
</iframe> | ||
<iframe src="{{ "{% url 'interactive' name='" }}{{ name }}{{ "' %}" }}{% if parameters %}?{{ parameters }}{% endif %}"> | ||
<p>Your browser does not support iframes.</p> | ||
</iframe> | ||
{% elif type == 'whole-page' -%} | ||
<a | ||
href="{{ "{% url 'interactive' name='" }}{{ name }}{{ "' %}" }}{% if parameters %}?{{ parameters }}{% endif %}" | ||
class="btn btn-interactive-link"> | ||
<img class="btn-interactive-link-image" src="{{ file_path }}"/> | ||
<div class="btn-interactive-whole-page-text"> | ||
{% if text -%} | ||
{{ text }} | ||
{% else -%} | ||
Click to load {{ name }} | ||
{% endif -%} | ||
</div> | ||
</a> | ||
<a | ||
href="{{ "{% url 'interactive' name='" }}{{ name }}{{ "' %}" }}{% if parameters %}?{{ parameters }}{% endif %}" | ||
class="btn btn-interactive-link"> | ||
<img class="btn-interactive-link-image" src="{{ file_path }}"/> | ||
<div class="btn-interactive-whole-page-text"> | ||
{% if text -%} | ||
{{ text }} | ||
{% else -%} | ||
Click to load {{ name }} | ||
{% endif -%} | ||
</div> | ||
</a> | ||
{%- endif -%} |
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,10 +1,10 @@ | ||
<div class='panel panel-{{ type }}{% if expanded == 'always'%} panel-expanded-always{% elif expanded == 'true' %} panel-expanded{% endif %}'> | ||
<div class='panel-header'> | ||
<strong>{{ title }}{% if subtitle %}:</strong> {{ subtitle }}{% else %}</strong>{% endif %} | ||
</div> | ||
<div class='panel-body'> | ||
{% autoescape false -%} | ||
{{ content }} | ||
{%- endautoescape %} | ||
</div> | ||
<div class='panel-header'> | ||
<strong>{{ title }}{% if subtitle %}:</strong> {{ subtitle }}{% else %}</strong>{% endif %} | ||
</div> | ||
<div class='panel-body'> | ||
{% autoescape false -%} | ||
{{ content }} | ||
{% endautoescape -%} | ||
</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 |
---|---|---|
@@ -1,3 +1 @@ | ||
<a href='{{ "{{ base_path }}" }}{{ link_path }}'> | ||
{{ text }} | ||
</a> | ||
<a href='{{ "{{ base_path }}" }}{{ link_path }}'>{{ text }}</a> |
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,6 +1,6 @@ | ||
<div class="scratch-inline-images"> | ||
{% for hash in images -%} | ||
<object type="image/svg+xml" data="{% autoescape false -%}{{ "{% static '" }}scratch-blocks-{{ hash }}.svg{{ "' %}" }}{%- endautoescape %}"> | ||
</object> | ||
{% endfor -%} | ||
{% for hash in images -%} | ||
<object type="image/svg+xml" data="{% autoescape false -%}{{ "{% static '" }}scratch-blocks-{{ hash }}.svg{{ "' %}" }}{%- endautoescape %}"> | ||
</object> | ||
{% endfor -%} | ||
</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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<remove> | ||
{{ "{{ table_of_contents }}" }} | ||
{{ "{{ table_of_contents }}" }} | ||
</remove> |
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,3 +1,3 @@ | ||
<div> | ||
<iframe allowfullscreen='allowfullscreen' frameborder='0' src='{{ video_url }}'></iframe> | ||
<iframe allowfullscreen='allowfullscreen' frameborder='0' src='{{ video_url }}'></iframe> | ||
</div> |
Oops, something went wrong.