64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
<script>
|
|
window.location.replace('/app');
|
|
</script>
|
|
|
|
{% comment %} {% assign getting_started_courses = false %}
|
|
{% assign merchandising_courses = false %}
|
|
{% assign analysis_and_reporting_courses = false %}
|
|
{% assign courses_in_progress = false %}
|
|
|
|
{% for course in courses.in_catalog %}
|
|
{% for category in course.categories %}
|
|
{% if category.name == 'Getting Started' %}
|
|
{% assign getting_started_courses = true %}
|
|
{% endif %}
|
|
{% if category.name == 'Merchandising' %}
|
|
{% assign merchandising_courses = true %}
|
|
{% endif %}
|
|
{% if category.name == 'Analysis and Reporting' %}
|
|
{% assign analysis_and_reporting_courses = true %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
{% for course in courses.enrolled %}
|
|
{% if course.progress > 0 and course.progress < 100 %}
|
|
{% assign courses_in_progress = true %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
|
|
{% include "header" %}
|
|
{% include "course_version_outdated_alert", courses: courses.enrolled %}
|
|
{% include "sub_navigation" %}
|
|
<main class="np-main np-dashboard np-subpage-container np-max-width" style='background: #041e42;'>
|
|
<div class="row np-flex-center">
|
|
<div class="col-xs-12 col-md-8">
|
|
{% if getting_started_courses %}
|
|
{% include 'getting-started-carousel' %}
|
|
{% endif %}
|
|
{% if merchandising_courses %}
|
|
{% include 'merchandising-carousel' %}
|
|
{% endif %}
|
|
{% if analysis_and_reporting_courses %}
|
|
{% include 'analysis-and-reporting-carousel' %}
|
|
{% endif %}
|
|
</div>
|
|
<div class="np-grid-spacing col-xs-12 col-md-4 progress-section">
|
|
{% include "widget_course_progress" %}
|
|
{% if features.training_events? %}
|
|
<div class="heading-container">
|
|
<div class="carousel-heading">
|
|
Upcoming Events
|
|
</div>
|
|
</div>
|
|
{% include "training_events_dashboard" %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
</main>
|
|
{% include "footer" %}
|
|
|
|
{% endcomment %}
|