diff --git a/lms/lms/doctype/course_lesson/course_lesson.json b/lms/lms/doctype/course_lesson/course_lesson.json index 5d19f852..6e61622b 100644 --- a/lms/lms/doctype/course_lesson/course_lesson.json +++ b/lms/lms/doctype/course_lesson/course_lesson.json @@ -24,6 +24,7 @@ "fieldname": "chapter", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Course Chapter", "options": "Course Chapter", "reqd": 1 @@ -75,6 +76,8 @@ "fetch_from": "chapter.course", "fieldname": "course", "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Course", "options": "LMS Course", "read_only": 1 @@ -82,7 +85,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2022-04-22 12:59:23.641915", + "modified": "2022-05-02 17:16:12.450460", "modified_by": "Administrator", "module": "LMS", "name": "Course Lesson", diff --git a/lms/lms/doctype/lms_course/lms_course.json b/lms/lms/doctype/lms_course/lms_course.json index 837dfbbc..529ccd48 100644 --- a/lms/lms/doctype/lms_course/lms_course.json +++ b/lms/lms/doctype/lms_course/lms_course.json @@ -34,10 +34,11 @@ "related_courses", "certification_section", "enable_certification", + "expiry", + "section_break_23", "grant_certificate_after", "evaluator", - "column_break_22", - "expiry", + "column_break_26", "max_attempts", "duration", "pricing_section", @@ -177,10 +178,6 @@ "fieldtype": "Check", "label": "Paid Certificate" }, - { - "fieldname": "column_break_22", - "fieldtype": "Column Break" - }, { "depends_on": "enable_certification", "fieldname": "grant_certificate_after", @@ -228,6 +225,14 @@ "fieldtype": "Select", "label": "Duration for Attempts", "options": "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12" + }, + { + "fieldname": "section_break_23", + "fieldtype": "Section Break" + }, + { + "fieldname": "column_break_26", + "fieldtype": "Column Break" } ], "is_published_field": "published", @@ -253,7 +258,7 @@ "link_fieldname": "course" } ], - "modified": "2022-04-28 16:15:10.047183", + "modified": "2022-05-04 11:03:24.001015", "modified_by": "Administrator", "module": "LMS", "name": "LMS Course", diff --git a/lms/lms/widgets/CourseOutline.html b/lms/lms/widgets/CourseOutline.html index 43350d50..8e6e11f7 100644 --- a/lms/lms/widgets/CourseOutline.html +++ b/lms/lms/widgets/CourseOutline.html @@ -30,7 +30,7 @@ - + {{ lesson.title }} @@ -148,8 +148,6 @@ const expand_the_active_chapter = () => { }) selector.addClass("active-lesson"); - let href = selector.find("use").attr("href"); - !href.endsWith("blue") && selector.find("use").attr("href", `${href}-blue`); show_section(selector.parent().parent()); } diff --git a/lms/public/css/style.css b/lms/public/css/style.css index 554f64d0..13d6229e 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -275,11 +275,7 @@ input[type=checkbox] { } .course-card-wide { - background-color: white; - padding: 0 1.25rem 1.25rem; - border-radius: var(--border-radius); width: 50%; - box-shadow: var(--shadow-base); font-size: var(--text-base); } @@ -393,7 +389,7 @@ input[type=checkbox] { } .course-content-parent .chapter-description { - font-size: 0.7rem; + font-size: 0.75rem; } .chapter-icon { @@ -611,7 +607,7 @@ input[type=checkbox] { display: flex; justify-content: space-between; align-items: center; - margin: 24px 0px 0px; + margin: 2rem 0 4rem; } .lesson-pagination-parent { @@ -629,9 +625,8 @@ input[type=checkbox] { } .active-lesson { - background-color: var(--blue-100); + background-color: var(--gray-200); border-radius: var(--border-radius-md); - color: var(--blue-500); } .lesson-title { @@ -854,7 +849,7 @@ pre { .certificate-price { font-weight: bold; - margin-bottom: 0.5rem; + margin-bottom: 1rem; } .certificate-ribbon { @@ -1119,7 +1114,7 @@ pre { .job-card { display: flex; - position: relative; + align-items: center; } .company-logo { @@ -1158,10 +1153,12 @@ pre { .job-card-heading { font-weight: 600; color: var(--gray-900); + margin-bottom: 0.4rem; } .course-head-container { color: var(--gray-900); + background-color: var(--gray-200); } .seperator { @@ -1178,8 +1175,8 @@ pre { box-shadow: var(--shadow-sm); overflow: auto; width: fit-content; - position: fixed; - top: 50%; + position: absolute; + top: 10%; right: 7%; max-width: 400px; z-index: 4; @@ -1196,10 +1193,6 @@ pre { } } -.video-in-overlay { - top: 40%; -} - .course-overlay-content { padding: 1.25rem; font-size: var(--text-base); diff --git a/lms/www/courses/course.html b/lms/www/courses/course.html index c6e83b69..25d48373 100644 --- a/lms/www/courses/course.html +++ b/lms/www/courses/course.html @@ -27,12 +27,7 @@ {% endblock %} {% macro CourseHomeHeader(course) %} -
+
{{ BreadCrumb(course) }} @@ -92,7 +87,7 @@ {% endmacro%} {% macro CourseHeaderOverlay(course) %} -