feat: new school workspace
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"based_on": "creation",
|
||||
"chart_name": "Course Enrollments",
|
||||
"chart_type": "Count",
|
||||
"creation": "2021-09-30 12:23:09.414853",
|
||||
"docstatus": 0,
|
||||
"doctype": "Dashboard Chart",
|
||||
"document_type": "LMS Batch Membership",
|
||||
"dynamic_filters_json": "[]",
|
||||
"filters_json": "[]",
|
||||
"group_by_type": "Count",
|
||||
"idx": 0,
|
||||
"is_public": 1,
|
||||
"is_standard": 1,
|
||||
"last_synced_on": "2021-10-17 13:32:21.745498",
|
||||
"modified": "2021-10-21 17:31:06.997133",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Course Enrollments",
|
||||
"number_of_groups": 0,
|
||||
"owner": "basawaraj@erpnext.com",
|
||||
"source": "",
|
||||
"time_interval": "Daily",
|
||||
"timeseries": 1,
|
||||
"timespan": "Last Quarter",
|
||||
"type": "Line",
|
||||
"use_report_chart": 0,
|
||||
"value_based_on": "",
|
||||
"y_axis": []
|
||||
}
|
||||
@@ -1,169 +0,0 @@
|
||||
{
|
||||
"category": "Modules",
|
||||
"charts": [],
|
||||
"creation": "2021-06-29 13:05:28.741459",
|
||||
"developer_mode_only": 0,
|
||||
"disable_user_customization": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Workspace",
|
||||
"extends_another_page": 0,
|
||||
"hide_custom": 0,
|
||||
"icon": "education",
|
||||
"idx": 0,
|
||||
"is_default": 0,
|
||||
"is_standard": 1,
|
||||
"label": "LMS",
|
||||
"links": [
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Card Break"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Course",
|
||||
"link_to": "LMS Course",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Batch",
|
||||
"link_to": "LMS Batch",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Batch Membership",
|
||||
"link_to": "LMS Batch Membership",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Course Interest",
|
||||
"link_to": "LMS Course Interest",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Course Mentor Mapping",
|
||||
"link_to": "LMS Course Mentor Mapping",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Content",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Card Break"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Chapter",
|
||||
"link_to": "Course Chapter",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Lesson",
|
||||
"link_to": "Lesson",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Exercise",
|
||||
"link_to": "Exercise",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Exercise Submission",
|
||||
"link_to": "Exercise Submission",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Quiz",
|
||||
"link_to": "LMS Quiz",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "LMS Quiz Submission",
|
||||
"link_to": "LMS Quiz Submission",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
}
|
||||
],
|
||||
"modified": "2021-08-31 10:33:39.838535",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "LMS",
|
||||
"owner": "Administrator",
|
||||
"pin_to_bottom": 0,
|
||||
"pin_to_top": 1,
|
||||
"shortcuts": [
|
||||
{
|
||||
"color": "#29CD42",
|
||||
"doc_view": "List",
|
||||
"format": "{} Published",
|
||||
"label": "Courses",
|
||||
"link_to": "LMS Course",
|
||||
"stats_filter": "{\"is_published\": 1}",
|
||||
"type": "DocType"
|
||||
},
|
||||
{
|
||||
"color": "#29CD42",
|
||||
"doc_view": "List",
|
||||
"format": "{} Active ",
|
||||
"label": "Batches",
|
||||
"link_to": "LMS Batch",
|
||||
"stats_filter": "{\"status\": \"Active\"}",
|
||||
"type": "DocType"
|
||||
},
|
||||
{
|
||||
"color": "#39E4A5",
|
||||
"doc_view": "List",
|
||||
"format": "{} Students",
|
||||
"label": "Memberships",
|
||||
"link_to": "LMS Batch Membership",
|
||||
"stats_filter": "{\"member_type\": \"Student\"}",
|
||||
"type": "DocType"
|
||||
}
|
||||
]
|
||||
}
|
||||
131
community/lms/workspace/school/school.json
Normal file
131
community/lms/workspace/school/school.json
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"category": "Modules",
|
||||
"charts": [
|
||||
{
|
||||
"chart_name": "Course Enrollments",
|
||||
"label": "Course Enrollments"
|
||||
}
|
||||
],
|
||||
"content": "[{\"type\":\"chart\",\"data\":{\"chart_name\":\"Course Enrollments\",\"col\":12}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Course\",\"col\":4}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Course Enrollments\",\"col\":4}},{\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Course Completed\",\"col\":4}},{\"type\":\"card\",\"data\":{\"card_name\":\"Course Data\",\"col\":4}},{\"type\":\"card\",\"data\":{\"card_name\":\"Course Stats\",\"col\":4}}]",
|
||||
"creation": "2021-10-21 17:20:01.358903",
|
||||
"developer_mode_only": 0,
|
||||
"disable_user_customization": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "Workspace",
|
||||
"extends_another_page": 0,
|
||||
"hide_custom": 0,
|
||||
"icon": "education",
|
||||
"idx": 0,
|
||||
"is_default": 0,
|
||||
"is_standard": 1,
|
||||
"label": "School",
|
||||
"links": [
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Course Data",
|
||||
"link_count": 3,
|
||||
"onboard": 0,
|
||||
"type": "Card Break"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Chapter",
|
||||
"link_count": 0,
|
||||
"link_to": "Course Chapter",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Lesson",
|
||||
"link_count": 0,
|
||||
"link_to": "Course Lesson",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Quiz",
|
||||
"link_count": 0,
|
||||
"link_to": "LMS Quiz",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Course Stats",
|
||||
"link_count": 2,
|
||||
"onboard": 0,
|
||||
"type": "Card Break"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Interest",
|
||||
"link_count": 0,
|
||||
"link_to": "LMS Course Interest",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
},
|
||||
{
|
||||
"hidden": 0,
|
||||
"is_query_report": 0,
|
||||
"label": "Review",
|
||||
"link_count": 0,
|
||||
"link_to": "LMS Course Review",
|
||||
"link_type": "DocType",
|
||||
"onboard": 0,
|
||||
"type": "Link"
|
||||
}
|
||||
],
|
||||
"modified": "2021-10-21 18:18:02.114827",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "School",
|
||||
"owner": "Administrator",
|
||||
"parent_page": "",
|
||||
"pin_to_bottom": 0,
|
||||
"pin_to_top": 1,
|
||||
"public": 1,
|
||||
"roles": [],
|
||||
"sequence_id": 1,
|
||||
"shortcuts": [
|
||||
{
|
||||
"color": "Green",
|
||||
"doc_view": "List",
|
||||
"format": "{} Published",
|
||||
"label": "Course",
|
||||
"link_to": "LMS Course",
|
||||
"stats_filter": "{\"is_published\":[\"=\",1]}",
|
||||
"type": "DocType"
|
||||
},
|
||||
{
|
||||
"color": "Orange",
|
||||
"doc_view": "List",
|
||||
"format": "{} Completed",
|
||||
"label": "Course Completed",
|
||||
"link_to": "LMS Batch Membership",
|
||||
"stats_filter": "{\"progress\":[\"=\",\"100\"]}",
|
||||
"type": "DocType"
|
||||
},
|
||||
{
|
||||
"color": "Green",
|
||||
"doc_view": "List",
|
||||
"format": "{} Enrolled",
|
||||
"label": "Course Enrollments",
|
||||
"link_to": "LMS Batch Membership",
|
||||
"stats_filter": "{\"member_type\":[\"=\",\"Student\"]}",
|
||||
"type": "DocType"
|
||||
}
|
||||
],
|
||||
"title": "School"
|
||||
}
|
||||
@@ -19,3 +19,4 @@ execute:frappe.delete_doc("DocType", "Chapter") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "Lesson") #06-10-2021
|
||||
execute:frappe.delete_doc("DocType", "LMS Topic") #06-10-2021
|
||||
community.patches.v0_0.add_progress_to_membership #20-10-2021
|
||||
execute:frappe.delete_doc("Workspace", "LMS", ignore_missing=True, force=True) #24-10-2021
|
||||
|
||||
Reference in New Issue
Block a user