returns all non email templates
GET /api/v1/page_templates
Parameters
| Name |
Description |
|
email
|
Only email templates
|
Request
Headers
Route
GET /api/v1/page_templates?email=user-692%40example.com
Query Parameters
email: user-692@example.com
cURL
curl "http://localhost:3000/api/v1/page_templates?email=user-692%40example.com" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: YbhpyfxJU4HxcZCsG6rXQSRSJZqVQPCv6Q" \
-H "X-Api-Email: user-692@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"page_templates": {
"blog/partials/header": {
"contents": "{{ site.disqus_js }}\n<div class='homepage-hero blog'>\n <div class='container'>\n <div class='row text-center'>\n <h2 class='headline'><a href=\"/blog\">{{ current_school.blog_title }}</a></h2>\n <h3 class='subtitle'>{{ current_school.blog_description }}</h3>\n </div>\n </div>\n</div>\n",
"default_contents": "{{ site.disqus_js }}\n<div class='homepage-hero blog'>\n <div class='container'>\n <div class='row text-center'>\n <h2 class='headline'><a href=\"/blog\">{{ current_school.blog_title }}</a></h2>\n <h3 class='subtitle'>{{ current_school.blog_description }}</h3>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"blog/partials/post_full": {
"contents": "<div class=\"post\">\n <h1><a href=\"/blog/{{ post.id }}/{{ post.friendly_url }}\">{{ post.title }}</a></h1>\n <div class=\"post-byline\">\n {% if post.author_bio.profile_image_url %}\n <img src=\"{{ post.author_bio.profile_image_url }}\" alt=\"author\" aria-describedby=\"author-name\">\n {% endif %}\n <div class=\"post-share\">\n {% include \"blog/partials/social_links\" %}\n </div>\n <div id=\"author-name\" class=\"post-author-name\">{{ post.author_bio.name }}</div>\n <div class=\"post-date\">{{ post.published_at | date: \"%d %B, %Y\" }}</div>\n </div>\n <div class=\"post-content\">\n {{ post.body }}\n </div>\n\n {% if post.is_disqus_enabled %}\n <div class=\"post comments-wrapper\">\n <div id='disqus_thread'></div>\n <div id='disqus_data' data-url=\"{{ post.disqus_url }}\" data-identifier=\"{{ post.disqus_identifier }}\"></div>\n </div>\n {% endif %}\n\n {% if post.is_native_comments_enabled %}\n {% include \"comments/index\" with post %}\n {% endif %}\n</div>\n",
"default_contents": "<div class=\"post\">\n <h1><a href=\"/blog/{{ post.id }}/{{ post.friendly_url }}\">{{ post.title }}</a></h1>\n <div class=\"post-byline\">\n {% if post.author_bio.profile_image_url %}\n <img src=\"{{ post.author_bio.profile_image_url }}\" alt=\"author\" aria-describedby=\"author-name\">\n {% endif %}\n <div class=\"post-share\">\n {% include \"blog/partials/social_links\" %}\n </div>\n <div id=\"author-name\" class=\"post-author-name\">{{ post.author_bio.name }}</div>\n <div class=\"post-date\">{{ post.published_at | date: \"%d %B, %Y\" }}</div>\n </div>\n <div class=\"post-content\">\n {{ post.body }}\n </div>\n\n {% if post.is_disqus_enabled %}\n <div class=\"post comments-wrapper\">\n <div id='disqus_thread'></div>\n <div id='disqus_data' data-url=\"{{ post.disqus_url }}\" data-identifier=\"{{ post.disqus_identifier }}\"></div>\n </div>\n {% endif %}\n\n {% if post.is_native_comments_enabled %}\n {% include \"comments/index\" with post %}\n {% endif %}\n</div>\n",
"is_published": false,
"partial": true
},
"blog/partials/social_links": {
"contents": "<a aria-label=\"Share on facebook\" href=\"https://www.facebook.com/sharer.php?u={{ site.url }}/blog/{{ post.friendly_url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook'></i>\n</a>\n<a aria-label=\"Share on twitter\" href=\"https://twitter.com/intent/tweet/?text={{ post.title }}:+{{ site.url }}/blog/{{ post.friendly_url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter\"></i>\n</a>\n<a aria-label=\"Share on linkedin\" href=\"http://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}/blog/{{ post.friendly_url }}&title={{ post.title }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-linkedin\"></i>\n</a>\n",
"default_contents": "<a aria-label=\"Share on facebook\" href=\"https://www.facebook.com/sharer.php?u={{ site.url }}/blog/{{ post.friendly_url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook'></i>\n</a>\n<a aria-label=\"Share on twitter\" href=\"https://twitter.com/intent/tweet/?text={{ post.title }}:+{{ site.url }}/blog/{{ post.friendly_url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter\"></i>\n</a>\n<a aria-label=\"Share on linkedin\" href=\"http://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}/blog/{{ post.friendly_url }}&title={{ post.title }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-linkedin\"></i>\n</a>\n",
"is_published": false,
"partial": true
},
"blog/partials/sidebar": {
"contents": "<div class=\"sidebar-block\">\n <h2>{{ 'blog.about' | i18n }}</h2>\n <div class=\"content\">\n {{ current_school.blog_about }}\n </div>\n</div>\n",
"default_contents": "<div class=\"sidebar-block\">\n <h2>{{ 'blog.about' | i18n }}</h2>\n <div class=\"content\">\n {{ current_school.blog_about }}\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"blog/partials/post_short": {
"contents": "<div class=\"post\">\n <h1><a href=\"/blog/{{ post.id }}/{{ post.friendly_url }}\">{{ post.title }}</a></h1>\n <div class=\"post-byline\">\n {% if post.author_bio.profile_image_url %}\n <img src=\"{{ post.author_bio.profile_image_url }}\" alt=\"author\" aria-describedby=\"author-name\">\n {% endif %}\n <div id=\"author-name\" class=\"post-author-name\">{{ post.author_bio.name }}</div>\n <div class=\"post-date\">{{ post.published_at | date: \"%d %B, %Y\" }}</div>\n </div>\n <div class=\"post-content\">\n {{ post.truncated_content }}\n <p class=\"read-more\"><a href=\"/blog/{{ post.friendly_url }}\">{{\"blog.read_more\" | i18n }}</a></p>\n </div>\n</div>\n",
"default_contents": "<div class=\"post\">\n <h1><a href=\"/blog/{{ post.id }}/{{ post.friendly_url }}\">{{ post.title }}</a></h1>\n <div class=\"post-byline\">\n {% if post.author_bio.profile_image_url %}\n <img src=\"{{ post.author_bio.profile_image_url }}\" alt=\"author\" aria-describedby=\"author-name\">\n {% endif %}\n <div id=\"author-name\" class=\"post-author-name\">{{ post.author_bio.name }}</div>\n <div class=\"post-date\">{{ post.published_at | date: \"%d %B, %Y\" }}</div>\n </div>\n <div class=\"post-content\">\n {{ post.truncated_content }}\n <p class=\"read-more\"><a href=\"/blog/{{ post.friendly_url }}\">{{\"blog.read_more\" | i18n }}</a></p>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"courses/author_bio": {
"contents": " {% if author_bio %}\n {% include \"courses/partials/enrolled_author_bio\" %}\n {% endif %}\n",
"default_contents": " {% if author_bio %}\n {% include \"courses/partials/enrolled_author_bio\" %}\n {% endif %}\n",
"is_published": false,
"partial": false
},
"courses/index": {
"contents": "{% include 'courses/partials/course_directory' %}\n",
"default_contents": "{% include 'courses/partials/course_directory' %}\n",
"is_published": false,
"partial": false
},
"courses/enrolled_show": {
"contents": "{% if bundled_courses or course.no_published_lectures %}\n {% cache course, 'bundled_courses' %}\n {% include \"courses/partials/enrolled_bundled_courses\" %}\n {% endcache %}\n{% else %}\n {% include \"courses/partials/enrolled_curriculum\" %}\n{% endif %}\n",
"default_contents": "{% if bundled_courses or course.no_published_lectures %}\n {% cache course, 'bundled_courses' %}\n {% include \"courses/partials/enrolled_bundled_courses\" %}\n {% endcache %}\n{% else %}\n {% include \"courses/partials/enrolled_curriculum\" %}\n{% endif %}\n",
"is_published": false,
"partial": false
},
"courses/filtered_courses": {
"contents": "{% include 'courses/partials/course_directory' %}\n",
"default_contents": "{% include 'courses/partials/course_directory' %}\n",
"is_published": false,
"partial": false
},
"courses/partials/enrolled_course_header": {
"contents": "<!-- Lecture Header -->\n<header class='full-width half-height {{ site.signed_in_class }}'>\n <div class=\"navbar navbar-fedora\">\n <div class='navbar-header'>\n <div class='lecture-left'>\n <a class='nav-icon-back' aria-label=\"Back to courses\" href=\"{{'/courses/'}}\">\n <i class='fa fa-angle-left' title=\"Back to courses\"></i>\n </a>\n </div>\n <button class='navbar-toggle' data-target='.navbar-header-collapse' data-toggle='collapse' type='button'>\n <span class='sr-only'>\n {{ 'common.toggle_nav' | i18n }}\n </span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n </button>\n\n <!-- Header Menu -->\n <div class='collapse navbar-collapse navbar-header-collapse'>\n <ul class='nav navbar-nav navbar-right'>\n {% include \"layouts/partials/header_admin_link\" %}\n <div class='navbar-enrolled'>{% include \"courses/partials/enrolled_course_sidebar_nav\" %}</div>\n <li class='dropdown'>\n {% include \"layouts/partials/user_menu\" %}\n </li>\n </ul>\n </div>\n </div>\n </div>\n</header>\n",
"default_contents": "<!-- Lecture Header -->\n<header class='full-width half-height {{ site.signed_in_class }}'>\n <div class=\"navbar navbar-fedora\">\n <div class='navbar-header'>\n <div class='lecture-left'>\n <a class='nav-icon-back' aria-label=\"Back to courses\" href=\"{{'/courses/'}}\">\n <i class='fa fa-angle-left' title=\"Back to courses\"></i>\n </a>\n </div>\n <button class='navbar-toggle' data-target='.navbar-header-collapse' data-toggle='collapse' type='button'>\n <span class='sr-only'>\n {{ 'common.toggle_nav' | i18n }}\n </span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n </button>\n\n <!-- Header Menu -->\n <div class='collapse navbar-collapse navbar-header-collapse'>\n <ul class='nav navbar-nav navbar-right'>\n {% include \"layouts/partials/header_admin_link\" %}\n <div class='navbar-enrolled'>{% include \"courses/partials/enrolled_course_sidebar_nav\" %}</div>\n <li class='dropdown'>\n {% include \"layouts/partials/user_menu\" %}\n </li>\n </ul>\n </div>\n </div>\n </div>\n</header>\n",
"is_published": false,
"partial": true
},
"courses/partials/enrolled_author_bio": {
"contents": "<h2 class='section-title'>\n {{'courses.your_instructor'|i18n'}}\n</h2>\n<div class='row'>\n <div class='col-lg-2 col-md-2 col-sm-2 text-center'>\n <img class='large-img-rounded img-responsive' src='{{course.author_bio.profile_image_url}}' alt='{{course.author_bio.name}}'>\n <br>\n <div class='author-name'>\n {{ course.author_bio.name }}\n </div>\n </div>\n <div class='col-lg-9 col-md-8 col-sm-8'>\n {{ course.author_bio.bio }}\n </div>\n</div>\n<br>\n",
"default_contents": "<h2 class='section-title'>\n {{'courses.your_instructor'|i18n'}}\n</h2>\n<div class='row'>\n <div class='col-lg-2 col-md-2 col-sm-2 text-center'>\n <img class='large-img-rounded img-responsive' src='{{course.author_bio.profile_image_url}}' alt='{{course.author_bio.name}}'>\n <br>\n <div class='author-name'>\n {{ course.author_bio.name }}\n </div>\n </div>\n <div class='col-lg-9 col-md-8 col-sm-8'>\n {{ course.author_bio.bio }}\n </div>\n</div>\n<br>\n",
"is_published": false,
"partial": true
},
"courses/partials/enrolled_bundled_courses": {
"contents": "<row>\n <div class='section'>\n <h2 class='section-title'>{{'courses.included_with_purchase'|i18n}}</h2>\n <div class='curriculum-table'>\n {% for child_course in course.child_courses %}\n <div class='enrolled-child-course'>\n {% include \"courses/partials/course_box\" with child_course %}\n </div>\n {% endfor %}\n </div>\n </div>\n</row>\n",
"default_contents": "<row>\n <div class='section'>\n <h2 class='section-title'>{{'courses.included_with_purchase'|i18n}}</h2>\n <div class='curriculum-table'>\n {% for child_course in course.child_courses %}\n <div class='enrolled-child-course'>\n {% include \"courses/partials/course_box\" with child_course %}\n </div>\n {% endfor %}\n </div>\n </div>\n</row>\n",
"is_published": false,
"partial": true
},
"courses/partials/course_directory": {
"contents": "{% alert_messages %}\n{% capture number_of_courses_to_display %} {{courses|size }} {%endcapture%}\n<div class='view-directory course-directory {% if current_user %}signed-in-directory{% endif %}'>\n <div class='container'>\n <div class='row search'>\n {% if lecture_progresses.size %}{% else %}\n <!-- Filter: Category -->\n <div class='pull-left course-filter'>\n <div class=\"filter-label\">\n {{'courses.category_filter'|i18n}}\n </div>\n <div class=\"btn-group\">\n <button class=\"btn btn-default btn-lg btn-course-filter dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-expanded=\"false\">\n {% if filter_type contains 'category' and name %}\n {{ name | replace: '-', ' ' }} <span class=\"caret\"></span>\n {% else %}\n {{'courses.all_filter'|i18n}} <span class=\"caret\"></span>\n {% endif %}\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n <li><a href=\"{{ school.url }}/courses\">{{'courses.all_filter'|i18n}}</a></li>\n {% for category in current_school.categories %}\n {% if category.is_published and category.course_count > 0 %}\n <li><a href=\"{{ school.url }}/courses/category/{{ category.name }}\">{{ category.name | replace: '-', ' ' }} ({{category.course_count}})</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n </div>\n </div>\n <!-- Filter: Author -->\n <div class='pull-left course-filter'>\n <div class=\"filter-label\">\n {{'courses.author_filter'|i18n}}\n </div>\n <div class=\"btn-group\">\n <button class=\"btn btn-default btn-lg btn-course-filter dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-expanded=\"false\">\n {% if filter_type contains 'author' and name %}\n {{ name }} <span class=\"caret\"></span>\n {% else %}\n {{'courses.all_filter'|i18n}} <span class=\"caret\"></span>\n {% endif %}\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n <li><a href=\"{{ school.url }}/courses\">{{'courses.all_filter'|i18n}}</a></li>\n {% for author in current_school.author_bios %}\n <li><a href=\"{{ school.url }}/courses/author/{{ author.id }}\">{{ author.name }}</a></li>\n {% endfor %}\n </ul>\n </div>\n </div>\n {% endif %}\n <!-- Search Box -->\n <div class='{% if lecture_progresses.size %}col-lg-12 col-md-12{% else %}col-lg-4 col-md-4{% endif %} col-xs-12 pull-right'>\n <form role=\"search\" method=\"get\" action=\"/courses\">\n <div class=\"input-group\">\n <label for=\"search-courses\" class=\"sr-only\">{{'courses.search_prompt' | i18n}}</label>\n <input class='form-control search input-lg' data-list='.list' id='search-courses' name=\"query\" placeholder=\"{{'courses.search_prompt' | i18n}}\" type='text'>\n <span class=\"input-group-btn\">\n <button aria-label=\"Search Courses\" id=\"search-course-button\" class=\"btn search btn-default btn-lg\" type=\"submit\">{{'courses.search_button'|i18n}}</button>\n </span>\n </div>\n </form>\n </div>\n </div>\n <!-- Filter Title & Description-->\n {% if name %}\n <div class='row filter-title'>\n <div class='col-lg-12 col-md-12'>\n {% if author_image %}\n <img class='large-img-rounded img-responsive' src='{{ author_image }}' role='presentation'>\n {% endif %}\n <div class=\"col-sm-9\">\n <h2>{{ name }}</h2>\n <p>{{ description }}</p>\n </div>\n <br>\n </div>\n </div>\n {% endif %}\n <div class='row course-list list'>\n {% include \"courses/partials/course_box\" for courses limit:number_of_courses_to_display %}\n </div>\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12\">\n <center>\n {% course_pagination %}\n </center>\n </div>\n </div>\n <br>\n </div>\n</div>\n",
"default_contents": "{% alert_messages %}\n{% capture number_of_courses_to_display %} {{courses|size }} {%endcapture%}\n<div class='view-directory course-directory {% if current_user %}signed-in-directory{% endif %}'>\n <div class='container'>\n <div class='row search'>\n {% if lecture_progresses.size %}{% else %}\n <!-- Filter: Category -->\n <div class='pull-left course-filter'>\n <div class=\"filter-label\">\n {{'courses.category_filter'|i18n}}\n </div>\n <div class=\"btn-group\">\n <button class=\"btn btn-default btn-lg btn-course-filter dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-expanded=\"false\">\n {% if filter_type contains 'category' and name %}\n {{ name | replace: '-', ' ' }} <span class=\"caret\"></span>\n {% else %}\n {{'courses.all_filter'|i18n}} <span class=\"caret\"></span>\n {% endif %}\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n <li><a href=\"{{ school.url }}/courses\">{{'courses.all_filter'|i18n}}</a></li>\n {% for category in current_school.categories %}\n {% if category.is_published and category.course_count > 0 %}\n <li><a href=\"{{ school.url }}/courses/category/{{ category.name }}\">{{ category.name | replace: '-', ' ' }} ({{category.course_count}})</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n </div>\n </div>\n <!-- Filter: Author -->\n <div class='pull-left course-filter'>\n <div class=\"filter-label\">\n {{'courses.author_filter'|i18n}}\n </div>\n <div class=\"btn-group\">\n <button class=\"btn btn-default btn-lg btn-course-filter dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-expanded=\"false\">\n {% if filter_type contains 'author' and name %}\n {{ name }} <span class=\"caret\"></span>\n {% else %}\n {{'courses.all_filter'|i18n}} <span class=\"caret\"></span>\n {% endif %}\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n <li><a href=\"{{ school.url }}/courses\">{{'courses.all_filter'|i18n}}</a></li>\n {% for author in current_school.author_bios %}\n <li><a href=\"{{ school.url }}/courses/author/{{ author.id }}\">{{ author.name }}</a></li>\n {% endfor %}\n </ul>\n </div>\n </div>\n {% endif %}\n <!-- Search Box -->\n <div class='{% if lecture_progresses.size %}col-lg-12 col-md-12{% else %}col-lg-4 col-md-4{% endif %} col-xs-12 pull-right'>\n <form role=\"search\" method=\"get\" action=\"/courses\">\n <div class=\"input-group\">\n <label for=\"search-courses\" class=\"sr-only\">{{'courses.search_prompt' | i18n}}</label>\n <input class='form-control search input-lg' data-list='.list' id='search-courses' name=\"query\" placeholder=\"{{'courses.search_prompt' | i18n}}\" type='text'>\n <span class=\"input-group-btn\">\n <button aria-label=\"Search Courses\" id=\"search-course-button\" class=\"btn search btn-default btn-lg\" type=\"submit\">{{'courses.search_button'|i18n}}</button>\n </span>\n </div>\n </form>\n </div>\n </div>\n <!-- Filter Title & Description-->\n {% if name %}\n <div class='row filter-title'>\n <div class='col-lg-12 col-md-12'>\n {% if author_image %}\n <img class='large-img-rounded img-responsive' src='{{ author_image }}' role='presentation'>\n {% endif %}\n <div class=\"col-sm-9\">\n <h2>{{ name }}</h2>\n <p>{{ description }}</p>\n </div>\n <br>\n </div>\n </div>\n {% endif %}\n <div class='row course-list list'>\n {% include \"courses/partials/course_box\" for courses limit:number_of_courses_to_display %}\n </div>\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12\">\n <center>\n {% course_pagination %}\n </center>\n </div>\n </div>\n <br>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"courses/partials/enrolled_course_sidebar_nav": {
"contents": " <!-- Sidebar Nav -->\n {% if course.syllabus.size > 0 %}\n <li class=\"{% if site.path contains 'author_bio' or site.path contains 'bundled_courses' or site.path contains 'certificate' %}{% else %}selected{% endif %}\">\n <a href='{{course.path}}' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-list-alt'></i>\n </span>\n {{'courses.curriculum'|i18n}}\n </a>\n </li>\n {% endif %}\n {% if course.bundle? %}\n <li class=\"{% if site.path contains 'bundled_courses' or course.syllabus.size == 0 %}selected{% endif %}\">\n <a href='{{course.path}}/bundled_courses' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-th'></i>\n </span>\n {{'courses.included_courses'|i18n}}\n </a>\n </li>\n {% endif %}\n <li class=\"{% if site.path contains 'author_bio' %}selected{% endif %}\">\n <a href='{{course.path}}/author_bio' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-user'></i>\n </span>\n {{'courses.your_instructor'|i18n}}\n </a>\n </li>\n {% if course.report_card.certificate_issuesd? %}\n <li class=\"{% if site.path contains 'certificate' %}selected{% endif %}\">\n <a href='{{course.path}}/certificate' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-th'></i>\n </span>\n {{'courses.certificate' |i18n}}\n </a>\n </li>\n {% endif %}",
"default_contents": " <!-- Sidebar Nav -->\n {% if course.syllabus.size > 0 %}\n <li class=\"{% if site.path contains 'author_bio' or site.path contains 'bundled_courses' or site.path contains 'certificate' %}{% else %}selected{% endif %}\">\n <a href='{{course.path}}' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-list-alt'></i>\n </span>\n {{'courses.curriculum'|i18n}}\n </a>\n </li>\n {% endif %}\n {% if course.bundle? %}\n <li class=\"{% if site.path contains 'bundled_courses' or course.syllabus.size == 0 %}selected{% endif %}\">\n <a href='{{course.path}}/bundled_courses' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-th'></i>\n </span>\n {{'courses.included_courses'|i18n}}\n </a>\n </li>\n {% endif %}\n <li class=\"{% if site.path contains 'author_bio' %}selected{% endif %}\">\n <a href='{{course.path}}/author_bio' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-user'></i>\n </span>\n {{'courses.your_instructor'|i18n}}\n </a>\n </li>\n {% if course.report_card.certificate_issuesd? %}\n <li class=\"{% if site.path contains 'certificate' %}selected{% endif %}\">\n <a href='{{course.path}}/certificate' class='sidebar-nav-link'>\n <span class='lecture-sidebar-icon'>\n <i class='fa fa-th'></i>\n </span>\n {{'courses.certificate' |i18n}}\n </a>\n </li>\n {% endif %}",
"is_published": false,
"partial": true
},
"courses/partials/enrolled_curriculum": {
"contents": "<!-- Meta tag for tracking lecture progress -->\n{% lecture_completion_data %}\n\n<h2 class='section-title'>\n {{'courses.curriculum'|i18n}}\n</h2>\n<div class='next-lecture-wrapper'>\n <a class='btn btn-primary start-next-lecture' data-no-turbolink='true'>{{'courses.start_next_lecture'| i18n}} <span aria-hidden='true'>›</span></a>\n <span class='next-lecture-name hidden-sm'></span>\n</div>\n\n<!-- Lecture list on courses page (enrolled user) -->\n{% for lecture_section in course.ordered_published_lecture_sections %}\n<div class='row'>\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n <div class=\"section-days-to-drip\">\n <div class=\"section-days-logged-in\">\n {{'courses.available_in' | i18n}}\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n </div>\n <div class=\"section-days-logged-out\">\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n {{'courses.after_you_enroll' | i18n}}\n </div>\n </div>\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li class='section-item incomplete' data-lecture-id=\"{{lecture.id}}\">\n <a class='item' data-no-turbolink='true' href='{{course.path}}/lectures/{{lecture.id}}'>\n <span class='status-container'>\n <span class='status-icon'>\n \n </span>\n </span>\n <div class='title-container'>\n <div class='btn-primary btn-sm pull-right'>\n {{'courses.lecture_list_start' | i18n}}\n </div>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n <span class='lecture-name'>\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n\n </span>\n </div>\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n</div>\n{% endfor %}\n<br>\n",
"default_contents": "<!-- Meta tag for tracking lecture progress -->\n{% lecture_completion_data %}\n\n<h2 class='section-title'>\n {{'courses.curriculum'|i18n}}\n</h2>\n<div class='next-lecture-wrapper'>\n <a class='btn btn-primary start-next-lecture' data-no-turbolink='true'>{{'courses.start_next_lecture'| i18n}} <span aria-hidden='true'>›</span></a>\n <span class='next-lecture-name hidden-sm'></span>\n</div>\n\n<!-- Lecture list on courses page (enrolled user) -->\n{% for lecture_section in course.ordered_published_lecture_sections %}\n<div class='row'>\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n <div class=\"section-days-to-drip\">\n <div class=\"section-days-logged-in\">\n {{'courses.available_in' | i18n}}\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n </div>\n <div class=\"section-days-logged-out\">\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n {{'courses.after_you_enroll' | i18n}}\n </div>\n </div>\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li class='section-item incomplete' data-lecture-id=\"{{lecture.id}}\">\n <a class='item' data-no-turbolink='true' href='{{course.path}}/lectures/{{lecture.id}}'>\n <span class='status-container'>\n <span class='status-icon'>\n \n </span>\n </span>\n <div class='title-container'>\n <div class='btn-primary btn-sm pull-right'>\n {{'courses.lecture_list_start' | i18n}}\n </div>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n <span class='lecture-name'>\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n\n </span>\n </div>\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n</div>\n{% endfor %}\n<br>\n",
"is_published": false,
"partial": true
},
"courses/partials/enrolled_course_sidebar": {
"contents": "<div class='course-sidebar'>\n <!-- Image & Title -->\n <img class='course-image' src='{{course.safe_image_url}}'>\n <h2>{{course.name}}</h2>\n <!-- Course Progress -->\n <div class='course-progress'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ course.report_card.percent_complete }}%;'></div>\n </div>\n <div class='small course-progress'>\n <span class='percentage'>\n {{ course.report_card.percent_complete }}%\n </span>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n <ul class='sidebar-nav'>\n {% include \"courses/partials/enrolled_course_sidebar_nav\" %}\n </ul>\n</div>\n",
"default_contents": "<div class='course-sidebar'>\n <!-- Image & Title -->\n <img class='course-image' src='{{course.safe_image_url}}'>\n <h2>{{course.name}}</h2>\n <!-- Course Progress -->\n <div class='course-progress'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ course.report_card.percent_complete }}%;'></div>\n </div>\n <div class='small course-progress'>\n <span class='percentage'>\n {{ course.report_card.percent_complete }}%\n </span>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n <ul class='sidebar-nav'>\n {% include \"courses/partials/enrolled_course_sidebar_nav\" %}\n </ul>\n</div>\n",
"is_published": false,
"partial": true
},
"courses/partials/child_course": {
"contents": "<!-- Bundle Course -->\n<div class='course-listing bundle' data-course-url=\"{{child_course.path}}\">\n <div class='row'>\n <div class='col-lg-12'>\n <!-- Course Image, Name & Subtitle (everyone) -->\n <div class='course-box-image-container'>\n <img class='course-box-image' src='{{child_course.safe_image_url}}'>\n </div>\n <div class='course-listing-title'>\n {{ child_course.name }}\n </div>\n {% if child_course.report_card.enrolled? %}\n <!-- Progress bar (enrolled users) -->\n <div class='col-xs-12'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ child_course.report_card.percent_complete }}%;'></div>\n </div>\n </div>\n {% else %}\n <!-- Subtitle (unenrolled users) -->\n <div class='course-listing-subtitle'>\n {{ child_course.heading}}\n </div>\n {% endif %}\n </div>\n </div>\n <div class='row course-listing-extra-info col-xs-12'>\n <div class='col-xs-9'>\n <!-- Bundle Info (everyone) -->\n {% if child_course.bundle? %}\n <div class='small course-bundle'>\n {{child_course.child_courses.size}} {{'courses.bundle_size'|i18n}}\n </div>\n {% else %}\n <!-- Author Image and Name (everyone) -->\n <img align='left' class='img-circle' src='{{child_course.author_bio.safe_profile_image_url}}'>\n <div class='small course-author-name'>\n {{ child_course.author_bio.name }}\n </div>\n {% endif %}\n </div>\n {% if child_course.report_card.enrolled? %}\n <!-- Progress percentage (enrolled users) -->\n <div class='col-xs-3'>\n <div class='small course-progress'>\n <span class='percentage'>\n {{ child_course.report_card.percent_complete }}%\n </span>\n <br>\n COMPLETE\n </div>\n </div>\n {% else %}\n <!-- Price (unenrolled users) -->\n <div class='col-xs-3'>\n <div class='small course-price'>\n {{ child_course.default_product.formatted_price }}\n </div>\n </div>\n {% endif %}\n </div>\n</div>\n",
"default_contents": "<!-- Bundle Course -->\n<div class='course-listing bundle' data-course-url=\"{{child_course.path}}\">\n <div class='row'>\n <div class='col-lg-12'>\n <!-- Course Image, Name & Subtitle (everyone) -->\n <div class='course-box-image-container'>\n <img class='course-box-image' src='{{child_course.safe_image_url}}'>\n </div>\n <div class='course-listing-title'>\n {{ child_course.name }}\n </div>\n {% if child_course.report_card.enrolled? %}\n <!-- Progress bar (enrolled users) -->\n <div class='col-xs-12'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ child_course.report_card.percent_complete }}%;'></div>\n </div>\n </div>\n {% else %}\n <!-- Subtitle (unenrolled users) -->\n <div class='course-listing-subtitle'>\n {{ child_course.heading}}\n </div>\n {% endif %}\n </div>\n </div>\n <div class='row course-listing-extra-info col-xs-12'>\n <div class='col-xs-9'>\n <!-- Bundle Info (everyone) -->\n {% if child_course.bundle? %}\n <div class='small course-bundle'>\n {{child_course.child_courses.size}} {{'courses.bundle_size'|i18n}}\n </div>\n {% else %}\n <!-- Author Image and Name (everyone) -->\n <img align='left' class='img-circle' src='{{child_course.author_bio.safe_profile_image_url}}'>\n <div class='small course-author-name'>\n {{ child_course.author_bio.name }}\n </div>\n {% endif %}\n </div>\n {% if child_course.report_card.enrolled? %}\n <!-- Progress percentage (enrolled users) -->\n <div class='col-xs-3'>\n <div class='small course-progress'>\n <span class='percentage'>\n {{ child_course.report_card.percent_complete }}%\n </span>\n <br>\n COMPLETE\n </div>\n </div>\n {% else %}\n <!-- Price (unenrolled users) -->\n <div class='col-xs-3'>\n <div class='small course-price'>\n {{ child_course.default_product.formatted_price }}\n </div>\n </div>\n {% endif %}\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"courses/partials/course_box": {
"contents": "<!-- Course Listing -->\n<div class='col-xs-12 col-sm-6 col-md-4'>\n <div data-course-id=\"{{course_box.id}}\" data-course-url=\"{{course_box.course_link_for_user}}\", class='course-listing' >\n <div class='row'>\n <a href=\"{{course_box.course_link_for_user}}\" data-role=\"course-box-link\">\n <div class='col-lg-12'>\n <!-- Course Image, Name & Subtitle (everyone) -->\n <div class='course-box-image-container'>\n <img class='course-box-image' src='{{course_box.safe_image_url }}' role=\"presentation\">\n </div>\n <div class='course-listing-title'>\n {{ course_box.name }}\n </div>\n <!-- Progress bar (enrolled users) -->\n <div class='col-xs-12 hidden'>\n <div class='progressbar'>\n <div class='progressbar-fill'></div>\n </div>\n </div>\n <!-- Subtitle (unenrolled users) -->\n <div class='course-listing-subtitle'>\n {{ course_box.heading}}\n </div>\n </div>\n </a>\n </div>\n <div class='course-listing-extra-info col-xs-12'>\n <div class='pull-left'>\n <!-- Bundle Info (everyone) -->\n {% if course_box.bundle? %}\n <div class='small course-bundle'>\n {{course_box.bundled_courses_count}} {{'courses.bundle_size'|i18n}}\n </div>\n {% else %}\n <!-- Author Image and Name (everyone) -->\n <img align='left' class='img-circle' src='{{course_box.author_bio.profile_image_thumb_url}}' alt=\"{{ course_box.author_bio.name }}\">\n <div class='small course-author-name'>\n {{ course_box.author_bio.name }}\n </div>\n {% endif %}\n </div>\n <!-- Progress percentage (enrolled users) -->\n <div class='pull-right hidden'>\n <div class='small course-progress'>\n <span class='percentage' data-course-id=\"{{course_box.id}}\">\n %\n </span>\n <br>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n <!-- Price (unenrolled users) -->\n <div class='pull-right'>\n <div class='small course-price' id=\"course-box-price-product-{{course_box.default_product.id}}\">\n {{ course_box.default_product.formatted_price }}\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"default_contents": "<!-- Course Listing -->\n<div class='col-xs-12 col-sm-6 col-md-4'>\n <div data-course-id=\"{{course_box.id}}\" data-course-url=\"{{course_box.course_link_for_user}}\", class='course-listing' >\n <div class='row'>\n <a href=\"{{course_box.course_link_for_user}}\" data-role=\"course-box-link\">\n <div class='col-lg-12'>\n <!-- Course Image, Name & Subtitle (everyone) -->\n <div class='course-box-image-container'>\n <img class='course-box-image' src='{{course_box.safe_image_url }}' role=\"presentation\">\n </div>\n <div class='course-listing-title'>\n {{ course_box.name }}\n </div>\n <!-- Progress bar (enrolled users) -->\n <div class='col-xs-12 hidden'>\n <div class='progressbar'>\n <div class='progressbar-fill'></div>\n </div>\n </div>\n <!-- Subtitle (unenrolled users) -->\n <div class='course-listing-subtitle'>\n {{ course_box.heading}}\n </div>\n </div>\n </a>\n </div>\n <div class='course-listing-extra-info col-xs-12'>\n <div class='pull-left'>\n <!-- Bundle Info (everyone) -->\n {% if course_box.bundle? %}\n <div class='small course-bundle'>\n {{course_box.bundled_courses_count}} {{'courses.bundle_size'|i18n}}\n </div>\n {% else %}\n <!-- Author Image and Name (everyone) -->\n <img align='left' class='img-circle' src='{{course_box.author_bio.profile_image_thumb_url}}' alt=\"{{ course_box.author_bio.name }}\">\n <div class='small course-author-name'>\n {{ course_box.author_bio.name }}\n </div>\n {% endif %}\n </div>\n <!-- Progress percentage (enrolled users) -->\n <div class='pull-right hidden'>\n <div class='small course-progress'>\n <span class='percentage' data-course-id=\"{{course_box.id}}\">\n %\n </span>\n <br>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n <!-- Price (unenrolled users) -->\n <div class='pull-right'>\n <div class='small course-price' id=\"course-box-price-product-{{course_box.default_product.id}}\">\n {{ course_box.default_product.formatted_price }}\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"courses/partials/not_enrolled": {
"contents": "<div class='page_div not-enrolled-page'>\n <div class='container not-enrolled-container'>\n <div class='row'>\n <div class='col-lg-8 col-lg-offset-2'>\n <div class='not-enrolled-box'>\n <center>\n {{ 'courses.sign_in_to_view_courses'|i18n}}\n <br>\n <br>\n <a class='btn btn-primary btn-info not-enrolled-link' href='/users/sign_in'>\n {{ 'header.sign_in'|i18n}}\n </a>\n <a class='btn btn-primary not-enrolled-link' href='/users/sign_up'>\n {{ 'header.sign_up'|i18n}}\n </a>\n </center>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='page_div not-enrolled-page'>\n <div class='container not-enrolled-container'>\n <div class='row'>\n <div class='col-lg-8 col-lg-offset-2'>\n <div class='not-enrolled-box'>\n <center>\n {{ 'courses.sign_in_to_view_courses'|i18n}}\n <br>\n <br>\n <a class='btn btn-primary btn-info not-enrolled-link' href='/users/sign_in'>\n {{ 'header.sign_in'|i18n}}\n </a>\n <a class='btn btn-primary not-enrolled-link' href='/users/sign_up'>\n {{ 'header.sign_up'|i18n}}\n </a>\n </center>\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"layouts/scheduled_maintenance": {
"contents": "<!DOCTYPE html>\n<html class=\"full-height\">\n {% include \"layouts/partials/scheduled_maintenance\" %}\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html class=\"full-height\">\n {% include \"layouts/partials/scheduled_maintenance\" %}\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/unlaunched_school": {
"contents": "<!DOCTYPE html>\n<html class=\"full-height\">\n {% include \"layouts/partials/unlaunched_school\" %}\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html class=\"full-height\">\n {% include \"layouts/partials/unlaunched_school\" %}\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/blog": {
"contents": "<!DOCTYPE html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body>\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% if site.show_header %}\n {% include \"layouts/partials/header\" %}\n {% endif %}\n <div class='view-school'>\n {% include \"blog/partials/header\" %}\n <div class=\"blog-container\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-sm-9\">\n {{ content_for_layout }}\n </div>\n <div class=\"col-sm-3\">\n {% include \"blog/partials/sidebar\" %}\n </div>\n </div>\n </div>\n </div>\n {% if site.show_footer %}\n {% include \"layouts/partials/footer\" %}\n {% endif %}\n </div>\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body>\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% if site.show_header %}\n {% include \"layouts/partials/header\" %}\n {% endif %}\n <div class='view-school'>\n {% include \"blog/partials/header\" %}\n <div class=\"blog-container\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-sm-9\">\n {{ content_for_layout }}\n </div>\n <div class=\"col-sm-3\">\n {% include \"blog/partials/sidebar\" %}\n </div>\n </div>\n </div>\n </div>\n {% if site.show_footer %}\n {% include \"layouts/partials/footer\" %}\n {% endif %}\n </div>\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/blank": {
"contents": "<!DOCTYPE html>\n<html>\n <head>\n <style>\n body {\n font-family: Helvetica;\n padding: 20px;\n }\n </style>\n {% include \"layouts/partials/head\" %}\n </head>\n <body data-no-turbolink=\"true\">\n {{ content_for_layout }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html>\n <head>\n <style>\n body {\n font-family: Helvetica;\n padding: 20px;\n }\n </style>\n {% include \"layouts/partials/head\" %}\n </head>\n <body data-no-turbolink=\"true\">\n {{ content_for_layout }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/enrolled_course": {
"contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body class='body-content-view'>\n {% site_meta %}\n {% cache 'course_header', course %}\n {{ site.body_prepend_js }}\n {% include \"courses/partials/enrolled_course_header\" %}\n {% include \"courses/partials/enrolled_course_sidebar\" %}\n {% endcache %}\n <div class='course-mainbar' style='display: block;'>\n {{ content_for_layout }}\n </div>\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body class='body-content-view'>\n {% site_meta %}\n {% cache 'course_header', course %}\n {{ site.body_prepend_js }}\n {% include \"courses/partials/enrolled_course_header\" %}\n {% include \"courses/partials/enrolled_course_sidebar\" %}\n {% endcache %}\n <div class='course-mainbar' style='display: block;'>\n {{ content_for_layout }}\n </div>\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/lecture": {
"contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n\n <body data-no-turbolink=\"true\">\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% include \"lectures/partials/lecture_header\" %}\n {% include \"lectures/partials/lecture_sidebar\" %}\n {{ content_for_layout }}\n {% include \"lectures/partials/lecture_footer\" %}\n {{ site.body_append_js }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n\n <body data-no-turbolink=\"true\">\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% include \"lectures/partials/lecture_header\" %}\n {% include \"lectures/partials/lecture_sidebar\" %}\n {{ content_for_layout }}\n {% include \"lectures/partials/lecture_footer\" %}\n {{ site.body_append_js }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/current_user": {
"contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/secure_head\" %}\n {% site_meta %}\n </head>\n <body data-no-turbolink=\"true\">\n {{ content_for_layout }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/secure_head\" %}\n {% site_meta %}\n </head>\n <body data-no-turbolink=\"true\">\n {{ content_for_layout }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/application": {
"contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body>\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% if site.show_header %}\n {% include \"layouts/partials/header\" %}\n <div role=\"main\" class='view-school'>\n {% endif %}\n {{ content_for_layout }}\n {% if site.show_footer %}\n {% include \"layouts/partials/footer\" %}\n {% endif %}\n {% if site.show_header %}\n </div>\n {% endif %}\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"default_contents": "<!DOCTYPE html>\n<html>\n <head>\n {% include \"layouts/partials/head\" %}\n </head>\n <body>\n {% site_meta %}\n {{ site.body_prepend_js }}\n {% if site.show_header %}\n {% include \"layouts/partials/header\" %}\n <div role=\"main\" class='view-school'>\n {% endif %}\n {{ content_for_layout }}\n {% if site.show_footer %}\n {% include \"layouts/partials/footer\" %}\n {% endif %}\n {% if site.show_header %}\n </div>\n {% endif %}\n {{ site.body_append_js }}\n {{ site.footer_includes }}\n </body>\n</html>\n",
"is_published": false,
"partial": false
},
"layouts/partials/header": {
"contents": "<!-- HEADER -->\n<header class=''>\n <!-- Navbar -->\n <div\n class=\"navbar navbar-fedora navbar-fixed-top is-at-top bs-docs-nav {{ site.context_css_classes }}{% if live_preview and site.show_header == false %} hide{% endif %}\"\n id='navbar'\n role='navigation'>\n <div class='container'>\n <div class='navbar-header navbar-header-courses'>\n <button class='navbar-toggle' data-target='.navbar-header-collapse' data-toggle='collapse' type='button'>\n <span class='sr-only'>\n {{ 'common.toggle_nav' | i18n }}\n </span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n </button>\n <!-- Site logo -->\n {% if site.logo_url != null %}\n <a class='navbar-brand header-logo' href='{{current_school.url | school_link}}'>\n <img src=\"{{ site.logo_url }}\" alt=\"{{ current_school.name }}\" srcset=\"{{ site.logo_url_2x }} 2x\" />\n </a>\n {% else %}\n <a class='school-title navbar-brand' href='{{current_school.url | school_link}}'>\n {{ current_school.name}}\n </a>\n {% endif %}\n\n <!-- Header Menu -->\n <div class='collapse navbar-collapse navbar-header-collapse'>\n {% include \"layouts/partials/header_links\" %}\n </div>\n </div>\n </div>\n </div>\n</header>\n",
"default_contents": "<!-- HEADER -->\n<header class=''>\n <!-- Navbar -->\n <div\n class=\"navbar navbar-fedora navbar-fixed-top is-at-top bs-docs-nav {{ site.context_css_classes }}{% if live_preview and site.show_header == false %} hide{% endif %}\"\n id='navbar'\n role='navigation'>\n <div class='container'>\n <div class='navbar-header navbar-header-courses'>\n <button class='navbar-toggle' data-target='.navbar-header-collapse' data-toggle='collapse' type='button'>\n <span class='sr-only'>\n {{ 'common.toggle_nav' | i18n }}\n </span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n <span class='icon-bar'></span>\n </button>\n <!-- Site logo -->\n {% if site.logo_url != null %}\n <a class='navbar-brand header-logo' href='{{current_school.url | school_link}}'>\n <img src=\"{{ site.logo_url }}\" alt=\"{{ current_school.name }}\" srcset=\"{{ site.logo_url_2x }} 2x\" />\n </a>\n {% else %}\n <a class='school-title navbar-brand' href='{{current_school.url | school_link}}'>\n {{ current_school.name}}\n </a>\n {% endif %}\n\n <!-- Header Menu -->\n <div class='collapse navbar-collapse navbar-header-collapse'>\n {% include \"layouts/partials/header_links\" %}\n </div>\n </div>\n </div>\n </div>\n</header>\n",
"is_published": false,
"partial": true
},
"layouts/partials/header_links": {
"contents": "<ul class='nav navbar-nav navbar-right'>\n {% include \"layouts/partials/header_admin_link\" %}\n {% for link in site.custom_header_links limit: 5 %}\n <li>\n {% if link.url == site.path %}\n <a class='fedora-navbar-link navbar-link current-page' href='{{ link.url | school_link}}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n {% else %}\n <a class='fedora-navbar-link navbar-link' href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n {% endif %}\n </li>\n {% endfor %}\n\n <!-- If more than 5 links, collapse the rest in a dropdown -->\n {% if site.custom_header_links.size > 5 %}\n <li>\n <a aria-expanded='false' aria-haspopup='true' class='fedora-navbar-link navbar-link dropdown-toggle' data-toggle='dropdown'>{{ 'header.more' | i18n }} <i class=\"caret\"></i> </a>\n <ul class='dropdown-menu'>\n {% for link in site.custom_header_links offset: 5 %}\n <li>\n <a href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n </li>\n {% endfor %}\n </ul>\n </li>\n {% endif %}\n\n {% if current_user %}\n <!-- User Menu -->\n <li class='dropdown'>\n {% include \"layouts/partials/user_menu\" %}\n </li>\n {% else %}\n {% if site.show_login %}\n <li>\n <a class='navbar-link fedora-navbar-link' href='{{\"/sign_in\" | school_link}}'>\n {{ 'header.sign_in' | i18n }}\n </a>\n </li>\n {% endif %}\n {% if site.show_signup %}\n <li>\n <a class='btn btn-primary pull-right btn-lg' id='header-sign-up-btn' href='{{\"/sign_up\" | school_link }}'>\n {{ 'header.sign_up' | i18n }}\n </a>\n </li>\n {% endif %}\n {% endif %}\n</ul>\n",
"default_contents": "<ul class='nav navbar-nav navbar-right'>\n {% include \"layouts/partials/header_admin_link\" %}\n {% for link in site.custom_header_links limit: 5 %}\n <li>\n {% if link.url == site.path %}\n <a class='fedora-navbar-link navbar-link current-page' href='{{ link.url | school_link}}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n {% else %}\n <a class='fedora-navbar-link navbar-link' href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n {% endif %}\n </li>\n {% endfor %}\n\n <!-- If more than 5 links, collapse the rest in a dropdown -->\n {% if site.custom_header_links.size > 5 %}\n <li>\n <a aria-expanded='false' aria-haspopup='true' class='fedora-navbar-link navbar-link dropdown-toggle' data-toggle='dropdown'>{{ 'header.more' | i18n }} <i class=\"caret\"></i> </a>\n <ul class='dropdown-menu'>\n {% for link in site.custom_header_links offset: 5 %}\n <li>\n <a href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n </li>\n {% endfor %}\n </ul>\n </li>\n {% endif %}\n\n {% if current_user %}\n <!-- User Menu -->\n <li class='dropdown'>\n {% include \"layouts/partials/user_menu\" %}\n </li>\n {% else %}\n {% if site.show_login %}\n <li>\n <a class='navbar-link fedora-navbar-link' href='{{\"/sign_in\" | school_link}}'>\n {{ 'header.sign_in' | i18n }}\n </a>\n </li>\n {% endif %}\n {% if site.show_signup %}\n <li>\n <a class='btn btn-primary pull-right btn-lg' id='header-sign-up-btn' href='{{\"/sign_up\" | school_link }}'>\n {{ 'header.sign_up' | i18n }}\n </a>\n </li>\n {% endif %}\n {% endif %}\n</ul>\n",
"is_published": false,
"partial": true
},
"layouts/partials/header_admin_link": {
"contents": "{% if current_user.can_view_admin? %}\n <li>\n <a class='navbar-link fedora-navbar-link' data-no-turbolink='true' href='{{\"/admin\" | school_link}}'>\n {% if (current_user.is_author != true and current_user.is_affiliate != true) or (current_user.is_author and current_user.is_affiliate) %}\n {{ 'header.admin' | i18n }}\n {% else %}\n {{ current_user.role | capitalize }}\n {% endif %}\n </a>\n </li>\n{% endif %}\n",
"default_contents": "{% if current_user.can_view_admin? %}\n <li>\n <a class='navbar-link fedora-navbar-link' data-no-turbolink='true' href='{{\"/admin\" | school_link}}'>\n {% if (current_user.is_author != true and current_user.is_affiliate != true) or (current_user.is_author and current_user.is_affiliate) %}\n {{ 'header.admin' | i18n }}\n {% else %}\n {{ current_user.role | capitalize }}\n {% endif %}\n </a>\n </li>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"layouts/partials/user_menu": {
"contents": "<a aria-expanded='false' aria-haspopup='true' class='fedora-navbar-link navbar-link dropdown-toggle open-my-profile-dropdown' data-toggle='dropdown'>\n <img class='gravatar' src='{{current_user.gravatar_url}}' alt=\"{{current_user.email}}\">\n <span class='navbar-current-user'>{{ current_user.name }}</span>\n</a>\n<ul class='dropdown-menu'>\n <li class='user-profile'>\n <a href='{{\"/current_user/profile\" | school_link }}'>\n {{'common.edit_profile' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/subscriptions\" | school_link }}'>\n {{'common.manage_subscriptions' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/credit_card\" | school_link}}'>\n {{'common.add_change_credit_card' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/contact\" | school_link}}'>\n {{'common.contact_school' | i18n }}\n </a>\n </li>\n <li class='user-signout'>\n <a href='{{\"/sign_out\" | school_link}}'>\n {{'header.log_out' | i18n }}\n </a>\n </li>\n</ul>\n",
"default_contents": "<a aria-expanded='false' aria-haspopup='true' class='fedora-navbar-link navbar-link dropdown-toggle open-my-profile-dropdown' data-toggle='dropdown'>\n <img class='gravatar' src='{{current_user.gravatar_url}}' alt=\"{{current_user.email}}\">\n <span class='navbar-current-user'>{{ current_user.name }}</span>\n</a>\n<ul class='dropdown-menu'>\n <li class='user-profile'>\n <a href='{{\"/current_user/profile\" | school_link }}'>\n {{'common.edit_profile' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/subscriptions\" | school_link }}'>\n {{'common.manage_subscriptions' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/credit_card\" | school_link}}'>\n {{'common.add_change_credit_card' | i18n }}\n </a>\n </li>\n <li>\n <a href='{{\"/current_user/contact\" | school_link}}'>\n {{'common.contact_school' | i18n }}\n </a>\n </li>\n <li class='user-signout'>\n <a href='{{\"/sign_out\" | school_link}}'>\n {{'header.log_out' | i18n }}\n </a>\n </li>\n</ul>\n",
"is_published": false,
"partial": true
},
"layouts/partials/scheduled_maintenance": {
"contents": "<head>\n {{ site.css }}\n <title>Down for maintenance</title>\n <link href='https://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>\n</head>\n<body class=\"full-height\">\n <div class=\"maintenance-page\">\n {% if site.logo_url != null %}\n <img class=\"logo\" src='{{site.logo_url}}'>\n {% endif %}\n <div class=\"inner\">\n <div class=\"hero\" style=\"font-family: Handlee;\">\n <p>We are currently undergoing scheduled downtime for a technical upgrade.</p>\n <p>We'll be back within a couple hours.</p>\n <p>Thanks for your patience!</p>\n <p>- {{ current_school.name }}</p>\n </div>\n <br><br><br><br>\n <p class=\"half-opaque\"><a href=\"{{ secure_path }}users/sign_in\">Login as an administrator</a></p>\n </div>\n </div>\n</body>\n",
"default_contents": "<head>\n {{ site.css }}\n <title>Down for maintenance</title>\n <link href='https://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>\n</head>\n<body class=\"full-height\">\n <div class=\"maintenance-page\">\n {% if site.logo_url != null %}\n <img class=\"logo\" src='{{site.logo_url}}'>\n {% endif %}\n <div class=\"inner\">\n <div class=\"hero\" style=\"font-family: Handlee;\">\n <p>We are currently undergoing scheduled downtime for a technical upgrade.</p>\n <p>We'll be back within a couple hours.</p>\n <p>Thanks for your patience!</p>\n <p>- {{ current_school.name }}</p>\n </div>\n <br><br><br><br>\n <p class=\"half-opaque\"><a href=\"{{ secure_path }}users/sign_in\">Login as an administrator</a></p>\n </div>\n </div>\n</body>\n",
"is_published": false,
"partial": true
},
"layouts/partials/unlaunched_school": {
"contents": "<head>\n {{ site.css }}\n <title>{{ current_school.name }} | Launching soon</title>\n <link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>\n</head>\n<body class=\"full-height\">\n\n <div class=\"unlaunched-page\">\n <div class=\"inner\">\n {% if current_user %}\n <div class=\"logged-in-as-student\">\n You're logged into this school as a student, but the school has not yet launched. Click here to\n <a href='{{\"/sign_out\" | school_link}}'>{{'header.log_out' | i18n }}.</a>\n </div>\n {% endif %}\n <h1>{{ current_school.name }}</h1>\n <h2 class=\"launching-soon\">{{'homepage.launching_soon' | i18n}}</h2>\n\n <div class=\"bottom-wrapper\">\n <a href=\"{{ secure_path }}users/sign_in\" class=\"btn btn-sm btn-primary btn-admin\">Login as an administrator</a><br><br><br><br>\n {% unless site.turn_off_fedora_branding %}\n <a href=\"https://teachable.com/?src=unlaunched_page\" class=\"powered-by-wrapper\">This school will be powered by <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo'></a>\n {% endunless %}\n </div>\n </div>\n </div>\n <script>\n if (location.port) {\n var elem = document.getElementsByTagName('a')[0];\n elem.href = elem.href.replace('/secure', ':' + location.port + '/secure');\n }\n </script>\n</body>\n",
"default_contents": "<head>\n {{ site.css }}\n <title>{{ current_school.name }} | Launching soon</title>\n <link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>\n</head>\n<body class=\"full-height\">\n\n <div class=\"unlaunched-page\">\n <div class=\"inner\">\n {% if current_user %}\n <div class=\"logged-in-as-student\">\n You're logged into this school as a student, but the school has not yet launched. Click here to\n <a href='{{\"/sign_out\" | school_link}}'>{{'header.log_out' | i18n }}.</a>\n </div>\n {% endif %}\n <h1>{{ current_school.name }}</h1>\n <h2 class=\"launching-soon\">{{'homepage.launching_soon' | i18n}}</h2>\n\n <div class=\"bottom-wrapper\">\n <a href=\"{{ secure_path }}users/sign_in\" class=\"btn btn-sm btn-primary btn-admin\">Login as an administrator</a><br><br><br><br>\n {% unless site.turn_off_fedora_branding %}\n <a href=\"https://teachable.com/?src=unlaunched_page\" class=\"powered-by-wrapper\">This school will be powered by <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo'></a>\n {% endunless %}\n </div>\n </div>\n </div>\n <script>\n if (location.port) {\n var elem = document.getElementsByTagName('a')[0];\n elem.href = elem.href.replace('/secure', ':' + location.port + '/secure');\n }\n </script>\n</body>\n",
"is_published": false,
"partial": true
},
"layouts/partials/head": {
"contents": "{% favicons %}\n<meta charset=\"UTF-8\">\n{% csrf_meta_tags %}\n{{ site.css }}\n{{ site.meta_tags }}\n{{ site.custom_css}}\n<script src='//fast.wistia.com/assets/external/E-v1.js'></script>\n<script src='https://www.google.com/recaptcha/api.js' async defer></script>\n{{ site.js }}\n{{ site.head_prepend_js }}\n{{ site.header_includes }}\n{{ site.custom_page_head_code }}\n{{ site.head_append_js }}\n<link href=\"/blog/rss\" rel=\"alternate\" title=\"RSS Feed\" type=\"application/rss+xml\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n",
"default_contents": "{% favicons %}\n<meta charset=\"UTF-8\">\n{% csrf_meta_tags %}\n{{ site.css }}\n{{ site.meta_tags }}\n{{ site.custom_css}}\n<script src='//fast.wistia.com/assets/external/E-v1.js'></script>\n<script src='https://www.google.com/recaptcha/api.js' async defer></script>\n{{ site.js }}\n{{ site.head_prepend_js }}\n{{ site.header_includes }}\n{{ site.custom_page_head_code }}\n{{ site.head_append_js }}\n<link href=\"/blog/rss\" rel=\"alternate\" title=\"RSS Feed\" type=\"application/rss+xml\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n",
"is_published": false,
"partial": true
},
"layouts/partials/footer": {
"contents": "{% cache current_school %}\n<footer class='bottom-menu bottom-menu-inverse{% if live_preview and site.show_footer == false %} hide{% endif %}'>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n <p>\n {{'footer.copyright'|i18n}}\n {{current_school.name}}\n {{ 'now'|date: \"%Y\" }}\n </p>\n </div>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n <ul class='list-unstyled'>\n <li>\n <a href=\"{{'/p/terms' | school_link}}\">\n {{'common.terms'|i18n}}\n </a>\n </li>\n <li>\n <a href=\"{{'/p/privacy' | school_link}}\">\n {{'common.privacy_policy' | i18n}}\n </a>\n </li>\n </ul>\n </div>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n {% if site.custom_footer_links? %}\n <ul class='list-unstyled'>\n {% for link in site.custom_footer_links %}\n <li>\n <a href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n </li>\n {% endfor %}\n {% unless site.turn_off_fedora_branding %}\n <li>\n <a class='powered-by' href='https://teachable.com/?src=school_footer' style=\"visibility: visible !important;\">{{'common.powered_by'|i18n}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' alt=\"Teachable\"></a>\n </li>\n {% endunless %}\n </ul>\n {% endif %}\n {% unless site.custom_footer_links? %}\n {% unless site.turn_off_fedora_branding %}\n <ul class='list-unstyled'>\n <li>\n {% if site.brand_footer_link_text and site.brand_footer_link_url %}\n <a class='powered-by' href='{{ site.brand_footer_link_url }}?src=school_footer'>\n {{site.brand_footer_link_text}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' target=\"_blank\" alt=\"Teachable\">\n </a>\n {% else %}\n <a class='powered-by' href='https://teachable.com/?src=school_footer'>\n {{'common.powered_by'|i18n}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' target=\"_blank\" alt=\"Teachable\">\n </a>\n {% endif %}\n </li>\n </ul>\n {% endunless %}\n {% endunless %}\n </div>\n\n </div>\n </div>\n </div>\n</footer>\n{% endcache %}\n",
"default_contents": "{% cache current_school %}\n<footer class='bottom-menu bottom-menu-inverse{% if live_preview and site.show_footer == false %} hide{% endif %}'>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n <p>\n {{'footer.copyright'|i18n}}\n {{current_school.name}}\n {{ 'now'|date: \"%Y\" }}\n </p>\n </div>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n <ul class='list-unstyled'>\n <li>\n <a href=\"{{'/p/terms' | school_link}}\">\n {{'common.terms'|i18n}}\n </a>\n </li>\n <li>\n <a href=\"{{'/p/privacy' | school_link}}\">\n {{'common.privacy_policy' | i18n}}\n </a>\n </li>\n </ul>\n </div>\n <div class='col-xs-12 col-sm-4 col-md-4 footer-column'>\n {% if site.custom_footer_links? %}\n <ul class='list-unstyled'>\n {% for link in site.custom_footer_links %}\n <li>\n <a href='{{ link.url | school_link }}' target='{{link.target}}'>\n {{ link.text }}\n </a>\n </li>\n {% endfor %}\n {% unless site.turn_off_fedora_branding %}\n <li>\n <a class='powered-by' href='https://teachable.com/?src=school_footer' style=\"visibility: visible !important;\">{{'common.powered_by'|i18n}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' alt=\"Teachable\"></a>\n </li>\n {% endunless %}\n </ul>\n {% endif %}\n {% unless site.custom_footer_links? %}\n {% unless site.turn_off_fedora_branding %}\n <ul class='list-unstyled'>\n <li>\n {% if site.brand_footer_link_text and site.brand_footer_link_url %}\n <a class='powered-by' href='{{ site.brand_footer_link_url }}?src=school_footer'>\n {{site.brand_footer_link_text}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' target=\"_blank\" alt=\"Teachable\">\n </a>\n {% else %}\n <a class='powered-by' href='https://teachable.com/?src=school_footer'>\n {{'common.powered_by'|i18n}} <img src=\"{{'footer/teachable-logo-white.svg' | asset_path }}\" class='powered-by-logo' target=\"_blank\" alt=\"Teachable\">\n </a>\n {% endif %}\n </li>\n </ul>\n {% endunless %}\n {% endunless %}\n </div>\n\n </div>\n </div>\n </div>\n</footer>\n{% endcache %}\n",
"is_published": false,
"partial": true
},
"lectures/locked_drip": {
"contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content locked-drip\">\n <!-- Meta tag for tracking lecture progress -->\n {% lecture_completion_data %}\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/locked_drip\" %}\n</div>\n",
"default_contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content locked-drip\">\n <!-- Meta tag for tracking lecture progress -->\n {% lecture_completion_data %}\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/locked_drip\" %}\n</div>\n",
"is_published": false,
"partial": false
},
"lectures/show": {
"contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content\">\n <!-- Meta tag for tracking lecture progress -->\n {% lecture_completion_data %}\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/lecture_contents\" %}\n</div>\n",
"default_contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content\">\n <!-- Meta tag for tracking lecture progress -->\n {% lecture_completion_data %}\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/lecture_contents\" %}\n</div>\n",
"is_published": false,
"partial": false
},
"lectures/subscribe_to_view": {
"contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content\">\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/subscribe_to_view\" %}\n</div>\n",
"default_contents": "<!-- Lecture Content -->\n<div class=\"course-mainbar lecture-content\">\n {% include \"lectures/partials/lecture_title\" %}\n {% include \"lectures/partials/subscribe_to_view\" %}\n</div>\n",
"is_published": false,
"partial": false
},
"lectures/partials/attachment_html": {
"contents": "{{attachment.data_tag}}\n<div class=\"lecture-text-container\">\n<p>{{attachment.text}}</p>\n</div>\n",
"default_contents": "{{attachment.data_tag}}\n<div class=\"lecture-text-container\">\n<p>{{attachment.text}}</p>\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_pdf_embed": {
"contents": "{% if attachment.embeddable %}\n<div class='row attachment-pdf-embed'>\n <div class='col-xs-12'>\n <div class='label'>\n <i class='fa fa-paperclip'></i>\n {{attachment.name}}\n </div>\n <div class='wrapper'>\n <div\n data-pdfviewer\n data-pdfviewer-id=\"{{attachment.filepicker_id}}\"\n id=\"pdfViewer-{{attachment.filepicker_id}}\"\n ></div>\n </div>\n </div>\n</div>\n{% endif %}\n<div class='download-pdf'>\n {% if attachment.downloadable %}\n {% include \"lectures/partials/attachment_file\" %}\n {% endif %}\n</div>\n",
"default_contents": "{% if attachment.embeddable %}\n<div class='row attachment-pdf-embed'>\n <div class='col-xs-12'>\n <div class='label'>\n <i class='fa fa-paperclip'></i>\n {{attachment.name}}\n </div>\n <div class='wrapper'>\n <div\n data-pdfviewer\n data-pdfviewer-id=\"{{attachment.filepicker_id}}\"\n id=\"pdfViewer-{{attachment.filepicker_id}}\"\n ></div>\n </div>\n </div>\n</div>\n{% endif %}\n<div class='download-pdf'>\n {% if attachment.downloadable %}\n {% include \"lectures/partials/attachment_file\" %}\n {% endif %}\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/subscribe_to_view": {
"contents": "<div class='well locked'>\n <center>\n <div class='lecture-contents-locked'>\n <div class='locked-icon'>\n {% include \"lectures/partials/lock_seal\" %}\n </div>\n {{ 'lectures.content_locked' | i18n }}\n <div class='already-enrolled'>{{ 'lectures.if_you_are_enrolled' | i18n }} <a href='{{\"/sign_in\" | append: \"?origin_path=\" | append: lecture.url | school_link}}'>{{ 'lectures.you_will_need_to_login' | i18n }}</a>.</div>\n <a class='btn btn-md btn-primary btn-md' href='{{lecture.course.url}}' id='lecture-locked' title='{{lecture.course.name}}'>{{ 'lectures.enroll_in_course_to_unlock' | i18n }}</a>\n </div>\n </center>\n</div>\n",
"default_contents": "<div class='well locked'>\n <center>\n <div class='lecture-contents-locked'>\n <div class='locked-icon'>\n {% include \"lectures/partials/lock_seal\" %}\n </div>\n {{ 'lectures.content_locked' | i18n }}\n <div class='already-enrolled'>{{ 'lectures.if_you_are_enrolled' | i18n }} <a href='{{\"/sign_in\" | append: \"?origin_path=\" | append: lecture.url | school_link}}'>{{ 'lectures.you_will_need_to_login' | i18n }}</a>.</div>\n <a class='btn btn-md btn-primary btn-md' href='{{lecture.course.url}}' id='lecture-locked' title='{{lecture.course.name}}'>{{ 'lectures.enroll_in_course_to_unlock' | i18n }}</a>\n </div>\n </center>\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_code": {
"contents": "<div\n data-code-viewer\n data-code-viewer-code=\"{{ attachment.text | escape }}\"\n data-code-viewer-language=\"{{ attachment.code_syntax }}\"\n></div>\n",
"default_contents": "<div\n data-code-viewer\n data-code-viewer-code=\"{{ attachment.text | escape }}\"\n data-code-viewer-language=\"{{ attachment.code_syntax }}\"\n></div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/lecture_title": {
"contents": "<h2 id=\"lecture_heading\" class=\"section-title\" data-lecture-id=\"{{lecture.id}}\" data-next-lecture-id=\"{{next_lecture.id}}\" data-lecture-url=\"{{lecture.url}}\" data-next-lecture-url=\"{{next_lecture.url}}\", data-previous-lecture-url=\"{{previous_lecture.url}}\" data-previous-lecture-id=\"{{previous_lecture.id}}\" >\n <i class=\"fa {{lecture.icon}}\"></i>\n \n {{lecture.name}}\n</h2>\n",
"default_contents": "<h2 id=\"lecture_heading\" class=\"section-title\" data-lecture-id=\"{{lecture.id}}\" data-next-lecture-id=\"{{next_lecture.id}}\" data-lecture-url=\"{{lecture.url}}\" data-next-lecture-url=\"{{next_lecture.url}}\", data-previous-lecture-url=\"{{previous_lecture.url}}\" data-previous-lecture-id=\"{{previous_lecture.id}}\" >\n <i class=\"fa {{lecture.icon}}\"></i>\n \n {{lecture.name}}\n</h2>\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_video": {
"contents": "<!-- Attachment: Video -->\n{% if attachment.embeddable %}\n<div class=\"wistia_responsive_padding\">\n <div class=\"wistia_responsive_wrapper\">\n <div class='attachment-wistia-player stillSnap=false wistia_embed videoFoam=true' data-wistia-id='{{attachment.host_id}}' id='wistia-{{attachment.host_id}}' {% if attachment.thumbnail_url %} data-still-url='{{attachment.thumbnail_url}}' {% endif %} data-attachment-id='{{attachment.id}}'></div>\n </div>\n</div>\n{% endif %}\n\n<!-- Video actions -->\n{% if attachment.downloadable %}\n<div class='video-options'>\n {% if attachment.embeddable == false %}\n <p class=\"attachment-title\">Video: {{ attachment.name | replace: \".mp4\", \"\"}}</p>\n {% endif %}\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n aria-label=\"Download this video\"\n >\n <div class='span glyphicon glyphicon-save'></div>\n {{ 'lectures.download'|i18n }}\n </a>\n</div>\n{% endif %}\n",
"default_contents": "<!-- Attachment: Video -->\n{% if attachment.embeddable %}\n<div class=\"wistia_responsive_padding\">\n <div class=\"wistia_responsive_wrapper\">\n <div class='attachment-wistia-player stillSnap=false wistia_embed videoFoam=true' data-wistia-id='{{attachment.host_id}}' id='wistia-{{attachment.host_id}}' {% if attachment.thumbnail_url %} data-still-url='{{attachment.thumbnail_url}}' {% endif %} data-attachment-id='{{attachment.id}}'></div>\n </div>\n</div>\n{% endif %}\n\n<!-- Video actions -->\n{% if attachment.downloadable %}\n<div class='video-options'>\n {% if attachment.embeddable == false %}\n <p class=\"attachment-title\">Video: {{ attachment.name | replace: \".mp4\", \"\"}}</p>\n {% endif %}\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n aria-label=\"Download this video\"\n >\n <div class='span glyphicon glyphicon-save'></div>\n {{ 'lectures.download'|i18n }}\n </a>\n</div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"lectures/partials/locked_drip": {
"contents": "<div class='well locked'>\n <center>\n <div class='drip-lecture-locked'>\n <div class='locked-icon'>\n {% include \"lectures/partials/lock_seal\" %}\n </div>\n {{ 'lectures.content_locked' | i18n }}\n <div class='content-available-time'>\n {{ 'lectures.content_locked_drip' | i18n }}\n <span data-days-until-dripped='{{lecture.drip_days}}' data-is-dripped-by-date='{{lecture.dripped_by_date?}}' data-course-id='{{lecture.course.id}}'>\n <span class='section-days-to-drip-number'></span>\n {{'courses.days' | i18n}}\n </span>\n </div>\n </div>\n </center>\n</div>\n",
"default_contents": "<div class='well locked'>\n <center>\n <div class='drip-lecture-locked'>\n <div class='locked-icon'>\n {% include \"lectures/partials/lock_seal\" %}\n </div>\n {{ 'lectures.content_locked' | i18n }}\n <div class='content-available-time'>\n {{ 'lectures.content_locked_drip' | i18n }}\n <span data-days-until-dripped='{{lecture.drip_days}}' data-is-dripped-by-date='{{lecture.dripped_by_date?}}' data-course-id='{{lecture.course.id}}'>\n <span class='section-days-to-drip-number'></span>\n {{'courses.days' | i18n}}\n </span>\n </div>\n </div>\n </center>\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/lecture_settings": {
"contents": "<ul class=\"dropdown-menu left-caret\" role=\"menu\" aria-labelledby=\"settings_menu\">\n <!-- AUTOPLAY -->\n <li aria-label=\"menuitem\">\n <div class=\"switch\" id=\"switch-autoplay-lectures\">\n <input id=\"custom-toggle-autoplay\" class=\"custom-toggle custom-toggle-round\" name=\"toggle-autoplay\" type=\"checkbox\" aria-label=\"{{'lectures.setting_autoplay'|i18n}}\">\n <label for=\"custom-toggle-autoplay\"></label>\n </div>\n <span aria-labelledby=\"switch-autoplay-lectures\">{{'lectures.setting_autoplay'|i18n}}</span>\n </li>\n <!-- AUTOCOMPLETE -->\n <li aria-label=\"menuitem\">\n <div class=\"switch\" id=\"switch-autocomplete-lectures\">\n <input id=\"custom-toggle-autocomplete\" class=\"custom-toggle custom-toggle-round\" name=\"toggle-autocomplete\" type=\"checkbox\" aria-label=\"{{'lectures.setting_autocomplete'|i18n}}\">\n <label for=\"custom-toggle-autocomplete\"></label>\n </div>\n <span aria-labelledby=\"switch-autocomplete-lectures\">{{'lectures.setting_autocomplete'|i18n}}</span>\n </li>\n <!-- PLAYER TYPE -->\n <li aria-label=\"menuitem\">\n <div class=\"pull-right\">\n <div class=\"switch-toggle well\" id=\"switch-lecture-player\">\n <input id=\"toggle_html5\" name=\"custom-toggle-player\" type=\"radio\">\n <label for=\"toggle_html5\" onclick=\"\">HTML5</label>\n <input id=\"toggle_flash\" name=\"custom-toggle-player\" type=\"radio\">\n <label for=\"toggle_flash\" onclick=\"\">Flash</label>\n <a class=\"btn btn-primary\"></a>\n </div>\n </div>\n <span aria-labelledby=\"switch-lecture-player\">Player</span>\n </li>\n <!-- PLAYBACK SPEED -->\n <li aria-label=\"menuitem\">\n <div class=\"pull-right\">\n <button class=\"playback-speed\" role=\"button\">\n </button>\n </div>\n {{ 'lectures.setting_playbackspeed'|i18n }}\n </li>\n <!-- QUALITY: not working yet -->\n <!-- <li>\n <div class=\"pull-right\">\n <div class=\"switch-toggle switch-3 well\">\n <input id=\"auto\" name=\"quality\" type=\"radio\" checked>\n <label for=\"auto\" onclick=\"\">Auto</label>\n <input id=\"hd\" name=\"quality\" type=\"radio\">\n <label for=\"hd\" onclick=\"\">HD</label>\n <input id=\"sd\" name=\"quality\" type=\"radio\">\n <label for=\"sd\" onclick=\"\">SD</label>\n <a class=\"btn btn-primary\"></a>\n </div>\n </div>\n Quality\n </li> -->\n</ul>\n",
"default_contents": "<ul class=\"dropdown-menu left-caret\" role=\"menu\" aria-labelledby=\"settings_menu\">\n <!-- AUTOPLAY -->\n <li aria-label=\"menuitem\">\n <div class=\"switch\" id=\"switch-autoplay-lectures\">\n <input id=\"custom-toggle-autoplay\" class=\"custom-toggle custom-toggle-round\" name=\"toggle-autoplay\" type=\"checkbox\" aria-label=\"{{'lectures.setting_autoplay'|i18n}}\">\n <label for=\"custom-toggle-autoplay\"></label>\n </div>\n <span aria-labelledby=\"switch-autoplay-lectures\">{{'lectures.setting_autoplay'|i18n}}</span>\n </li>\n <!-- AUTOCOMPLETE -->\n <li aria-label=\"menuitem\">\n <div class=\"switch\" id=\"switch-autocomplete-lectures\">\n <input id=\"custom-toggle-autocomplete\" class=\"custom-toggle custom-toggle-round\" name=\"toggle-autocomplete\" type=\"checkbox\" aria-label=\"{{'lectures.setting_autocomplete'|i18n}}\">\n <label for=\"custom-toggle-autocomplete\"></label>\n </div>\n <span aria-labelledby=\"switch-autocomplete-lectures\">{{'lectures.setting_autocomplete'|i18n}}</span>\n </li>\n <!-- PLAYER TYPE -->\n <li aria-label=\"menuitem\">\n <div class=\"pull-right\">\n <div class=\"switch-toggle well\" id=\"switch-lecture-player\">\n <input id=\"toggle_html5\" name=\"custom-toggle-player\" type=\"radio\">\n <label for=\"toggle_html5\" onclick=\"\">HTML5</label>\n <input id=\"toggle_flash\" name=\"custom-toggle-player\" type=\"radio\">\n <label for=\"toggle_flash\" onclick=\"\">Flash</label>\n <a class=\"btn btn-primary\"></a>\n </div>\n </div>\n <span aria-labelledby=\"switch-lecture-player\">Player</span>\n </li>\n <!-- PLAYBACK SPEED -->\n <li aria-label=\"menuitem\">\n <div class=\"pull-right\">\n <button class=\"playback-speed\" role=\"button\">\n </button>\n </div>\n {{ 'lectures.setting_playbackspeed'|i18n }}\n </li>\n <!-- QUALITY: not working yet -->\n <!-- <li>\n <div class=\"pull-right\">\n <div class=\"switch-toggle switch-3 well\">\n <input id=\"auto\" name=\"quality\" type=\"radio\" checked>\n <label for=\"auto\" onclick=\"\">Auto</label>\n <input id=\"hd\" name=\"quality\" type=\"radio\">\n <label for=\"hd\" onclick=\"\">HD</label>\n <input id=\"sd\" name=\"quality\" type=\"radio\">\n <label for=\"sd\" onclick=\"\">SD</label>\n <a class=\"btn btn-primary\"></a>\n </div>\n </div>\n Quality\n </li> -->\n</ul>\n",
"is_published": false,
"partial": true
},
"lectures/partials/lecture_header": {
"contents": "<!-- Lecture Header -->\n<header class='full-width half-height {{ site.signed_in_class }}'>\n <div class='lecture-left'>\n <a class='nav-icon-back' aria-label='Back to course curriculum' data-no-turbolink=\"true\" role='button' href='{{lecture.course.path }}'>\n <i class='fa fa-angle-left' title='Back to course curriculum'></i>\n </a>\n <div class=\"dropdown settings-dropdown\" role='menubar'>\n <a href='#' class='nav-icon-settings dropdown-toggle' aria-label='Settings Menu' aria-haspopup='true' role='menuitem' id='settings_menu' data-toggle='dropdown'>\n <i class='fa fa-cog' title='Settings Menu'></i>\n </a>\n {% include \"lectures/partials/lecture_settings\" %}\n </div>\n <a class=\"nav-icon-list show-xs hidden-sm hidden-md hidden-lg collapsed\" aria-label='Course Sidebar' role=\"button\" data-toggle=\"collapse\" href=\"#courseSidebar\" aria-expanded=\"false\" aria-controls=\"courseSidebar\">\n <i class='fa fa-list' title='Course Sidebar'></i>\n </a>\n </div>\n {% cache \"lecture_footer\", lecture %}\n <div class='lecture-nav'>\n <a class='nav-btn' href='{{lecture.previous_lecture.url }}' role='button' id='lecture_previous_button'>\n <i class='fa fa-arrow-left' aria-hidden='true'></i>\n \n <span class='nav-text'>{{'lectures.previous_button'|i18n}}</span>\n </a>\n <a class='nav-btn complete' data-cpl-tooltip='{{\"lectures.content_progress_locked_tooltip\"|i18n}}' href='{{lecture.next_lecture.url}}' role='button' id='lecture_complete_button'>\n <span class='nav-text'>{{'lectures.complete_button'|i18n}}</span>\n \n <i class='fa fa-arrow-right' aria-hidden='true'></i>\n </a>\n </div>\n {% endcache %}\n</header>\n",
"default_contents": "<!-- Lecture Header -->\n<header class='full-width half-height {{ site.signed_in_class }}'>\n <div class='lecture-left'>\n <a class='nav-icon-back' aria-label='Back to course curriculum' data-no-turbolink=\"true\" role='button' href='{{lecture.course.path }}'>\n <i class='fa fa-angle-left' title='Back to course curriculum'></i>\n </a>\n <div class=\"dropdown settings-dropdown\" role='menubar'>\n <a href='#' class='nav-icon-settings dropdown-toggle' aria-label='Settings Menu' aria-haspopup='true' role='menuitem' id='settings_menu' data-toggle='dropdown'>\n <i class='fa fa-cog' title='Settings Menu'></i>\n </a>\n {% include \"lectures/partials/lecture_settings\" %}\n </div>\n <a class=\"nav-icon-list show-xs hidden-sm hidden-md hidden-lg collapsed\" aria-label='Course Sidebar' role=\"button\" data-toggle=\"collapse\" href=\"#courseSidebar\" aria-expanded=\"false\" aria-controls=\"courseSidebar\">\n <i class='fa fa-list' title='Course Sidebar'></i>\n </a>\n </div>\n {% cache \"lecture_footer\", lecture %}\n <div class='lecture-nav'>\n <a class='nav-btn' href='{{lecture.previous_lecture.url }}' role='button' id='lecture_previous_button'>\n <i class='fa fa-arrow-left' aria-hidden='true'></i>\n \n <span class='nav-text'>{{'lectures.previous_button'|i18n}}</span>\n </a>\n <a class='nav-btn complete' data-cpl-tooltip='{{\"lectures.content_progress_locked_tooltip\"|i18n}}' href='{{lecture.next_lecture.url}}' role='button' id='lecture_complete_button'>\n <span class='nav-text'>{{'lectures.complete_button'|i18n}}</span>\n \n <i class='fa fa-arrow-right' aria-hidden='true'></i>\n </a>\n </div>\n {% endcache %}\n</header>\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_native_comments": {
"contents": "{% include \"comments/index\" with attachment %}\n",
"default_contents": "{% include \"comments/index\" with attachment %}\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_audio": {
"contents": "{% if attachment.embeddable %}\n <div\n class=\"audioloader\"\n data-audioloader=\"{{attachment|json}}\"\n data-audioloader-name=\"{{attachment.name}}\"\n data-audioloader-type=\"{{attachment.content_type}}\"\n data-audioloader-url=\"{{attachment.url}}\"\n ></div>\n{% endif %}\n\n{% if attachment.downloadable %}\n {% if attachment.embeddable == false %}\n <p class=\"attachment-title\">Audiofile: {{ attachment.name }}</p>\n {% endif %}\n\n <div class='video-options'>\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n >\n <div class='span glyphicon glyphicon-save'></div> {{ 'lectures.download'|i18n }}\n </a>\n </div>\n{% endif %}\n",
"default_contents": "{% if attachment.embeddable %}\n <div\n class=\"audioloader\"\n data-audioloader=\"{{attachment|json}}\"\n data-audioloader-name=\"{{attachment.name}}\"\n data-audioloader-type=\"{{attachment.content_type}}\"\n data-audioloader-url=\"{{attachment.url}}\"\n ></div>\n{% endif %}\n\n{% if attachment.downloadable %}\n {% if attachment.embeddable == false %}\n <p class=\"attachment-title\">Audiofile: {{ attachment.name }}</p>\n {% endif %}\n\n <div class='video-options'>\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n >\n <div class='span glyphicon glyphicon-save'></div> {{ 'lectures.download'|i18n }}\n </a>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_disqus": {
"contents": "<!-- lecture comments -->\n\n{% if lecture.show_disqus? %}\n<div id='disqus_thread'></div>\n{{ lecture.disqus_comments }}\n{% endif %}\n",
"default_contents": "<!-- lecture comments -->\n\n{% if lecture.show_disqus? %}\n<div id='disqus_thread'></div>\n{{ lecture.disqus_comments }}\n{% endif %}\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_file": {
"contents": "<!-- Attachment: File -->\n<div class='row attachment'>\n {{ 'lectures.download'|i18n }}\n</div>\n<div class='row attachment'>\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n >\n <i aria-label=\"Download\" class='fa fa-paperclip'></i>\n {{attachment.name}}\n </a>\n</div>\n",
"default_contents": "<!-- Attachment: File -->\n<div class='row attachment'>\n {{ 'lectures.download'|i18n }}\n</div>\n<div class='row attachment'>\n <a\n class='download'\n href='{{attachment.url}}'\n target='_blank'\n download\n data-x-origin-download\n data-x-origin-download-name='{{attachment.name}}'\n >\n <i aria-label=\"Download\" class='fa fa-paperclip'></i>\n {{attachment.name}}\n </a>\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/lecture_sidebar": {
"contents": "<div class='course-sidebar lecture-page collapse navbar-collapse navbar-sidebar-collapse' id='courseSidebar'>\n <h2>{{course.name}}</h2>\n <!-- Course Progress -->\n {% if current_user && course.report_card.enrolled? %}\n <div class='course-progress lecture-page is-at-top'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ course.report_card.percent_complete }}%;'></div>\n </div>\n <div class='small course-progress-percentage'>\n <span class='percentage'>\n {{ course.report_card.percent_complete }}%\n </span>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n {% endif %}\n <!-- Lecture list on courses page (enrolled user) -->\n\n <div class='row lecture-sidebar'>\n {% for lecture_section in course.syllabus %}\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li data-lecture-id=\"{{lecture.id }}\" data-lecture-url='{{lecture.url}}' class='section-item incomplete'>\n <a class='item' data-no-turbolink='true' href='{{lecture.url}}' id='sidebar_link_{{lecture.id}}'>\n <span class='status-container'>\n <span class='status-icon'>\n \n </span>\n </span>\n <div class='title-container'>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n <span class='lecture-name'>\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n </span>\n </div>\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n {% endfor %}\n </div>\n</div>\n{{site.lecture_js }}\n",
"default_contents": "<div class='course-sidebar lecture-page collapse navbar-collapse navbar-sidebar-collapse' id='courseSidebar'>\n <h2>{{course.name}}</h2>\n <!-- Course Progress -->\n {% if current_user && course.report_card.enrolled? %}\n <div class='course-progress lecture-page is-at-top'>\n <div class='progressbar'>\n <div class='progressbar-fill' style='min-width: {{ course.report_card.percent_complete }}%;'></div>\n </div>\n <div class='small course-progress-percentage'>\n <span class='percentage'>\n {{ course.report_card.percent_complete }}%\n </span>\n {{'common.course_percent_complete'|i18n}}\n </div>\n </div>\n {% endif %}\n <!-- Lecture list on courses page (enrolled user) -->\n\n <div class='row lecture-sidebar'>\n {% for lecture_section in course.syllabus %}\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li data-lecture-id=\"{{lecture.id }}\" data-lecture-url='{{lecture.url}}' class='section-item incomplete'>\n <a class='item' data-no-turbolink='true' href='{{lecture.url}}' id='sidebar_link_{{lecture.id}}'>\n <span class='status-container'>\n <span class='status-icon'>\n \n </span>\n </span>\n <div class='title-container'>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n <span class='lecture-name'>\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n </span>\n </div>\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n {% endfor %}\n </div>\n</div>\n{{site.lecture_js }}\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_quiz": {
"contents": "<!-- Quiz attachment -->\n",
"default_contents": "<!-- Quiz attachment -->\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment_image": {
"contents": "<!-- Attachment: Image -->\n{% if attachment.downloadable %}\n {% include \"lectures/partials/attachment_file\" %}\n{% else %}\n {% if attachment.content_type == \"image/gif\" %}\n <img\n data-imageloader\n data-imageloader-src=\"{{attachment.url}}\"\n data-imageloader-skip-resize=\"true\"\n alt=\"{{attachment.name}}\"\n >\n {% else %}\n <img\n data-imageloader\n data-imageloader-src=\"{{attachment.url}}\"\n alt=\"{{attachment.name}}\"\n >\n {% endif %}\n{% endif %}\n",
"default_contents": "<!-- Attachment: Image -->\n{% if attachment.downloadable %}\n {% include \"lectures/partials/attachment_file\" %}\n{% else %}\n {% if attachment.content_type == \"image/gif\" %}\n <img\n data-imageloader\n data-imageloader-src=\"{{attachment.url}}\"\n data-imageloader-skip-resize=\"true\"\n alt=\"{{attachment.name}}\"\n >\n {% else %}\n <img\n data-imageloader\n data-imageloader-src=\"{{attachment.url}}\"\n alt=\"{{attachment.name}}\"\n >\n {% endif %}\n{% endif %}\n",
"is_published": false,
"partial": true
},
"lectures/partials/lecture_footer": {
"contents": "<!-- No lecture footer in the new redesign -->\n",
"default_contents": "<!-- No lecture footer in the new redesign -->\n",
"is_published": false,
"partial": true
},
"lectures/partials/attachment": {
"contents": "<div class='lecture-attachment lecture-attachment-type-{{attachment.kind}}'>\n <h1>{{attachment.id}} {{lecture.name}} {{ h1 }}</h1>\n {% if attachment.kind == \"file\" %}\n {% include \"lectures/partials/attachment_file\" %}\n {% elsif attachment.kind == \"video\" %}\n {% include \"lectures/partials/attachment_video\" %}\n {% elsif attachment.kind == \"image\" %}\n {% include \"lectures/partials/attachment_image\" %}\n {% elsif attachment.kind == \"audio\" %}\n {% include \"lectures/partials/attachment_audio\" %}\n {% elsif attachment.kind == \"html\" %}\n {% include \"lectures/partials/attachment_html\" %}\n {% elsif attachment.kind == \"text\" %}\n {% include \"lectures/partials/attachment_html\" %}\n {% elsif attachment.kind == \"quiz\" %}\n {% include \"lectures/partials/attachment_quiz\" %}\n {% elsif attachment.kind == \"disqus\" %}\n {% include \"lectures/partials/attachment_disqus\" %}\n {% elsif attachment.kind == \"code_embed\" %}\n {% include \"lectures/partials/attachment_code\" %}\n {% elsif attachment.kind == \"code_display\" %}\n {% include \"lectures/partials/attachment_code\" %}\n {% endif %}\n</div>\n",
"default_contents": "<div class='lecture-attachment lecture-attachment-type-{{attachment.kind}}'>\n <h1>{{attachment.id}} {{lecture.name}} {{ h1 }}</h1>\n {% if attachment.kind == \"file\" %}\n {% include \"lectures/partials/attachment_file\" %}\n {% elsif attachment.kind == \"video\" %}\n {% include \"lectures/partials/attachment_video\" %}\n {% elsif attachment.kind == \"image\" %}\n {% include \"lectures/partials/attachment_image\" %}\n {% elsif attachment.kind == \"audio\" %}\n {% include \"lectures/partials/attachment_audio\" %}\n {% elsif attachment.kind == \"html\" %}\n {% include \"lectures/partials/attachment_html\" %}\n {% elsif attachment.kind == \"text\" %}\n {% include \"lectures/partials/attachment_html\" %}\n {% elsif attachment.kind == \"quiz\" %}\n {% include \"lectures/partials/attachment_quiz\" %}\n {% elsif attachment.kind == \"disqus\" %}\n {% include \"lectures/partials/attachment_disqus\" %}\n {% elsif attachment.kind == \"code_embed\" %}\n {% include \"lectures/partials/attachment_code\" %}\n {% elsif attachment.kind == \"code_display\" %}\n {% include \"lectures/partials/attachment_code\" %}\n {% endif %}\n</div>\n",
"is_published": false,
"partial": true
},
"lectures/partials/lock_seal": {
"contents": "<div class='lecture-lock-seal'>\n <div class='lecture-lock-seal-lock-icon'>\n <div class='main'></div>\n </div>\n</div>",
"default_contents": "<div class='lecture-lock-seal'>\n <div class='lecture-lock-seal-lock-icon'>\n <div class='main'></div>\n </div>\n</div>",
"is_published": false,
"partial": true
},
"author_bios/show": {
"contents": "<div class=\"row\">\n <div class=\"col-md-12 col-lg-12\">\n <h1 class=\"lead \"><p class=\"text-center\">Editing <%= link_to @school.name, staff_school_path(@school) %></p>\n </h1>\n </div>\n</div>\n",
"default_contents": "<div class=\"row\">\n <div class=\"col-md-12 col-lg-12\">\n <h1 class=\"lead \"><p class=\"text-center\">Editing <%= link_to @school.name, staff_school_path(@school) %></p>\n </h1>\n </div>\n</div>\n",
"is_published": false,
"partial": false
},
"pages/partials/block_creator_product_checkout_testimonials": {
"contents": "{% if block.data.testimonials_heading %}\n <h2 class=\"list-heading\">{{ block.data.testimonials_heading }}</h2>\n{% endif %}\n\n{% if block.data.testimonial_1_body and block.data.testimonial_1_body != \"\" %}\n <div class=\"checkout-testimonial\">\n {% if block.data.testimonial_1_image_url %}\n <img class=\"testimonial-photo\" src=\"{{ block.data.testimonial_1_image_url }}\">\n {% endif %}\n <div class=\"testimonial-body\">\n <div class=\"testimonial-quote testimonial-quote-start\"> </div>\n {{ block.data.testimonial_1_body }}\n <p class=\"testimonial-person\">— {{ block.data.testimonial_1_name }}</p>\n </div>\n </div>\n{% endif %}\n\n{% if block.data.testimonial_2_body and block.data.testimonial_2_body != \"\" %}\n <div class=\"checkout-testimonial\">\n {% if block.data.testimonial_2_image_url %}\n <img class=\"testimonial-photo\" src=\"{{ block.data.testimonial_2_image_url }}\">\n {% endif %}\n <div class=\"testimonial-body\">\n <div class=\"testimonial-quote testimonial-quote-start\"> </div>\n {{ block.data.testimonial_2_body }}\n <p class=\"testimonial-person\">— {{ block.data.testimonial_2_name }}</p>\n </div>\n </div>\n{% endif %}\n\n{% if block.data.testimonials_heading or (block.data.testimonial_2_body and block.data.testimonial_2_body != \"\") or (block.data.testimonial_2_body and block.data.testimonial_2_body != \"\") %}\n <hr>\n{% endif %}\n",
"default_contents": "{% if block.data.testimonials_heading %}\n <h2 class=\"list-heading\">{{ block.data.testimonials_heading }}</h2>\n{% endif %}\n\n{% if block.data.testimonial_1_body and block.data.testimonial_1_body != \"\" %}\n <div class=\"checkout-testimonial\">\n {% if block.data.testimonial_1_image_url %}\n <img class=\"testimonial-photo\" src=\"{{ block.data.testimonial_1_image_url }}\">\n {% endif %}\n <div class=\"testimonial-body\">\n <div class=\"testimonial-quote testimonial-quote-start\"> </div>\n {{ block.data.testimonial_1_body }}\n <p class=\"testimonial-person\">— {{ block.data.testimonial_1_name }}</p>\n </div>\n </div>\n{% endif %}\n\n{% if block.data.testimonial_2_body and block.data.testimonial_2_body != \"\" %}\n <div class=\"checkout-testimonial\">\n {% if block.data.testimonial_2_image_url %}\n <img class=\"testimonial-photo\" src=\"{{ block.data.testimonial_2_image_url }}\">\n {% endif %}\n <div class=\"testimonial-body\">\n <div class=\"testimonial-quote testimonial-quote-start\"> </div>\n {{ block.data.testimonial_2_body }}\n <p class=\"testimonial-person\">— {{ block.data.testimonial_2_name }}</p>\n </div>\n </div>\n{% endif %}\n\n{% if block.data.testimonials_heading or (block.data.testimonial_2_body and block.data.testimonial_2_body != \"\") or (block.data.testimonial_2_body and block.data.testimonial_2_body != \"\") %}\n <hr>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_curriculum_section": {
"contents": "<div class='row'>\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n <div class=\"section-days-to-drip\">\n <div class=\"section-days-logged-in\">\n {{'courses.available_in' | i18n}}\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n </div>\n <div class=\"section-days-logged-out\">\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n {{'courses.after_you_enroll' | i18n}}\n </div>\n </div>\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li class='section-item'>\n <a class='item' href='{{lecture.url}}'>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n {% if lecture.free_preview %}\n <div class='btn-primary btn-sm pull-right lecture-preview'>\n {{'courses.lecture_list_preview'|i18n}}\n </div>\n {% else %}\n <div class='btn-primary btn-sm pull-right lecture-start'>\n {{'courses.lecture_list_start'|i18n}}\n </div>\n {% endif %}\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n</div>\n",
"default_contents": "<div class='row'>\n <div class='col-sm-12 course-section'>\n <div class='section-title' data-release-date=\"{{lecture_section.release_date}}\" data-days-until-dripped=\"{{lecture_section.days}}\" data-is-dripped-by-date=\"{{lecture_section.is_dripped_by_date}}\" data-course-id=\"{{course.id}}\">\n <span class=\"section-lock\">\n <i class=\"fa fa-lock\"></i> \n </span>\n {{ lecture_section.name }}\n <div class=\"section-days-to-drip\">\n <div class=\"section-days-logged-in\">\n {{'courses.available_in' | i18n}}\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n </div>\n <div class=\"section-days-logged-out\">\n <span class=\"section-days-to-drip-number\"></span>\n {{'courses.days' | i18n}}\n {{'courses.after_you_enroll' | i18n}}\n </div>\n </div>\n </div>\n <ul class='section-list'>\n {% for lecture in lecture_section.lectures %}\n <li class='section-item'>\n <a class='item' href='{{lecture.url}}'>\n <span class='lecture-icon'>\n <i class='fa {{lecture.icon}}'></i>\n </span>\n {% if lecture.free_preview %}\n <div class='btn-primary btn-sm pull-right lecture-preview'>\n {{'courses.lecture_list_preview'|i18n}}\n </div>\n {% else %}\n <div class='btn-primary btn-sm pull-right lecture-start'>\n {{'courses.lecture_list_start'|i18n}}\n </div>\n {% endif %}\n {{ lecture.name }}\n {% if lecture.formatted_duration != \"\" %}\n ({{ lecture.formatted_duration }})\n {% endif %}\n </a>\n </li>\n {% endfor %}\n </ul>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_bundle_contents": {
"contents": "{% if course.bundle? %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n {{'courses.included_with_purchase'|i18n}}\n </h2>\n <br>\n <br>\n <div class='row'>\n {% for child_course in course.child_courses %}\n <div class='col-xs-12 col-sm-12 col-md-6'>\n {% include \"courses/partials/child_course\" with child_course %}\n </div>\n {% endfor %}\n </div>\n <h3 class='text-center'>\n {{'courses.original_price'|i18n}}: {{ course.formatted_bundle_total }}\n </h3>\n <br>\n </div>\n </div>\n </div>\n{% endif %}\n",
"default_contents": "{% if course.bundle? %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n {{'courses.included_with_purchase'|i18n}}\n </h2>\n <br>\n <br>\n <div class='row'>\n {% for child_course in course.child_courses %}\n <div class='col-xs-12 col-sm-12 col-md-6'>\n {% include \"courses/partials/child_course\" with child_course %}\n </div>\n {% endfor %}\n </div>\n <h3 class='text-center'>\n {{'courses.original_price'|i18n}}: {{ course.formatted_bundle_total }}\n </h3>\n <br>\n </div>\n </div>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_rich_text": {
"contents": "<div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 course-description'>\n {% render_liquid %}\n {{ block.data.body }}\n {% endrender_liquid %}\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 course-description'>\n {% render_liquid %}\n {{ block.data.body }}\n {% endrender_liquid %}\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_purchase_confirmation": {
"contents": "<div class=\"row\">\n <div class=\"col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 text-center\">\n <h1>{{ block.data.message }}</h1>\n <br>\n <p>{{ 'checkout.your_order_id' | i18n}} <strong>{% if current_url.query_hash.sale_id %}{{ current_url.query_hash.sale_id }}{% else %}[ORDER_ID]{% endif %}</strong></p>\n <p>{{ 'checkout.receive_confirmation_at' | i18n}} <strong>{{ current_user.email }}</strong>.</p>\n <hr>\n </div>\n</div>\n",
"default_contents": "<div class=\"row\">\n <div class=\"col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 text-center\">\n <h1>{{ block.data.message }}</h1>\n <br>\n <p>{{ 'checkout.your_order_id' | i18n}} <strong>{% if current_url.query_hash.sale_id %}{{ current_url.query_hash.sale_id }}{% else %}[ORDER_ID]{% endif %}</strong></p>\n <p>{{ 'checkout.receive_confirmation_at' | i18n}} <strong>{{ current_user.email }}</strong>.</p>\n <hr>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_bio": {
"contents": "<div class='container'>\n <div class='row'>\n <div class='col-xs-1 visible-xs'></div>\n <div class='col-lg-8 col-lg-offset-2 col-xs-10 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1'>\n <h2>\n {{'courses.your_instructor'|i18n}}\n </h2>\n <br>\n <div class='row'>\n <div class='col-lg-3 col-md-4 col-sm-4 text-center'>\n <img class='large-img-rounded img-responsive' src='{{course.author_bio.profile_image_url}}' alt='{{course.author_bio.name}}'>\n <div class='author-name'>\n {{ course.author_bio.name }}\n </div>\n </div>\n <div class='col-lg-9 col-md-8 col-sm-8'>\n {{ course.author_bio.bio }}\n </div>\n </div>\n <br>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='container'>\n <div class='row'>\n <div class='col-xs-1 visible-xs'></div>\n <div class='col-lg-8 col-lg-offset-2 col-xs-10 col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1'>\n <h2>\n {{'courses.your_instructor'|i18n}}\n </h2>\n <br>\n <div class='row'>\n <div class='col-lg-3 col-md-4 col-sm-4 text-center'>\n <img class='large-img-rounded img-responsive' src='{{course.author_bio.profile_image_url}}' alt='{{course.author_bio.name}}'>\n <div class='author-name'>\n {{ course.author_bio.name }}\n </div>\n </div>\n <div class='col-lg-9 col-md-8 col-sm-8'>\n {{ course.author_bio.bio }}\n </div>\n </div>\n <br>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_creator_product_checkout_bullet_points": {
"contents": "{% if block.data.bullet_point_list and block.data.bullet_point_list.size > 0 %}\n {% if block.data.bullet_points_heading %}\n <h2 class=\"list-heading\">{{ block.data.bullet_points_heading }}</h2>\n {% endif %}\n <ul class=\"icon-list checkmark-list\">\n {% for bullet in block.data.bullet_point_list %}\n <li>{{ bullet.data.bullet_point_body }}</li>\n {% endfor %}\n </ul>\n <hr>\n{% endif %}\n",
"default_contents": "{% if block.data.bullet_point_list and block.data.bullet_point_list.size > 0 %}\n {% if block.data.bullet_points_heading %}\n <h2 class=\"list-heading\">{{ block.data.bullet_points_heading }}</h2>\n {% endif %}\n <ul class=\"icon-list checkmark-list\">\n {% for bullet in block.data.bullet_point_list %}\n <li>{{ bullet.data.bullet_point_body }}</li>\n {% endfor %}\n </ul>\n <hr>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_checkout": {
"contents": "<div class=\"checkout-cta\">\n {% if course.has_products? && course.is_open %}\n {% if course.show_purchase_buttons %}\n <h2>\n <!-- This is a final call-to-action that will say \"Join 2,000 students and get started now!\"\n or simply \"Get started now!\" if you have fewer than 100 students in the course -->\n {% if course.students.size > 100 %}\n {{ 'courses.cta_before_count'|i18n }} {{ course.students }} {{ 'courses.cta_after_count'|i18n }}\n {% else %}\n {{ 'courses.cta_no_count'|i18n }}\n {% endif %}\n </h2>\n {% endif %}\n {% else %}\n <h2 class=\"no-products\">\n {{ 'courses.no_products'|i18n }}\n </h2>\n {% endif %}\n</div>\n{% purchase_form %}\n\n{% if block.data.enroll_button_text %}\n<script>\n $(document).ready(function() {\n $(\"#enroll-button\").text('{{ block.data.enroll_button_text }}');\n });\n</script>\n{% endif %}\n",
"default_contents": "<div class=\"checkout-cta\">\n {% if course.has_products? && course.is_open %}\n {% if course.show_purchase_buttons %}\n <h2>\n <!-- This is a final call-to-action that will say \"Join 2,000 students and get started now!\"\n or simply \"Get started now!\" if you have fewer than 100 students in the course -->\n {% if course.students.size > 100 %}\n {{ 'courses.cta_before_count'|i18n }} {{ course.students }} {{ 'courses.cta_after_count'|i18n }}\n {% else %}\n {{ 'courses.cta_no_count'|i18n }}\n {% endif %}\n </h2>\n {% endif %}\n {% else %}\n <h2 class=\"no-products\">\n {{ 'courses.no_products'|i18n }}\n </h2>\n {% endif %}\n</div>\n{% purchase_form %}\n\n{% if block.data.enroll_button_text %}\n<script>\n $(document).ready(function() {\n $(\"#enroll-button\").text('{{ block.data.enroll_button_text }}');\n });\n</script>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_description_with_share_icons": {
"contents": "<div class='container'>\n <div class='row'>\n <div class='col-lg-2 col-md-2 hidden-sm hidden-xs' style=''>\n <center>\n <a href='https://www.facebook.com/{{current_school.facebook_username}}' target='_blank'>\n </a>\n <br>\n <a aria-label=\"Share on facebook\" href=\"https://www.facebook.com/sharer.php?u={{ course.url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook-square facebook-button'></i>\n </a>\n <br>\n <a aria-label=\"Share on twitter\" href=\"https://twitter.com/intent/tweet/?url={{course.url}}&text={{course.name}}:\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter-square twitter-button\"></i>\n </a>\n <br>\n <a aria-label=\"Share on google plus\" href=\"https://plus.google.com/share?url={{course.url}}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-google-plus-square google-plus-button\"></i></a>\n <br>\n <a aria-label=\"Share on linkedin\" href=\"http://www.linkedin.com/shareArticle?mini=true&url={{course.url}}&title={{course.name}}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-linkedin-square linkedin-button\"></i></a>\n </center>\n </div>\n <div class='col-xs-1 visible-xs'></div>\n <div class='col-lg-8 col-md-8 col-sm-10 col-lg-offset-0 col-md-offset-0 col-sm-offset-1 col-xs-10 course-description'>\n <p>\n <!-- course.description is deprecated,\n use the description field on this block instead -->\n {% if block.data.description %}\n {{ block.data.description }}\n {% else %}\n {{ course.description }}\n {% endif %}\n </p>\n <br>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='container'>\n <div class='row'>\n <div class='col-lg-2 col-md-2 hidden-sm hidden-xs' style=''>\n <center>\n <a href='https://www.facebook.com/{{current_school.facebook_username}}' target='_blank'>\n </a>\n <br>\n <a aria-label=\"Share on facebook\" href=\"https://www.facebook.com/sharer.php?u={{ course.url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook-square facebook-button'></i>\n </a>\n <br>\n <a aria-label=\"Share on twitter\" href=\"https://twitter.com/intent/tweet/?url={{course.url}}&text={{course.name}}:\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter-square twitter-button\"></i>\n </a>\n <br>\n <a aria-label=\"Share on google plus\" href=\"https://plus.google.com/share?url={{course.url}}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-google-plus-square google-plus-button\"></i></a>\n <br>\n <a aria-label=\"Share on linkedin\" href=\"http://www.linkedin.com/shareArticle?mini=true&url={{course.url}}&title={{course.name}}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-linkedin-square linkedin-button\"></i></a>\n </center>\n </div>\n <div class='col-xs-1 visible-xs'></div>\n <div class='col-lg-8 col-md-8 col-sm-10 col-lg-offset-0 col-md-offset-0 col-sm-offset-1 col-xs-10 course-description'>\n <p>\n <!-- course.description is deprecated,\n use the description field on this block instead -->\n {% if block.data.description %}\n {{ block.data.description }}\n {% else %}\n {{ course.description }}\n {% endif %}\n </p>\n <br>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_full_width_image": {
"contents": "<div class=\"full-width-image-bg\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n {{ block.body }}\n </div>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class=\"full-width-image-bg\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n {{ block.body }}\n </div>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_checkout_button": {
"contents": "<div class=\"full-width-image-bg\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2' style=\"text-align: center;\">\n {% enroll_or_scroll_button %}\n </div>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class=\"full-width-image-bg\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2' style=\"text-align: center;\">\n {% enroll_or_scroll_button %}\n </div>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_proceed_to_course_button": {
"contents": "<center>\n {% if block.data.course_link_override %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.data.course_link_override }}\">{{block.data.button_text}}</a>\n {% else %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.course.url }}\">{{block.data.button_text}}</a>\n {% endif %}\n</center>\n",
"default_contents": "<center>\n {% if block.data.course_link_override %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.data.course_link_override }}\">{{block.data.button_text}}</a>\n {% else %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.course.url }}\">{{block.data.button_text}}</a>\n {% endif %}\n</center>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_embedded_form": {
"contents": "<div class=\"full-width-image-bg embedded-form\n{% if block.data['background_image_url'] %}\n{% else %}\n background-not-set\n{% endif %}\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n {{ block.body }}\n </div>\n </div>\n</div>\n",
"default_contents": "<div class=\"full-width-image-bg embedded-form\n{% if block.data['background_image_url'] %}\n{% else %}\n background-not-set\n{% endif %}\" style='background:url(\"{{ block.data.background_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n <div class='container'>\n <div class='row'>\n {{ block.body }}\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_hero": {
"contents": "{% if block.data.hero_image_url %}\n <div class='course-top-row has-hero-image' style='background:url(\"{{ block.data.hero_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n{% else %}\n <div class='course-top-row'>\n{% endif %}\n <div class='container'>\n <div class='row'>\n <!-- Course Video/Image -->\n {% if course.promo_video_id and block.data.hero_image_url == null %}\n <div class='col-md-5 course-splash-media video'>\n {{ course.video }}\n </div>\n <div class='col-md-6 course-header-container'>\n {% elsif course.image_url %}\n <div class='col-md-5 course-splash-media'>\n <div class='img-rounded'>\n {{course.safe_image_url | image_tag }}\n </div>\n </div>\n <div class='col-md-6 course-header-container'>\n {% else %}\n <div class='col-md-12 text-center course-header-container'>\n {% endif %}\n <h1 class='course-title'>\n {{ course.name }}\n </h1>\n <h2 class='course-subtitle'>\n {{ course.heading }}\n </h2>\n {% if block.data.hero_image_url and course.promo_video_id %}\n <a class=\"btn btn-hg btn-white-border\" data-toggle=\"modal\" data-target=\"#promoModal\" id=\"watchpromo\"><i class='fa fa-play'></i> {{ 'courses.watch_promo_button' | i18n }}</a>\n {% endif %}\n <!-- Embeds a button that will go to checkout if the course has only a single product,\n or scroll to the product select form if there is more than one product -->\n {% enroll_or_scroll_button %}\n </div>\n </div>\n <!-- Pre-enrollment Form -->\n {% if course.is_open == false and course.is_accepting_preenrollments and block.data.hero_image_url %}\n <div class=\"row\">\n <div class=\"preenrollment-form-wrapper col-sm-10 col-sm-offset-1\">\n {% preenrollment_form %}\n </div>\n </div>\n {% endif %}\n </div>\n</div>\n\n<!-- Watch promo modal -->\n{% if course.promo_video_id %}\n <div id=\"promoModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"promoModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>\n <br><br>\n </div>\n <div class=\"modal-body\">\n <div class=\"row\">\n <div class='col-md-8 col-md-offset-2 course-splash-media video'>\n {{ course.video }}\n </div>\n </div>\n </div>\n </div>\n{% endif %}\n",
"default_contents": "{% if block.data.hero_image_url %}\n <div class='course-top-row has-hero-image' style='background:url(\"{{ block.data.hero_image_url }}\");'>\n <div class=\"black-overlay\" style=\"opacity: {% if block.data.background_opacity %}{{ block.data.background_opacity }}{% else %}0{% endif %};\"> </div>\n{% else %}\n <div class='course-top-row'>\n{% endif %}\n <div class='container'>\n <div class='row'>\n <!-- Course Video/Image -->\n {% if course.promo_video_id and block.data.hero_image_url == null %}\n <div class='col-md-5 course-splash-media video'>\n {{ course.video }}\n </div>\n <div class='col-md-6 course-header-container'>\n {% elsif course.image_url %}\n <div class='col-md-5 course-splash-media'>\n <div class='img-rounded'>\n {{course.safe_image_url | image_tag }}\n </div>\n </div>\n <div class='col-md-6 course-header-container'>\n {% else %}\n <div class='col-md-12 text-center course-header-container'>\n {% endif %}\n <h1 class='course-title'>\n {{ course.name }}\n </h1>\n <h2 class='course-subtitle'>\n {{ course.heading }}\n </h2>\n {% if block.data.hero_image_url and course.promo_video_id %}\n <a class=\"btn btn-hg btn-white-border\" data-toggle=\"modal\" data-target=\"#promoModal\" id=\"watchpromo\"><i class='fa fa-play'></i> {{ 'courses.watch_promo_button' | i18n }}</a>\n {% endif %}\n <!-- Embeds a button that will go to checkout if the course has only a single product,\n or scroll to the product select form if there is more than one product -->\n {% enroll_or_scroll_button %}\n </div>\n </div>\n <!-- Pre-enrollment Form -->\n {% if course.is_open == false and course.is_accepting_preenrollments and block.data.hero_image_url %}\n <div class=\"row\">\n <div class=\"preenrollment-form-wrapper col-sm-10 col-sm-offset-1\">\n {% preenrollment_form %}\n </div>\n </div>\n {% endif %}\n </div>\n</div>\n\n<!-- Watch promo modal -->\n{% if course.promo_video_id %}\n <div id=\"promoModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"promoModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">×</button>\n <br><br>\n </div>\n <div class=\"modal-body\">\n <div class=\"row\">\n <div class='col-md-8 col-md-offset-2 course-splash-media video'>\n {{ course.video }}\n </div>\n </div>\n </div>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_curriculum": {
"contents": "{% if course.has_content? %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n {{'courses.curriculum'|i18n}}\n </h2>\n <br>\n {% for lecture_section in course.ordered_published_lecture_sections limit:3 %}\n {% include \"pages/partials/block_curriculum_section\" with lecture_section %}\n {% endfor %}\n\n {% if course.ordered_published_lecture_sections.size > 3 %}\n <center>\n <a class=\"btn btn-default btn-sm collapsed\" id=\"more_lecture_sections\" data-toggle=\"collapse\" data-target=\"#hidden_sections\"><i class=\"fa fa-chevron-down\"></i></a>\n </center>\n <div id=\"hidden_sections\" class=\"collapse\">\n {% for lecture_section in course.ordered_published_lecture_sections offset:3 %}\n {% include \"pages/partials/block_curriculum_section\" with lecture_section %}\n {% endfor %}\n </div>\n {% endif %}\n <br>\n </div>\n </div>\n </div>\n{% endif %}\n",
"default_contents": "{% if course.has_content? %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n {{'courses.curriculum'|i18n}}\n </h2>\n <br>\n {% for lecture_section in course.ordered_published_lecture_sections limit:3 %}\n {% include \"pages/partials/block_curriculum_section\" with lecture_section %}\n {% endfor %}\n\n {% if course.ordered_published_lecture_sections.size > 3 %}\n <center>\n <a class=\"btn btn-default btn-sm collapsed\" id=\"more_lecture_sections\" data-toggle=\"collapse\" data-target=\"#hidden_sections\"><i class=\"fa fa-chevron-down\"></i></a>\n </center>\n <div id=\"hidden_sections\" class=\"collapse\">\n {% for lecture_section in course.ordered_published_lecture_sections offset:3 %}\n {% include \"pages/partials/block_curriculum_section\" with lecture_section %}\n {% endfor %}\n </div>\n {% endif %}\n <br>\n </div>\n </div>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_thanks_for_buying": {
"contents": "<div class=\"checkout-top\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-md-12 course-header-container thank-you-header\">\n <h1>\n <i class=\"fa fa-check\"></i>\n {{ block.data.message }}\n </h1>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class=\"container thank-you-content\">\n <div class=\"row\">\n <div class=\"col-sm-3 col-md-4\"> </div>\n {% include \"courses/partials/course_box\" for block.course %}\n </div>\n <div class=\"row\">\n <div class='col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4'>\n <a class=\"btn btn-primary pull-right btn-lg btn-hg btn-block goto-course\" href=\"{{ course.post_purchase_redirect_url }}\" id=\"continue-to-course-btn\">\n {{ block.data.button_text }}\n </a>\n </div>\n </div>\n <div class=\"row text-center share-icons\">\n {{ 'confirmations.share_on' | i18n }}\n <a aria-label=\"facebook\" class=\"share-button\" href=\"https://www.facebook.com/sharer.php?u={{ course.url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook-square facebook-button'></i>\n </a>\n <a aria-label=\"twitter\" class=\"share-button\" href=\"https://twitter.com/intent/tweet/?url={{ course.url }}&text={{ course.name }}:\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter-square twitter-button\"></i>\n </a>\n </div>\n</div>\n",
"default_contents": "<div class=\"checkout-top\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-md-12 course-header-container thank-you-header\">\n <h1>\n <i class=\"fa fa-check\"></i>\n {{ block.data.message }}\n </h1>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class=\"container thank-you-content\">\n <div class=\"row\">\n <div class=\"col-sm-3 col-md-4\"> </div>\n {% include \"courses/partials/course_box\" for block.course %}\n </div>\n <div class=\"row\">\n <div class='col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4'>\n <a class=\"btn btn-primary pull-right btn-lg btn-hg btn-block goto-course\" href=\"{{ course.post_purchase_redirect_url }}\" id=\"continue-to-course-btn\">\n {{ block.data.button_text }}\n </a>\n </div>\n </div>\n <div class=\"row text-center share-icons\">\n {{ 'confirmations.share_on' | i18n }}\n <a aria-label=\"facebook\" class=\"share-button\" href=\"https://www.facebook.com/sharer.php?u={{ course.url }}\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class='fa fa-facebook-square facebook-button'></i>\n </a>\n <a aria-label=\"twitter\" class=\"share-button\" href=\"https://twitter.com/intent/tweet/?url={{ course.url }}&text={{ course.name }}:\" onclick=\"javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;\">\n <i class=\"fa fa-twitter-square twitter-button\"></i>\n </a>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_proceed_to_creator_product_button": {
"contents": "<center>\n {% if block.data.creator_product_link_override %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.data.creator_product_link_override }}\">{{block.data.button_text}}</a>\n {% else %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.creator_product.friendly_url }}\">{{block.data.button_text}}</a>\n {% endif %}\n</center>\n",
"default_contents": "<center>\n {% if block.data.creator_product_link_override %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.data.creator_product_link_override }}\">{{block.data.button_text}}</a>\n {% else %}\n <a class=\"btn btn-hg btn-primary btn-inline-block goto-course\" href=\"{{ block.creator_product.friendly_url }}\">{{block.data.button_text}}</a>\n {% endif %}\n</center>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_coupon_banner": {
"contents": "<div class='coupon-code-applied hidden'>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <!-- Caution! the coupon-percent and coupon-text classes are used\n to set the displayed amount properly -->\n <div class='coupon-percent-text'>\n <span class='coupon-percent'></span>\n {{'courses.percent_off_coupon'|i18n}}<br>\n </div>\n <div class='coupon-invalid-text hidden'>\n {{ 'checkout.expired_invalid_coupon_entered' | i18n}}\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='coupon-code-applied hidden'>\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <!-- Caution! the coupon-percent and coupon-text classes are used\n to set the displayed amount properly -->\n <div class='coupon-percent-text'>\n <span class='coupon-percent'></span>\n {{'courses.percent_off_coupon'|i18n}}<br>\n </div>\n <div class='coupon-invalid-text hidden'>\n {{ 'checkout.expired_invalid_coupon_entered' | i18n}}\n </div>\n </div>\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_course_certificate": {
"contents": "\n<style>\n {% if live_preview == true %}\n @font-face {\n font-family: 'TeachableSans';\n src: url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.eot');\n src: url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.eot?#iefix')\n format('embedded-opentype'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans-v2/TeachableSans-Regular.woff2')\n format('woff2'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans-v2/TeachableSans-Regular.woff')\n format('woff'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.ttf')\n format('truetype');\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n {% endif %}\n\n .cert-wrapper-custom-default {\n text-align: center;\n font-family: TeachableSans, sans-serif;\n padding-top: 20%;\n width: 100%;\n height: 100%;\n }\n .cert-body {\n width: 50%;\n max-width: 100%;\n margin: 0 auto;\n }\n .cert-learn-more {\n text-decoration: none;\n color: #676d73;\n font-size: 15px;\n pointer-events: visible;\n }\n .cert-link {\n color: #1ea69a;\n }\n .cert-heading {\n color: #20272D;\n font-size: 30px;\n font-weight: 400;\n letter-spacing: 0.7px;\n line-height: 40px;\n }\n</style>\n\n<div class=\"cert-wrapper-custom-default\">\n <div class=\"cert-body\">\n <h1 class=\"cert-heading\">Build your custom certificate using Liquid/HTML</h1>\n <a class=\"cert-learn-more\" target=\"_blank\" href=\"https://support.teachable.com/hc/en-us/articles/230298448\"><span class=\"cert-link\">Learn more</span> about using Liquid in Teachable.</a>\n </div>\n</div>\n",
"default_contents": "\n<style>\n {% if live_preview == true %}\n @font-face {\n font-family: 'TeachableSans';\n src: url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.eot');\n src: url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.eot?#iefix')\n format('embedded-opentype'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans-v2/TeachableSans-Regular.woff2')\n format('woff2'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans-v2/TeachableSans-Regular.woff')\n format('woff'),\n url('//d2oz8i5n9se8ej.cloudfront.net/fonts/teachable-sans/TeachableSans-Regular.ttf')\n format('truetype');\n font-weight: normal;\n font-style: normal;\n font-display: swap;\n }\n {% endif %}\n\n .cert-wrapper-custom-default {\n text-align: center;\n font-family: TeachableSans, sans-serif;\n padding-top: 20%;\n width: 100%;\n height: 100%;\n }\n .cert-body {\n width: 50%;\n max-width: 100%;\n margin: 0 auto;\n }\n .cert-learn-more {\n text-decoration: none;\n color: #676d73;\n font-size: 15px;\n pointer-events: visible;\n }\n .cert-link {\n color: #1ea69a;\n }\n .cert-heading {\n color: #20272D;\n font-size: 30px;\n font-weight: 400;\n letter-spacing: 0.7px;\n line-height: 40px;\n }\n</style>\n\n<div class=\"cert-wrapper-custom-default\">\n <div class=\"cert-body\">\n <h1 class=\"cert-heading\">Build your custom certificate using Liquid/HTML</h1>\n <a class=\"cert-learn-more\" target=\"_blank\" href=\"https://support.teachable.com/hc/en-us/articles/230298448\"><span class=\"cert-link\">Learn more</span> about using Liquid in Teachable.</a>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_homepage_hero": {
"contents": "<div class='homepage-hero'>\n <div class='container'>\n <div class='row text-center'>\n <h2 class='headline'>{{current_school.site_heading}}</h2>\n <h3 class='subtitle'>{{current_school.description}}</h3>\n {% if block.toggles.show_button == true %}\n {% if site.show_signup %}\n <br><br><a class='btn-primary btn-hg text-center homepage-hero-enroll-btn' href='{%if block.data.button_url%}{{ block.data.button_url}}{%else%}{{site.sign_up_url }}{%endif%}'>{{ block.data.button_text }}</a>\n {% endif %}\n {% endif %}\n </div>\n </div>\n</div>\n",
"default_contents": "<div class='homepage-hero'>\n <div class='container'>\n <div class='row text-center'>\n <h2 class='headline'>{{current_school.site_heading}}</h2>\n <h3 class='subtitle'>{{current_school.description}}</h3>\n {% if block.toggles.show_button == true %}\n {% if site.show_signup %}\n <br><br><a class='btn-primary btn-hg text-center homepage-hero-enroll-btn' href='{%if block.data.button_url%}{{ block.data.button_url}}{%else%}{{site.sign_up_url }}{%endif%}'>{{ block.data.button_text }}</a>\n {% endif %}\n {% endif %}\n </div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_testimonial": {
"contents": "<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-md-2 col-md-offset-1\"><img src=\"{{ block.data.testimonial_image_url }}\" class=\"large-img-rounded img-responsive\"/></div>\n <div class=\"col-xs-12 col-md-8 quote-wrapper\">{{ block.body }}</div>\n </div>\n</div>\n",
"default_contents": "<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-md-2 col-md-offset-1\"><img src=\"{{ block.data.testimonial_image_url }}\" class=\"large-img-rounded img-responsive\"/></div>\n <div class=\"col-xs-12 col-md-8 quote-wrapper\">{{ block.body }}</div>\n </div>\n</div>\n",
"is_published": false,
"partial": true
},
"pages/partials/block_closing_letter": {
"contents": "<!-- course.closing_letter is deprecated; use block's data instead (block.data.body) -->\n{% if block.data.body %}\n {% assign closing_letter = block.data.body %}\n{% else %}\n {% assign closing_letter = course.closing_letter %}\n{% endif %}\n\n{% if closing_letter %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n {{ closing_letter }}\n </div>\n </div>\n </div>\n{% endif %}\n",
"default_contents": "<!-- course.closing_letter is deprecated; use block's data instead (block.data.body) -->\n{% if block.data.body %}\n {% assign closing_letter = block.data.body %}\n{% else %}\n {% assign closing_letter = course.closing_letter %}\n{% endif %}\n\n{% if closing_letter %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n {{ closing_letter }}\n </div>\n </div>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_featured_courses": {
"contents": "{% if block.data.displayed_courses_count %}\n {% assign displayed_courses_count = block.data.displayed_courses_count %}\n{% else %}\n {% assign displayed_courses_count = 3 %}\n{% endif %}\n{% if block.data.heading %}\n {% assign heading = block.data.heading %}\n{% else %}\n {% assign heading = 'homepage.featured_courses' | i18n %}\n{% endif %}\n{% if current_school.publicly_viewable_courses.size >= 1 %}\n <div class='container'>\n {% if current_school.publicly_viewable_courses.size > 1 %}\n <h2>{{heading}}</h2>\n {% for course_box in current_school.publicly_viewable_courses limit:displayed_courses_count %}\n {% include \"courses/partials/course_box\" for course_box %}\n {% endfor %}\n {% elsif current_school.publicly_viewable_courses.size == 1 %}\n <h2 class='homepage-section-title'>{{'homepage.featured_course' | i18n}}</h2>\n {% for course_box in current_school.publicly_viewable_courses limit:displayed_courses_count %}\n <div class=\"course-single\">\n {% include \"courses/partials/course_box\" for course_box %}\n </div>\n {% endfor %}\n {% endif %}\n </div>\n\n {% if current_school.publicly_viewable_courses.size > displayed_courses_count %}\n <center>\n <a class='btn btn-md btn-primary' href='/courses'>{{ 'homepage.view_all_courses' | i18n }}</a>\n </center>\n {% endif %}\n{% endif %}\n",
"default_contents": "{% if block.data.displayed_courses_count %}\n {% assign displayed_courses_count = block.data.displayed_courses_count %}\n{% else %}\n {% assign displayed_courses_count = 3 %}\n{% endif %}\n{% if block.data.heading %}\n {% assign heading = block.data.heading %}\n{% else %}\n {% assign heading = 'homepage.featured_courses' | i18n %}\n{% endif %}\n{% if current_school.publicly_viewable_courses.size >= 1 %}\n <div class='container'>\n {% if current_school.publicly_viewable_courses.size > 1 %}\n <h2>{{heading}}</h2>\n {% for course_box in current_school.publicly_viewable_courses limit:displayed_courses_count %}\n {% include \"courses/partials/course_box\" for course_box %}\n {% endfor %}\n {% elsif current_school.publicly_viewable_courses.size == 1 %}\n <h2 class='homepage-section-title'>{{'homepage.featured_course' | i18n}}</h2>\n {% for course_box in current_school.publicly_viewable_courses limit:displayed_courses_count %}\n <div class=\"course-single\">\n {% include \"courses/partials/course_box\" for course_box %}\n </div>\n {% endfor %}\n {% endif %}\n </div>\n\n {% if current_school.publicly_viewable_courses.size > displayed_courses_count %}\n <center>\n <a class='btn btn-md btn-primary' href='/courses'>{{ 'homepage.view_all_courses' | i18n }}</a>\n </center>\n {% endif %}\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_faq": {
"contents": "{% if block.data.faqs %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n <i class='fa fa-question-circle'></i>\n {{'courses.faq_title'|i18n}}\n </h2>\n <br>\n {% for faq in block.data.faqs %}\n <div class='faq-question'>\n {{ faq.data.question }}\n </div>\n <div class='faq-answer'>\n {{ faq.data.answer }}\n </div>\n {% endfor %}\n </div>\n </div>\n </div>\n{% endif %}\n",
"default_contents": "{% if block.data.faqs %}\n <div class='container'>\n <div class='row'>\n <div class='col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2'>\n <h2>\n <i class='fa fa-question-circle'></i>\n {{'courses.faq_title'|i18n}}\n </h2>\n <br>\n {% for faq in block.data.faqs %}\n <div class='faq-question'>\n {{ faq.data.question }}\n </div>\n <div class='faq-answer'>\n {{ faq.data.answer }}\n </div>\n {% endfor %}\n </div>\n </div>\n </div>\n{% endif %}\n",
"is_published": false,
"partial": true
},
"pages/partials/block_creator_product_checkout_trust_badge": {
"contents": "{% if block.data.badge_image_url %}\n <img src=\"{{ block.data.badge_image_url }}\">\n{% endif %}\n\n{% if block.data.badge_heading %}\n <h2 class=\"list-heading\">{{ block.data.badge_heading }}</h2>\n{% endif %}\n\n{% if block.data.badge_description %}\n {{ block.data.badge_description }}\n{% endif %}\n",
"default_contents": "{% if block.data.badge_image_url %}\n <img src=\"{{ block.data.badge_image_url }}\">\n{% endif %}\n\n{% if block.data.badge_heading %}\n <h2 class=\"list-heading\">{{ block.data.badge_heading }}</h2>\n{% endif %}\n\n{% if block.data.badge_description %}\n {{ block.data.badge_description }}\n{% endif %}\n",
"is_published": false,
"partial": true
}
}
}