diff --git a/erpnext/www/lms/all-programs.html b/erpnext/www/lms/all-programs.html index 02df51acdf..11ca21485d 100644 --- a/erpnext/www/lms/all-programs.html +++ b/erpnext/www/lms/all-programs.html @@ -28,6 +28,10 @@ line-height: 1; padding: 20px; } + + section { + padding: 5rem 0 5rem 0; + } {% endblock %} diff --git a/erpnext/www/lms/content.html b/erpnext/www/lms/content.html index 92cfec2c8c..bdbacc1f3d 100644 --- a/erpnext/www/lms/content.html +++ b/erpnext/www/lms/content.html @@ -3,58 +3,67 @@ {% block head_include %} {% endblock %} -{% macro navigation() %} -
-
-

{{ content.name }} ({{ position + 1 }}/{{length}})

-
- +{% macro title() %} +
+ + Back to Course +
+
+

{{ content.name }} ({{ position + 1 }}/{{length}})

+
+{% endmacro %} + +{% macro navigation() %} + {% if previous %} + Previous + {% else %} + Back to Course + {% endif %} + + {% if next %} + + {% else %} + + {% endif %} {% endmacro %} {% macro video() %}
- {{ navigation() }} + {{ title() }}
{% if content.duration %} {{ content.duration }} Mins @@ -77,7 +86,7 @@ {% macro article() %}
- {{ navigation() }} + {{ title() }}
{% if content.author or content.publish_date %} Published @@ -97,11 +106,7 @@ {% macro quiz() %}
-
-
-

{{ content.name }} ({{ position + 1 }}/{{length}})

-
-
+ {{ title() }}
@@ -118,6 +123,9 @@ {% elif content_type=='Quiz' %} {{ quiz() }} {% endif %} +
+ {{ navigation() }} +
diff --git a/erpnext/www/lms/course.html b/erpnext/www/lms/course.html index d046ac8514..381af01a7a 100644 --- a/erpnext/www/lms/course.html +++ b/erpnext/www/lms/course.html @@ -28,6 +28,9 @@ line-height: 1; padding: 20px; } + section { + padding: 5rem 0 5rem 0; + } {% endblock %} @@ -84,7 +87,7 @@ {% endmacro %} {% block content %} -
+
{{ hero(course.course_name, course.description, has_access, {'name': 'Program', 'url': '/lms/program?program=' + program }) }}
diff --git a/erpnext/www/lms/index.html b/erpnext/www/lms/index.html index 6661e22ce3..c33aeb59d5 100644 --- a/erpnext/www/lms/index.html +++ b/erpnext/www/lms/index.html @@ -30,11 +30,15 @@ line-height: 1; padding: 20px; } + + section { + padding: 5rem 0 5rem 0; + } {% endblock %} {% block content %} -
+

{{ education_settings.portal_title }}

{{ education_settings.description }}

@@ -54,42 +58,4 @@

-
-
-
-
- -
-
Curated Courses
-
Start with a 14 day trial to get instant access to your own ERPNext Instance. Get expert support and world class hosting too.
-
-
- -
- -
-
Built by Experts
-
For self hosted users, ERPNext Support provides you the priority support and bug fix guarantee, so you can stop worrying.
-
-
- -
- -
-
Learn from the OEMs
-
ERPNext is open source and infinitely extensible. Customize it, build upon it, add your own apps built with Frappe Framework.
-
-
-
-
-
-
-
-

About ERPNext

-

ERPNext is the world's best 100% open source ERP used by over 5000 companies worldwide.

- -
-
{% endblock %} \ No newline at end of file diff --git a/erpnext/www/lms/macros/card.html b/erpnext/www/lms/macros/card.html index ffed8e9ee0..f77b514801 100644 --- a/erpnext/www/lms/macros/card.html +++ b/erpnext/www/lms/macros/card.html @@ -11,7 +11,7 @@ {% endif %}
{{ program.program_name }}
-
{{ program.description or '' }}
+
{{ program.description or '' }}
{% if has_access or program.intro_video%}