diff --git a/lms/lms/doctype/lms_course/lms_course.json b/lms/lms/doctype/lms_course/lms_course.json index f951d788..11e45195 100644 --- a/lms/lms/doctype/lms_course/lms_course.json +++ b/lms/lms/doctype/lms_course/lms_course.json @@ -48,7 +48,6 @@ ], "fields": [ { - "documentation_url": "https://frappe.school", "fieldname": "title", "fieldtype": "Data", "in_list_view": 1, diff --git a/lms/lms/doctype/lms_quiz/lms_quiz.json b/lms/lms/doctype/lms_quiz/lms_quiz.json index 90390bea..a3221040 100644 --- a/lms/lms/doctype/lms_quiz/lms_quiz.json +++ b/lms/lms/doctype/lms_quiz/lms_quiz.json @@ -69,7 +69,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2023-04-26 17:48:29.664013", + "modified": "2022-11-15 15:36:39.585488", "modified_by": "Administrator", "module": "LMS", "name": "LMS Quiz", @@ -86,21 +86,6 @@ "role": "System Manager", "share": 1, "write": 1 - }, - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "if_owner": 1, - "permlevel": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "All", - "select": 1, - "share": 1, - "write": 1 } ], "show_title_field_in_link": 1, diff --git a/lms/lms/md.py b/lms/lms/md.py index 770f556d..1a6b9ed7 100644 --- a/lms/lms/md.py +++ b/lms/lms/md.py @@ -42,7 +42,6 @@ def find_macros(text): if not text: return [] macros = re.findall(MACRO_RE, text) - print(macros) # remove the quotes around the argument return [(name, _remove_quotes(arg)) for name, arg in macros] diff --git a/lms/plugins.py b/lms/plugins.py index 72c2259d..cc4fb359 100644 --- a/lms/plugins.py +++ b/lms/plugins.py @@ -138,7 +138,6 @@ def youtube_video_renderer(video_id): def video_renderer(src): - print(src) return f"" diff --git a/lms/public/css/style.css b/lms/public/css/style.css index f3b45f98..2f4cdba9 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -1943,6 +1943,10 @@ li { justify-content: flex-end !important; } +.modal-footer .btn:first-child { + margin-right: 0.5rem; +} + .modal-header .modal-title { color: var(--gray-900); line-height: 1.5rem; diff --git a/lms/public/js/editor.js b/lms/public/js/editor.js deleted file mode 100644 index 29a8800d..00000000 --- a/lms/public/js/editor.js +++ /dev/null @@ -1,19 +0,0 @@ -import EditorJS from "@editorjs/editorjs"; -import Header from "@editorjs/header"; -import List from "@editorjs/list"; - -let self = this; -const create_editor_for_lesson_content = () => { - self.editor = new EditorJS({ - holder: "lesson-content", - tools: { - header: { - class: Header, - }, - list: List, - }, - }); -}; - -create_editor_for_lesson_content(); -console.log(self.editor); diff --git a/lms/www/batch/quiz_list.html b/lms/www/batch/quiz_list.html index 2f513831..77898384 100644 --- a/lms/www/batch/quiz_list.html +++ b/lms/www/batch/quiz_list.html @@ -46,7 +46,7 @@ {% endmacro %} {% macro EmptyState() %} -
+