{% extends "basic_layout.html" %} {% set script_files = ['_static/runestonebase.js', '_static'+'/skulpt-stdlib.js','_static'+'/skulpt.min.js'] + script_files + [ '_static'+ '/mchoice-i18n.sr-Cyrl.js', '_static'+ '/mchoice-i18n.sr.js', '_static'+ '/mchoice-i18n.sr-Latn.js', '_static'+ '/dragndrop-i18n.sr-Cyrl.js', '_static'+ '/dragndrop-i18n.sr.js', '_static'+ '/dragndrop-i18n.sr-Latn.js', '_static'+ '/fitb-i18n.sr-Cyrl.js', '_static'+ '/fitb-i18n.sr.js', '_static'+ '/fitb-i18n.sr-Latn.js', '_static'+ '/parsons-i18n.sr-Cyrl.js', '_static'+ '/parsons-i18n.sr.js', '_static'+ '/parsons-i18n.sr-Latn.js', '_static'+ '/activecode-i18n.sr-Cyrl.js', '_static'+ '/activecode-i18n.sr.js', '_static'+ '/activecode-i18n.sr-Latn.js', '_static'+'/jquery-ui-1.10.3.custom.min.js', '_static'+'/jquery-fix.js', '_static'+'/bootstrap-4.0.0-dist/js/bootstrap.min.js', '_static'+'/bootstrap-4.0.0-dist/js/bootstrap.bundle.min.js', '_static'+'/bootstrap-sphinx.js', '_static'+'/waypoints.min.js', '_static'+'/rangy-core.js', '_static'+'/rangy-textrange.js', '_static'+'/rangy-cssclassapplier.js', '_static'+'/user-highlights.js', '_static'+'/jquery.idle-timer.js', '_static'+'/processing-1.4.1.min.js', '_static'+'/jquery.hotkey.js', '_static'+'/jquery-migrate-1.2.1.min.js', '_static'+'/course-errors.js', '_static'+'/petlja.js', '_static'+ '/require.js' ] %} {% set css_files = css_files + [ '_static'+'/user-highlights.css', 'https://use.fontawesome.com/releases/v5.1.1/css/all.css', '_static'+'/bootstrap-4.0.0-dist/css/bootstrap.min.css', '_static'+'/flatly.min.css', '_static'+'/petlja-course.css', '_static'+'/nbstyle.css' ] %} {%- block doctype -%} {%- endblock %} {%- block lang -%} {%- endblock %} {# Sidebar: Rework into our Boostrap nav section. #} {% macro navBar() %} {% endmacro %} {%- block extrahead %}
{% endblock %} {# Silence the sidebar's, relbar's #} {% block header %}{% endblock %} {% block sidebar1 %}{% endblock %} {% block sidebar2 %}{% endblock %} {% block relbar1 %}{% endblock %} {% block relbar2 %}{% endblock %} {% block sidebarsourcelink %}{% endblock %} {%- block content %} {{ navBar() }}
{{ sidebar()}}
{% if pagename == 'index' %}

{{ course.title }}

{{ course.longDesc}}
{% if( course.willlearn|length > 0) %}
{{_('You will learn:')}}
{% for el in course.willlearn %}

{{el}}

{% endfor %} {% endif %}
{% if( course.requirements|length > 0) %}
{{_('Required:')}}
{% for el in course.requirements %}

{{el}}

{% endfor %}
{% endif %} {% if( course.toc|length > 0) %}
{{_('Table of content:')}}
{% for el in course.toc %}

{{el}}

{% endfor %}
{% endif %} {% if( course.externalLinkTexts|length > 0) %}
{{_('Extern links:')}}
{% for n in range(course.externalLinkTexts| length) %} {{course.externalLinkTexts[n]}}
{% endfor %}
{% endif %}
{% else %} {% block body %}{% endblock %} {% endif %}
{% block nextprevious %} {% include "subchapter.html" %} {% endblock %}
{%- endblock %} {%- block footer %} {% if appname == "runestone" %} {% endif %} {% endblock %}