X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/1dcf9fc21ecb1ae1ca234871b075f0be78d1d323..d5374e266a3507fc69068b80a28f4d75ea5dbd19:/_includes/syllabus.html diff --git a/_includes/syllabus.html b/_includes/syllabus.html index 5f4b7c8..6f11346 100644 --- a/_includes/syllabus.html +++ b/_includes/syllabus.html @@ -1,27 +1,49 @@ +{% include base_path.html %} + {% comment %} Display syllabus in tabular form. Days are displayed if at least one episode has 'start = true'. {% endcomment %} + +{% include manual_episode_order.html %} +
-

Schedule

+

Schedule

+ {% assign lesson_number = 0 %} {% assign day = 0 %} {% assign multiday = false %} - {% for episode in site.episodes %} + {% for lesson_episode in lesson_episodes %} + {% if site.episode_order %} + {% assign episode = site.episodes | where: "slug", lesson_episode | first %} + {% else %} + {% assign episode = lesson_episode %} + {% endif %} {% if episode.start %}{% assign multiday = true %}{% break %}{% endif %} {% endfor %} {% assign current = site.start_time %} - {% for episode in site.episodes %} + + {% if multiday %}{% endif %} + + + + + {% for lesson_episode in lesson_episodes %} + {% if site.episode_order %} + {% assign episode = site.episodes | where: "slug", lesson_episode | first %} + {% else %} + {% assign episode = lesson_episode %} + {% endif %} {% if episode.start %} {% comment %} Starting a new day? {% endcomment %} {% assign day = day | plus: 1 %} {% if day > 1 %} {% comment %} If about to start day 2 or later, show finishing time for previous day {% endcomment %} {% assign hours = current | divided_by: 60 %} {% assign minutes = current | modulo: 60 %} - {% if multiday %}{% endif %} - + {% if multiday %}{% endif %} + @@ -32,16 +54,22 @@ {% assign minutes = current | modulo: 60 %} {% if multiday %}{% endif %} - + @@ -51,10 +79,15 @@ {% assign hours = current | divided_by: 60 %} {% assign minutes = current | modulo: 60 %} - {% if multiday %}{% endif %} - + {% if multiday %}{% endif %} +
SetupDownload files required for the lesson
{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }}{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} Finish
{% if episode.start %}Day {{ day }}{% endif %}{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }}{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} - {{ episode.title }} + {% assign lesson_number = lesson_number | plus: 1 %} + {{ lesson_number }}. {{ episode.title }} {% if episode.break %} Break {% else %} {% if episode.questions %} - {{ episode.questions | join: '
' }} + {% for question in episode.questions %} + {{question|markdownify|strip_html}} + {% unless forloop.last %} +
+ {% endunless %} + {% endfor %} {% endif %} {% endif %}
{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }}{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }} Finish
+ +

+ The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor. +

+