From d07dbcc50a1591140fc3822677a40bc862115a3b Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 11 Oct 2021 20:31:27 +0530 Subject: [PATCH 1/4] refactor: renamed app to school --- .github/workflows/ci.yml | 10 +- .gitignore | 4 +- MANIFEST.in | 24 +- README.md | 20 +- docker-compose.yml | 4 +- {community => school}/__init__.py | 0 {community => school}/community/__init__.py | 0 .../community/doctype/__init__.py | 0 .../doctype/community_event/__init__.py | 0 .../community_event/community_event.js | 0 .../community_event/community_event.json | 0 .../community_event/community_event.py | 0 .../community_event/test_community_event.py | 0 .../community_event_volunteer/__init__.py | 0 .../community_event_volunteer.json | 0 .../community_event_volunteer.py | 0 .../doctype/community_participant/__init__.py | 0 .../community_participant.js | 0 .../community_participant.json | 0 .../community_participant.py | 0 .../test_community_participant.py | 0 .../doctype/community_speaker/__init__.py | 0 .../community_speaker/community_speaker.js | 0 .../community_speaker/community_speaker.json | 0 .../community_speaker/community_speaker.py | 0 .../test_community_speaker.py | 0 .../doctype/community_sponsor/__init__.py | 0 .../community_sponsor/community_sponsor.js | 0 .../community_sponsor/community_sponsor.json | 0 .../community_sponsor/community_sponsor.py | 0 .../test_community_sponsor.py | 0 .../doctype/community_talk/__init__.py | 0 .../doctype/community_talk/community_talk.js | 0 .../community_talk/community_talk.json | 0 .../doctype/community_talk/community_talk.py | 0 .../community_talk/test_community_talk.py | 0 .../doctype/tshirt_sizes/__init__.py | 0 .../doctype/tshirt_sizes/test_tshirt_sizes.py | 0 .../doctype/tshirt_sizes/tshirt_sizes.js | 0 .../doctype/tshirt_sizes/tshirt_sizes.json | 0 .../doctype/tshirt_sizes/tshirt_sizes.py | 0 {community => school}/community/utils.py | 0 .../community/web_form/__init__.py | 0 .../web_form/join_request/__init__.py | 0 .../web_form/join_request/join_request.js | 0 .../web_form/join_request/join_request.json | 0 .../web_form/join_request/join_request.py | 0 .../web_form/project_update/__init__.py | 0 .../web_form/project_update/project_update.js | 0 .../project_update/project_update.json | 0 .../web_form/project_update/project_update.py | 0 .../community/web_template/__init__.py | 0 .../community/widgets/Avatar.html | 0 {community => school}/conference/__init__.py | 0 .../conference/doctype/__init__.py | 0 .../doctype/community_conference/__init__.py | 0 .../community_conference.js | 0 .../community_conference.json | 0 .../community_conference.py | 0 .../test_community_conference.py | 0 .../__init__.py | 0 .../community_conference_participant.js | 0 .../community_conference_participant.json | 0 .../community_conference_participant.py | 0 .../test_community_conference_participant.py | 0 .../community_conference_request/__init__.py | 0 .../community_conference_request.js | 0 .../community_conference_request.json | 0 .../community_conference_request.py | 0 .../test_community_conference_request.py | 0 {community => school}/config/__init__.py | 0 {community => school}/config/desktop.py | 0 {community => school}/config/docs.py | 0 .../event_management/__init__.py | 0 .../event_management/doctype/__init__.py | 0 .../doctype/attendee/__init__.py | 0 .../doctype/attendee/attendee.js | 0 .../doctype/attendee/attendee.json | 0 .../doctype/attendee/attendee.py | 0 .../doctype/attendee/test_attendee.py | 0 .../doctype/event_details/__init__.py | 0 .../doctype/event_details/event_details.js | 0 .../doctype/event_details/event_details.json | 0 .../doctype/event_details/event_details.py | 0 .../event_details/test_event_details.py | 0 .../doctype/event_ticket/__init__.py | 0 .../doctype/event_ticket/event_ticket.js | 0 .../doctype/event_ticket/event_ticket.json | 0 .../doctype/event_ticket/event_ticket.py | 0 .../doctype/event_ticket/test_event_ticket.py | 0 .../doctype/exhibitor/__init__.py | 0 .../doctype/exhibitor/exhibitor.js | 0 .../doctype/exhibitor/exhibitor.json | 0 .../doctype/exhibitor/exhibitor.py | 0 .../doctype/exhibitor/test_exhibitor.py | 0 .../event_management/doctype/host/__init__.py | 0 .../event_management/doctype/host/host.js | 0 .../event_management/doctype/host/host.json | 0 .../event_management/doctype/host/host.py | 0 .../doctype/host/test_host.py | 0 .../doctype/speaker/__init__.py | 0 .../doctype/speaker/speaker.js | 0 .../doctype/speaker/speaker.json | 0 .../doctype/speaker/speaker.py | 0 .../doctype/speaker/test_speaker.py | 0 .../event_management/doctype/talk/__init__.py | 0 .../event_management/doctype/talk/talk.js | 0 .../event_management/doctype/talk/talk.json | 0 .../event_management/doctype/talk/talk.py | 0 .../doctype/talk/test_talk.py | 0 .../event_management/web_form/__init__.py | 0 .../attendee_registration/__init__.py | 0 .../attendee_registration.js | 0 .../attendee_registration.json | 0 .../attendee_registration.py | 0 .../exhibitor_registration/__init__.py | 0 .../exhibitor_registration.js | 0 .../exhibitor_registration.json | 0 .../exhibitor_registration.py | 0 .../web_form/purpose_a_talk/__init__.py | 0 .../web_form/purpose_a_talk/purpose_a_talk.js | 0 .../purpose_a_talk/purpose_a_talk.json | 0 .../web_form/purpose_a_talk/purpose_a_talk.py | 0 .../web_form/speaker_registration/__init__.py | 0 .../speaker_registration.js | 0 .../speaker_registration.json | 0 .../speaker_registration.py | 0 .../event_management/web_template/__init__.py | 0 .../exhibitor_section/__init__.py | 0 .../exhibitor_section/exhibitor_section.html | 0 .../exhibitor_section/exhibitor_section.json | 0 .../web_template/host_section/__init__.py | 0 .../host_section/host_section.html | 0 .../host_section/host_section.json | 0 .../web_template/speaker_section/__init__.py | 0 .../speaker_section/speaker_section.html | 0 .../speaker_section/speaker_section.json | 0 .../web_template/talk_section/__init__.py | 0 .../talk_section/talk_section.html | 0 .../talk_section/talk_section.json | 0 .../fixtures/custom_field.json | 0 {community => school}/hackathon/README.md | 0 {community => school}/hackathon/__init__.py | 0 .../hackathon/doctype/__init__.py | 0 .../doctype/community_hackathon/__init__.py | 0 .../community_hackathon.js | 0 .../community_hackathon.json | 0 .../community_hackathon.py | 0 .../test_community_hackathon.py | 0 .../doctype/community_project/__init__.py | 0 .../community_project/community_project.js | 0 .../community_project/community_project.json | 0 .../community_project/community_project.py | 0 .../test_community_project.py | 0 .../community_project_evaluation/__init__.py | 0 .../community_project_evaluation.js | 0 .../community_project_evaluation.json | 0 .../community_project_evaluation.py | 0 .../test_community_project_evaluation.py | 0 .../community_project_like/__init__.py | 0 .../community_project_like.js | 0 .../community_project_like.json | 0 .../community_project_like.py | 0 .../test_community_project_like.py | 0 .../community_project_member/__init__.py | 0 .../community_project_member.js | 0 .../community_project_member.json | 0 .../community_project_member.py | 0 .../test_community_project_member.py | 0 .../community_project_update/__init__.py | 0 .../community_project_update.js | 0 .../community_project_update.json | 0 .../community_project_update.py | 0 .../test_community_project_update.py | 0 .../hackathon/images/community-hackathon.png | Bin .../hackathon/images/hackathons-portal.png | Bin .../hackathon/images/project-1.png | Bin .../hackathon/images/project-2.png | Bin .../hackathon/images/project-details.png | Bin .../hackathon/images/project-join-request.png | Bin .../hackathon/images/project-portal.png | Bin .../hackathon/web_form/__init__.py | 0 .../web_form/join_request/__init__.py | 0 .../web_form/join_request/join_request.js | 0 .../web_form/join_request/join_request.json | 0 .../web_form/join_request/join_request.py | 0 .../hackathon/web_form/project/__init__.py | 0 .../hackathon/web_form/project/project.js | 0 .../hackathon/web_form/project/project.json | 0 .../hackathon/web_form/project/project.py | 0 .../web_form/project_update/__init__.py | 0 .../web_form/project_update/project_update.js | 0 .../project_update/project_update.json | 0 .../web_form/project_update/project_update.py | 0 {community => school}/hooks.py | 64 +- {community => school}/lms/__init__.py | 0 {community => school}/lms/api.py | 0 {community => school}/lms/doctype/__init__.py | 0 .../lms/doctype/chapter_reference/__init__.py | 0 .../chapter_reference/chapter_reference.json | 0 .../chapter_reference/chapter_reference.py | 0 .../lms/doctype/course_chapter/__init__.py | 0 .../doctype/course_chapter/course_chapter.js | 0 .../course_chapter/course_chapter.json | 0 .../doctype/course_chapter/course_chapter.py | 0 .../course_chapter/test_course_chapter.py | 0 .../lms/doctype/course_lesson/__init__.py | 0 .../doctype/course_lesson/course_lesson.js | 0 .../doctype/course_lesson/course_lesson.json | 0 .../doctype/course_lesson/course_lesson.py | 0 .../course_lesson/test_course_lesson.py | 0 .../lms/doctype/exercise/__init__.py | 0 .../lms/doctype/exercise/exercise.js | 0 .../lms/doctype/exercise/exercise.json | 0 .../lms/doctype/exercise/exercise.py | 0 .../lms/doctype/exercise/test_exercise.py | 0 .../doctype/exercise_submission/__init__.py | 0 .../exercise_submission.js | 0 .../exercise_submission.json | 0 .../exercise_submission.py | 0 .../test_exercise_submission.py | 0 .../lms/doctype/invite_request/__init__.py | 0 .../doctype/invite_request/invite_request.js | 0 .../invite_request/invite_request.json | 0 .../doctype/invite_request/invite_request.py | 0 .../invite_request/test_invite_request.py | 2 +- .../lms/doctype/lesson_reference/__init__.py | 0 .../lesson_reference/lesson_reference.json | 0 .../lesson_reference/lesson_reference.py | 0 .../lms/doctype/lms_batch/__init__.py | 0 .../lms/doctype/lms_batch/lms_batch.js | 0 .../lms/doctype/lms_batch/lms_batch.json | 0 .../lms/doctype/lms_batch/lms_batch.py | 4 +- .../lms/doctype/lms_batch/test_lms_batch.py | 0 .../doctype/lms_batch_membership/__init__.py | 0 .../lms_batch_membership.js | 0 .../lms_batch_membership.json | 0 .../lms_batch_membership.py | 0 .../test_lms_batch_membership.py | 0 .../lms/doctype/lms_certification/__init__.py | 0 .../lms_certification/lms_certification.js | 0 .../lms_certification/lms_certification.json | 0 .../lms_certification/lms_certification.py | 0 .../test_lms_certification.py | 0 .../lms/doctype/lms_course/__init__.py | 0 .../lms/doctype/lms_course/lms_course.js | 0 .../lms/doctype/lms_course/lms_course.json | 2 +- .../lms/doctype/lms_course/lms_course.py | 2 +- .../lms/doctype/lms_course/test_lms_course.py | 0 .../doctype/lms_course_enrollment/__init__.py | 0 .../lms_course_enrollment.js | 0 .../lms_course_enrollment.json | 0 .../lms_course_enrollment.py | 0 .../test_lms_course_enrollment.py | 0 .../doctype/lms_course_interest/__init__.py | 0 .../lms_course_interest.js | 0 .../lms_course_interest.json | 0 .../lms_course_interest.py | 0 .../test_lms_course_interest.py | 0 .../lms_course_mentor_mapping/__init__.py | 0 .../lms_course_mentor_mapping.js | 0 .../lms_course_mentor_mapping.json | 0 .../lms_course_mentor_mapping.py | 0 .../test_lms_course_mentor_mapping.py | 0 .../doctype/lms_course_progress/__init__.py | 0 .../lms_course_progress.js | 0 .../lms_course_progress.json | 0 .../lms_course_progress.py | 0 .../test_lms_course_progress.py | 0 .../lms/doctype/lms_course_review/__init__.py | 0 .../lms_course_review/lms_course_review.js | 0 .../lms_course_review/lms_course_review.json | 0 .../lms_course_review/lms_course_review.py | 0 .../test_lms_course_review.py | 0 .../doctype/lms_mentor_request/__init__.py | 0 .../lms_mentor_request/lms_mentor_request.js | 0 .../lms_mentor_request.json | 0 .../lms_mentor_request/lms_mentor_request.py | 0 .../test_lms_mentor_request.py | 0 .../lms/doctype/lms_option/__init__.py | 0 .../lms/doctype/lms_option/lms_option.json | 0 .../lms/doctype/lms_option/lms_option.py | 0 .../lms/doctype/lms_quiz/__init__.py | 0 .../lms/doctype/lms_quiz/lms_quiz.js | 0 .../lms/doctype/lms_quiz/lms_quiz.json | 0 .../lms/doctype/lms_quiz/lms_quiz.py | 0 .../lms/doctype/lms_quiz/test_lms_quiz.py | 0 .../lms/doctype/lms_quiz_question/__init__.py | 0 .../lms_quiz_question/lms_quiz_question.json | 0 .../lms_quiz_question/lms_quiz_question.py | 0 .../lms/doctype/lms_quiz_result/__init__.py | 0 .../lms_quiz_result/lms_quiz_result.json | 0 .../lms_quiz_result/lms_quiz_result.py | 0 .../doctype/lms_quiz_submission/__init__.py | 0 .../lms_quiz_submission.js | 0 .../lms_quiz_submission.json | 0 .../lms_quiz_submission.py | 0 .../test_lms_quiz_submission.py | 0 .../lms/doctype/lms_section/lms_section.py | 0 .../lms/doctype/lms_settings/__init__.py | 0 .../lms/doctype/lms_settings/lms_settings.js | 0 .../doctype/lms_settings/lms_settings.json | 0 .../lms/doctype/lms_settings/lms_settings.py | 0 .../doctype/lms_settings/test_lms_settings.py | 0 {community => school}/lms/md.py | 4 +- {community => school}/lms/models.py | 0 {community => school}/lms/report/__init__.py | 0 .../course_progress_summary/__init__.py | 0 .../course_progress_summary.js | 0 .../course_progress_summary.json | 0 .../course_progress_summary.py | 0 {community => school}/lms/test_utils.py | 0 {community => school}/lms/utils.py | 0 .../lms/web_form/__init__.py | 0 .../lms/web_form/add_a_new_batch/__init__.py | 0 .../add_a_new_batch/add_a_new_batch.js | 0 .../add_a_new_batch/add_a_new_batch.json | 0 .../add_a_new_batch/add_a_new_batch.py | 0 .../lms/web_form/profile/__init__.py | 0 .../lms/web_form/profile/profile.js | 0 .../lms/web_form/profile/profile.json | 0 .../lms/web_form/profile/profile.py | 0 .../lms/web_template/__init__.py | 0 .../lms/web_template/course_cards/__init__.py | 0 .../course_cards/course_cards.html | 0 .../course_cards/course_cards.json | 0 .../lms/widgets/BreadCrumb.html | 4 +- .../lms/widgets/ChapterTeaser.html | 8 +- .../lms/widgets/CourseCard.html | 20 +- .../lms/widgets/CourseOutline.html | 0 .../lms/widgets/CourseTeaser.html | 0 .../lms/widgets/Exercise.html | 0 .../lms/widgets/HelloWorld.html | 0 .../lms/widgets/MemberCard.html | 0 .../lms/widgets/RequestInvite.html | 2 +- .../lms/widgets/Reviews.html | 0 .../lms/workspace/lms/lms.json | 0 {community => school}/modules.txt | 0 {community => school}/overrides/test_user.py | 2 +- {community => school}/overrides/user.py | 0 .../overrides/web_template.py | 2 +- {community => school}/page_renderers.py | 2 +- {community => school}/patches.txt | 0 .../change_name_for_community_members.py | 0 .../create_mentor_request_email_templates.py | 2 +- ...ce_member_with_user_in_batch_membership.py | 0 ...mber_with_user_in_course_mentor_mapping.py | 0 ...replace_member_with_user_in_lms_message.py | 0 ...lace_member_with_user_in_mentor_request.py | 0 .../save_abbr_for_community_members.py | 0 .../patches/set_email_preferences.py | 0 .../v0_0/chapter_lesson_index_table.py | 0 .../patches/v0_0/course_instructor_update.py | 0 .../v0_0/rename_chapter_and_lesson_doctype.py | 0 .../rename_chapters_and_lessons_doctype.py | 0 {community => school}/plugins.py | 2 +- .../public/css/community.bundle.less | 0 {community => school}/public/css/style.css | 2 +- {community => school}/public/css/vars.css | 0 .../css-rtl/community.bundle.IJYJLJRM.css | 1167 +++++++++++++++++ .../dist/css/community.bundle.5K2BM4R4.css | 1167 +++++++++++++++++ .../public/dist/js/website.bundle.HL5DXFIV.js | 10 + .../dist/js/website.bundle.HL5DXFIV.js.map | 7 + .../public/icons/black-arrow.svg | 0 .../public/icons/calendar.svg | 0 {community => school}/public/icons/check.svg | 0 .../public/icons/chevron-right.svg | 0 .../public/icons/chevron.svg | 0 {community => school}/public/icons/clock.svg | 0 .../public/icons/down-arrow-white.svg | 0 .../public/icons/down-arrow.svg | 0 .../public/icons/down-arrow1.svg | 0 {community => school}/public/icons/github.svg | 0 .../public/icons/left-arrow.svg | 0 {community => school}/public/icons/like.svg | 0 {community => school}/public/icons/lock.svg | 0 {community => school}/public/icons/medium.svg | 0 .../public/icons/message.svg | 0 .../public/icons/minus-circle-green.svg | 0 .../public/icons/minus-circle.svg | 0 {community => school}/public/icons/play.svg | 0 .../public/icons/rating-filled.svg | 0 {community => school}/public/icons/rating.svg | 0 {community => school}/public/icons/search.svg | 0 .../public/icons/side-arrow-white.svg | 0 {community => school}/public/icons/slash.svg | 0 .../public/icons/small-add-black.svg | 0 .../public/icons/small-add.svg | 0 {community => school}/public/icons/tick.svg | 0 .../public/icons/up-arrow-white.svg | 0 {community => school}/public/icons/user.svg | 0 .../public/icons/white-arrow.svg | 0 .../public/icons/white-tick.svg | 0 {community => school}/public/icons/wrong.svg | 0 .../public/images/Vector.png | Bin .../public/images/certificate-background.png | Bin .../public/images/linkedin.png | Bin {community => school}/public/images/play.png | Bin .../public/images/profile-banner.png | Bin .../public/images/wallpaper.png | Bin .../public/js/html2canvas.js | 0 .../public/js/livecode-canvas.js | 0 {community => school}/public/js/profile.js | 0 .../public/js/website.bundle.js | 0 {community => school}/query.py | 0 {community => school}/routing.py | 0 {community => school}/templates/__init__.py | 0 .../templates/certificate.html | 2 +- .../emails/community_course_membership.html | 2 +- .../templates/emails/lms_course_interest.html | 0 .../templates/emails/lms_daily_digest.html | 0 .../emails/lms_invite_request_approved.html | 0 .../templates/emails/lms_message.html | 0 .../emails/mentor_request_creation_email.html | 2 +- .../mentor_request_status_update_email.html | 2 +- {community => school}/templates/exercise.html | 0 .../templates/livecode/extension_footer.html | 2 +- .../templates/livecode/extension_header.html | 0 .../templates/pages/__init__.py | 0 {community => school}/templates/quiz.html | 0 {community => school}/test_widgets.py | 0 {community => school}/widgets.py | 0 {community => school}/www/__init__.py | 0 .../www/__pycache__/__init__.py | 0 {community => school}/www/batch/__init__.py | 0 .../www/batch/__pycache__/__init__.py | 0 {community => school}/www/batch/join.html | 2 +- {community => school}/www/batch/join.py | 0 {community => school}/www/batch/learn.html | 4 +- {community => school}/www/batch/learn.js | 10 +- {community => school}/www/batch/learn.py | 6 +- {community => school}/www/batch/utils.py | 2 +- {community => school}/www/courses/__init__.py | 0 .../www/courses/__pycache__/__init__.py | 0 .../www/courses/certificate.html | 4 +- .../www/courses/certificate.js | 0 .../www/courses/certificate.py | 0 {community => school}/www/courses/course.html | 12 +- {community => school}/www/courses/course.js | 12 +- {community => school}/www/courses/course.py | 0 {community => school}/www/courses/index.html | 0 {community => school}/www/courses/index.py | 0 {community => school}/www/courses/utils.py | 0 .../www/hackathons/__init__.py | 0 .../www/hackathons/__pycache__/__init__.py | 0 .../www/hackathons/hackathon.html | 0 .../www/hackathons/hackathon.py | 0 .../www/hackathons/index.html | 0 {community => school}/www/hackathons/index.py | 0 .../www/hackathons/macros/__init__.py | 0 .../www/hackathons/macros/card.html | 0 .../www/hackathons/macros/hero.html | 0 .../www/hackathons/macros/navbar.html | 0 .../www/hackathons/macros/user.html | 0 .../www/hackathons/project.html | 0 .../www/hackathons/project.js | 10 +- .../www/hackathons/project.py | 0 {community => school}/www/macros/__init__.py | 0 .../www/macros/common_macro.html | 0 .../www/macros/livecode.html | 4 +- {community => school}/www/new-sign-up.html | 2 +- .../www/profiles/__init__.py | 0 .../www/profiles/__pycache__/__init__.py | 0 .../www/profiles/profile.html | 16 +- {community => school}/www/profiles/profile.py | 2 +- setup.py | 10 +- 466 files changed, 2497 insertions(+), 146 deletions(-) rename {community => school}/__init__.py (100%) rename {community => school}/community/__init__.py (100%) rename {community => school}/community/doctype/__init__.py (100%) rename {community => school}/community/doctype/community_event/__init__.py (100%) rename {community => school}/community/doctype/community_event/community_event.js (100%) rename {community => school}/community/doctype/community_event/community_event.json (100%) rename {community => school}/community/doctype/community_event/community_event.py (100%) rename {community => school}/community/doctype/community_event/test_community_event.py (100%) rename {community => school}/community/doctype/community_event_volunteer/__init__.py (100%) rename {community => school}/community/doctype/community_event_volunteer/community_event_volunteer.json (100%) rename {community => school}/community/doctype/community_event_volunteer/community_event_volunteer.py (100%) rename {community => school}/community/doctype/community_participant/__init__.py (100%) rename {community => school}/community/doctype/community_participant/community_participant.js (100%) rename {community => school}/community/doctype/community_participant/community_participant.json (100%) rename {community => school}/community/doctype/community_participant/community_participant.py (100%) rename {community => school}/community/doctype/community_participant/test_community_participant.py (100%) rename {community => school}/community/doctype/community_speaker/__init__.py (100%) rename {community => school}/community/doctype/community_speaker/community_speaker.js (100%) rename {community => school}/community/doctype/community_speaker/community_speaker.json (100%) rename {community => school}/community/doctype/community_speaker/community_speaker.py (100%) rename {community => school}/community/doctype/community_speaker/test_community_speaker.py (100%) rename {community => school}/community/doctype/community_sponsor/__init__.py (100%) rename {community => school}/community/doctype/community_sponsor/community_sponsor.js (100%) rename {community => school}/community/doctype/community_sponsor/community_sponsor.json (100%) rename {community => school}/community/doctype/community_sponsor/community_sponsor.py (100%) rename {community => school}/community/doctype/community_sponsor/test_community_sponsor.py (100%) rename {community => school}/community/doctype/community_talk/__init__.py (100%) rename {community => school}/community/doctype/community_talk/community_talk.js (100%) rename {community => school}/community/doctype/community_talk/community_talk.json (100%) rename {community => school}/community/doctype/community_talk/community_talk.py (100%) rename {community => school}/community/doctype/community_talk/test_community_talk.py (100%) rename {community => school}/community/doctype/tshirt_sizes/__init__.py (100%) rename {community => school}/community/doctype/tshirt_sizes/test_tshirt_sizes.py (100%) rename {community => school}/community/doctype/tshirt_sizes/tshirt_sizes.js (100%) rename {community => school}/community/doctype/tshirt_sizes/tshirt_sizes.json (100%) rename {community => school}/community/doctype/tshirt_sizes/tshirt_sizes.py (100%) rename {community => school}/community/utils.py (100%) rename {community => school}/community/web_form/__init__.py (100%) rename {community => school}/community/web_form/join_request/__init__.py (100%) rename {community => school}/community/web_form/join_request/join_request.js (100%) rename {community => school}/community/web_form/join_request/join_request.json (100%) rename {community => school}/community/web_form/join_request/join_request.py (100%) rename {community => school}/community/web_form/project_update/__init__.py (100%) rename {community => school}/community/web_form/project_update/project_update.js (100%) rename {community => school}/community/web_form/project_update/project_update.json (100%) rename {community => school}/community/web_form/project_update/project_update.py (100%) rename {community => school}/community/web_template/__init__.py (100%) rename {community => school}/community/widgets/Avatar.html (100%) rename {community => school}/conference/__init__.py (100%) rename {community => school}/conference/doctype/__init__.py (100%) rename {community => school}/conference/doctype/community_conference/__init__.py (100%) rename {community => school}/conference/doctype/community_conference/community_conference.js (100%) rename {community => school}/conference/doctype/community_conference/community_conference.json (100%) rename {community => school}/conference/doctype/community_conference/community_conference.py (100%) rename {community => school}/conference/doctype/community_conference/test_community_conference.py (100%) rename {community => school}/conference/doctype/community_conference_participant/__init__.py (100%) rename {community => school}/conference/doctype/community_conference_participant/community_conference_participant.js (100%) rename {community => school}/conference/doctype/community_conference_participant/community_conference_participant.json (100%) rename {community => school}/conference/doctype/community_conference_participant/community_conference_participant.py (100%) rename {community => school}/conference/doctype/community_conference_participant/test_community_conference_participant.py (100%) rename {community => school}/conference/doctype/community_conference_request/__init__.py (100%) rename {community => school}/conference/doctype/community_conference_request/community_conference_request.js (100%) rename {community => school}/conference/doctype/community_conference_request/community_conference_request.json (100%) rename {community => school}/conference/doctype/community_conference_request/community_conference_request.py (100%) rename {community => school}/conference/doctype/community_conference_request/test_community_conference_request.py (100%) rename {community => school}/config/__init__.py (100%) rename {community => school}/config/desktop.py (100%) rename {community => school}/config/docs.py (100%) rename {community => school}/event_management/__init__.py (100%) rename {community => school}/event_management/doctype/__init__.py (100%) rename {community => school}/event_management/doctype/attendee/__init__.py (100%) rename {community => school}/event_management/doctype/attendee/attendee.js (100%) rename {community => school}/event_management/doctype/attendee/attendee.json (100%) rename {community => school}/event_management/doctype/attendee/attendee.py (100%) rename {community => school}/event_management/doctype/attendee/test_attendee.py (100%) rename {community => school}/event_management/doctype/event_details/__init__.py (100%) rename {community => school}/event_management/doctype/event_details/event_details.js (100%) rename {community => school}/event_management/doctype/event_details/event_details.json (100%) rename {community => school}/event_management/doctype/event_details/event_details.py (100%) rename {community => school}/event_management/doctype/event_details/test_event_details.py (100%) rename {community => school}/event_management/doctype/event_ticket/__init__.py (100%) rename {community => school}/event_management/doctype/event_ticket/event_ticket.js (100%) rename {community => school}/event_management/doctype/event_ticket/event_ticket.json (100%) rename {community => school}/event_management/doctype/event_ticket/event_ticket.py (100%) rename {community => school}/event_management/doctype/event_ticket/test_event_ticket.py (100%) rename {community => school}/event_management/doctype/exhibitor/__init__.py (100%) rename {community => school}/event_management/doctype/exhibitor/exhibitor.js (100%) rename {community => school}/event_management/doctype/exhibitor/exhibitor.json (100%) rename {community => school}/event_management/doctype/exhibitor/exhibitor.py (100%) rename {community => school}/event_management/doctype/exhibitor/test_exhibitor.py (100%) rename {community => school}/event_management/doctype/host/__init__.py (100%) rename {community => school}/event_management/doctype/host/host.js (100%) rename {community => school}/event_management/doctype/host/host.json (100%) rename {community => school}/event_management/doctype/host/host.py (100%) rename {community => school}/event_management/doctype/host/test_host.py (100%) rename {community => school}/event_management/doctype/speaker/__init__.py (100%) rename {community => school}/event_management/doctype/speaker/speaker.js (100%) rename {community => school}/event_management/doctype/speaker/speaker.json (100%) rename {community => school}/event_management/doctype/speaker/speaker.py (100%) rename {community => school}/event_management/doctype/speaker/test_speaker.py (100%) rename {community => school}/event_management/doctype/talk/__init__.py (100%) rename {community => school}/event_management/doctype/talk/talk.js (100%) rename {community => school}/event_management/doctype/talk/talk.json (100%) rename {community => school}/event_management/doctype/talk/talk.py (100%) rename {community => school}/event_management/doctype/talk/test_talk.py (100%) rename {community => school}/event_management/web_form/__init__.py (100%) rename {community => school}/event_management/web_form/attendee_registration/__init__.py (100%) rename {community => school}/event_management/web_form/attendee_registration/attendee_registration.js (100%) rename {community => school}/event_management/web_form/attendee_registration/attendee_registration.json (100%) rename {community => school}/event_management/web_form/attendee_registration/attendee_registration.py (100%) rename {community => school}/event_management/web_form/exhibitor_registration/__init__.py (100%) rename {community => school}/event_management/web_form/exhibitor_registration/exhibitor_registration.js (100%) rename {community => school}/event_management/web_form/exhibitor_registration/exhibitor_registration.json (100%) rename {community => school}/event_management/web_form/exhibitor_registration/exhibitor_registration.py (100%) rename {community => school}/event_management/web_form/purpose_a_talk/__init__.py (100%) rename {community => school}/event_management/web_form/purpose_a_talk/purpose_a_talk.js (100%) rename {community => school}/event_management/web_form/purpose_a_talk/purpose_a_talk.json (100%) rename {community => school}/event_management/web_form/purpose_a_talk/purpose_a_talk.py (100%) rename {community => school}/event_management/web_form/speaker_registration/__init__.py (100%) rename {community => school}/event_management/web_form/speaker_registration/speaker_registration.js (100%) rename {community => school}/event_management/web_form/speaker_registration/speaker_registration.json (100%) rename {community => school}/event_management/web_form/speaker_registration/speaker_registration.py (100%) rename {community => school}/event_management/web_template/__init__.py (100%) rename {community => school}/event_management/web_template/exhibitor_section/__init__.py (100%) rename {community => school}/event_management/web_template/exhibitor_section/exhibitor_section.html (100%) rename {community => school}/event_management/web_template/exhibitor_section/exhibitor_section.json (100%) rename {community => school}/event_management/web_template/host_section/__init__.py (100%) rename {community => school}/event_management/web_template/host_section/host_section.html (100%) rename {community => school}/event_management/web_template/host_section/host_section.json (100%) rename {community => school}/event_management/web_template/speaker_section/__init__.py (100%) rename {community => school}/event_management/web_template/speaker_section/speaker_section.html (100%) rename {community => school}/event_management/web_template/speaker_section/speaker_section.json (100%) rename {community => school}/event_management/web_template/talk_section/__init__.py (100%) rename {community => school}/event_management/web_template/talk_section/talk_section.html (100%) rename {community => school}/event_management/web_template/talk_section/talk_section.json (100%) rename {community => school}/fixtures/custom_field.json (100%) rename {community => school}/hackathon/README.md (100%) rename {community => school}/hackathon/__init__.py (100%) rename {community => school}/hackathon/doctype/__init__.py (100%) rename {community => school}/hackathon/doctype/community_hackathon/__init__.py (100%) rename {community => school}/hackathon/doctype/community_hackathon/community_hackathon.js (100%) rename {community => school}/hackathon/doctype/community_hackathon/community_hackathon.json (100%) rename {community => school}/hackathon/doctype/community_hackathon/community_hackathon.py (100%) rename {community => school}/hackathon/doctype/community_hackathon/test_community_hackathon.py (100%) rename {community => school}/hackathon/doctype/community_project/__init__.py (100%) rename {community => school}/hackathon/doctype/community_project/community_project.js (100%) rename {community => school}/hackathon/doctype/community_project/community_project.json (100%) rename {community => school}/hackathon/doctype/community_project/community_project.py (100%) rename {community => school}/hackathon/doctype/community_project/test_community_project.py (100%) rename {community => school}/hackathon/doctype/community_project_evaluation/__init__.py (100%) rename {community => school}/hackathon/doctype/community_project_evaluation/community_project_evaluation.js (100%) rename {community => school}/hackathon/doctype/community_project_evaluation/community_project_evaluation.json (100%) rename {community => school}/hackathon/doctype/community_project_evaluation/community_project_evaluation.py (100%) rename {community => school}/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py (100%) rename {community => school}/hackathon/doctype/community_project_like/__init__.py (100%) rename {community => school}/hackathon/doctype/community_project_like/community_project_like.js (100%) rename {community => school}/hackathon/doctype/community_project_like/community_project_like.json (100%) rename {community => school}/hackathon/doctype/community_project_like/community_project_like.py (100%) rename {community => school}/hackathon/doctype/community_project_like/test_community_project_like.py (100%) rename {community => school}/hackathon/doctype/community_project_member/__init__.py (100%) rename {community => school}/hackathon/doctype/community_project_member/community_project_member.js (100%) rename {community => school}/hackathon/doctype/community_project_member/community_project_member.json (100%) rename {community => school}/hackathon/doctype/community_project_member/community_project_member.py (100%) rename {community => school}/hackathon/doctype/community_project_member/test_community_project_member.py (100%) rename {community => school}/hackathon/doctype/community_project_update/__init__.py (100%) rename {community => school}/hackathon/doctype/community_project_update/community_project_update.js (100%) rename {community => school}/hackathon/doctype/community_project_update/community_project_update.json (100%) rename {community => school}/hackathon/doctype/community_project_update/community_project_update.py (100%) rename {community => school}/hackathon/doctype/community_project_update/test_community_project_update.py (100%) rename {community => school}/hackathon/images/community-hackathon.png (100%) rename {community => school}/hackathon/images/hackathons-portal.png (100%) rename {community => school}/hackathon/images/project-1.png (100%) rename {community => school}/hackathon/images/project-2.png (100%) rename {community => school}/hackathon/images/project-details.png (100%) rename {community => school}/hackathon/images/project-join-request.png (100%) rename {community => school}/hackathon/images/project-portal.png (100%) rename {community => school}/hackathon/web_form/__init__.py (100%) rename {community => school}/hackathon/web_form/join_request/__init__.py (100%) rename {community => school}/hackathon/web_form/join_request/join_request.js (100%) rename {community => school}/hackathon/web_form/join_request/join_request.json (100%) rename {community => school}/hackathon/web_form/join_request/join_request.py (100%) rename {community => school}/hackathon/web_form/project/__init__.py (100%) rename {community => school}/hackathon/web_form/project/project.js (100%) rename {community => school}/hackathon/web_form/project/project.json (100%) rename {community => school}/hackathon/web_form/project/project.py (100%) rename {community => school}/hackathon/web_form/project_update/__init__.py (100%) rename {community => school}/hackathon/web_form/project_update/project_update.js (100%) rename {community => school}/hackathon/web_form/project_update/project_update.json (100%) rename {community => school}/hackathon/web_form/project_update/project_update.py (100%) rename {community => school}/hooks.py (71%) rename {community => school}/lms/__init__.py (100%) rename {community => school}/lms/api.py (100%) rename {community => school}/lms/doctype/__init__.py (100%) rename {community => school}/lms/doctype/chapter_reference/__init__.py (100%) rename {community => school}/lms/doctype/chapter_reference/chapter_reference.json (100%) rename {community => school}/lms/doctype/chapter_reference/chapter_reference.py (100%) rename {community => school}/lms/doctype/course_chapter/__init__.py (100%) rename {community => school}/lms/doctype/course_chapter/course_chapter.js (100%) rename {community => school}/lms/doctype/course_chapter/course_chapter.json (100%) rename {community => school}/lms/doctype/course_chapter/course_chapter.py (100%) rename {community => school}/lms/doctype/course_chapter/test_course_chapter.py (100%) rename {community => school}/lms/doctype/course_lesson/__init__.py (100%) rename {community => school}/lms/doctype/course_lesson/course_lesson.js (100%) rename {community => school}/lms/doctype/course_lesson/course_lesson.json (100%) rename {community => school}/lms/doctype/course_lesson/course_lesson.py (100%) rename {community => school}/lms/doctype/course_lesson/test_course_lesson.py (100%) rename {community => school}/lms/doctype/exercise/__init__.py (100%) rename {community => school}/lms/doctype/exercise/exercise.js (100%) rename {community => school}/lms/doctype/exercise/exercise.json (100%) rename {community => school}/lms/doctype/exercise/exercise.py (100%) rename {community => school}/lms/doctype/exercise/test_exercise.py (100%) rename {community => school}/lms/doctype/exercise_submission/__init__.py (100%) rename {community => school}/lms/doctype/exercise_submission/exercise_submission.js (100%) rename {community => school}/lms/doctype/exercise_submission/exercise_submission.json (100%) rename {community => school}/lms/doctype/exercise_submission/exercise_submission.py (100%) rename {community => school}/lms/doctype/exercise_submission/test_exercise_submission.py (100%) rename {community => school}/lms/doctype/invite_request/__init__.py (100%) rename {community => school}/lms/doctype/invite_request/invite_request.js (100%) rename {community => school}/lms/doctype/invite_request/invite_request.json (100%) rename {community => school}/lms/doctype/invite_request/invite_request.py (100%) rename {community => school}/lms/doctype/invite_request/test_invite_request.py (96%) rename {community => school}/lms/doctype/lesson_reference/__init__.py (100%) rename {community => school}/lms/doctype/lesson_reference/lesson_reference.json (100%) rename {community => school}/lms/doctype/lesson_reference/lesson_reference.py (100%) rename {community => school}/lms/doctype/lms_batch/__init__.py (100%) rename {community => school}/lms/doctype/lms_batch/lms_batch.js (100%) rename {community => school}/lms/doctype/lms_batch/lms_batch.json (100%) rename {community => school}/lms/doctype/lms_batch/lms_batch.py (95%) rename {community => school}/lms/doctype/lms_batch/test_lms_batch.py (100%) rename {community => school}/lms/doctype/lms_batch_membership/__init__.py (100%) rename {community => school}/lms/doctype/lms_batch_membership/lms_batch_membership.js (100%) rename {community => school}/lms/doctype/lms_batch_membership/lms_batch_membership.json (100%) rename {community => school}/lms/doctype/lms_batch_membership/lms_batch_membership.py (100%) rename {community => school}/lms/doctype/lms_batch_membership/test_lms_batch_membership.py (100%) rename {community => school}/lms/doctype/lms_certification/__init__.py (100%) rename {community => school}/lms/doctype/lms_certification/lms_certification.js (100%) rename {community => school}/lms/doctype/lms_certification/lms_certification.json (100%) rename {community => school}/lms/doctype/lms_certification/lms_certification.py (100%) rename {community => school}/lms/doctype/lms_certification/test_lms_certification.py (100%) rename {community => school}/lms/doctype/lms_course/__init__.py (100%) rename {community => school}/lms/doctype/lms_course/lms_course.js (100%) rename {community => school}/lms/doctype/lms_course/lms_course.json (97%) rename {community => school}/lms/doctype/lms_course/lms_course.py (99%) rename {community => school}/lms/doctype/lms_course/test_lms_course.py (100%) rename {community => school}/lms/doctype/lms_course_enrollment/__init__.py (100%) rename {community => school}/lms/doctype/lms_course_enrollment/lms_course_enrollment.js (100%) rename {community => school}/lms/doctype/lms_course_enrollment/lms_course_enrollment.json (100%) rename {community => school}/lms/doctype/lms_course_enrollment/lms_course_enrollment.py (100%) rename {community => school}/lms/doctype/lms_course_enrollment/test_lms_course_enrollment.py (100%) rename {community => school}/lms/doctype/lms_course_interest/__init__.py (100%) rename {community => school}/lms/doctype/lms_course_interest/lms_course_interest.js (100%) rename {community => school}/lms/doctype/lms_course_interest/lms_course_interest.json (100%) rename {community => school}/lms/doctype/lms_course_interest/lms_course_interest.py (100%) rename {community => school}/lms/doctype/lms_course_interest/test_lms_course_interest.py (100%) rename {community => school}/lms/doctype/lms_course_mentor_mapping/__init__.py (100%) rename {community => school}/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.js (100%) rename {community => school}/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json (100%) rename {community => school}/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.py (100%) rename {community => school}/lms/doctype/lms_course_mentor_mapping/test_lms_course_mentor_mapping.py (100%) rename {community => school}/lms/doctype/lms_course_progress/__init__.py (100%) rename {community => school}/lms/doctype/lms_course_progress/lms_course_progress.js (100%) rename {community => school}/lms/doctype/lms_course_progress/lms_course_progress.json (100%) rename {community => school}/lms/doctype/lms_course_progress/lms_course_progress.py (100%) rename {community => school}/lms/doctype/lms_course_progress/test_lms_course_progress.py (100%) rename {community => school}/lms/doctype/lms_course_review/__init__.py (100%) rename {community => school}/lms/doctype/lms_course_review/lms_course_review.js (100%) rename {community => school}/lms/doctype/lms_course_review/lms_course_review.json (100%) rename {community => school}/lms/doctype/lms_course_review/lms_course_review.py (100%) rename {community => school}/lms/doctype/lms_course_review/test_lms_course_review.py (100%) rename {community => school}/lms/doctype/lms_mentor_request/__init__.py (100%) rename {community => school}/lms/doctype/lms_mentor_request/lms_mentor_request.js (100%) rename {community => school}/lms/doctype/lms_mentor_request/lms_mentor_request.json (100%) rename {community => school}/lms/doctype/lms_mentor_request/lms_mentor_request.py (100%) rename {community => school}/lms/doctype/lms_mentor_request/test_lms_mentor_request.py (100%) rename {community => school}/lms/doctype/lms_option/__init__.py (100%) rename {community => school}/lms/doctype/lms_option/lms_option.json (100%) rename {community => school}/lms/doctype/lms_option/lms_option.py (100%) rename {community => school}/lms/doctype/lms_quiz/__init__.py (100%) rename {community => school}/lms/doctype/lms_quiz/lms_quiz.js (100%) rename {community => school}/lms/doctype/lms_quiz/lms_quiz.json (100%) rename {community => school}/lms/doctype/lms_quiz/lms_quiz.py (100%) rename {community => school}/lms/doctype/lms_quiz/test_lms_quiz.py (100%) rename {community => school}/lms/doctype/lms_quiz_question/__init__.py (100%) rename {community => school}/lms/doctype/lms_quiz_question/lms_quiz_question.json (100%) rename {community => school}/lms/doctype/lms_quiz_question/lms_quiz_question.py (100%) rename {community => school}/lms/doctype/lms_quiz_result/__init__.py (100%) rename {community => school}/lms/doctype/lms_quiz_result/lms_quiz_result.json (100%) rename {community => school}/lms/doctype/lms_quiz_result/lms_quiz_result.py (100%) rename {community => school}/lms/doctype/lms_quiz_submission/__init__.py (100%) rename {community => school}/lms/doctype/lms_quiz_submission/lms_quiz_submission.js (100%) rename {community => school}/lms/doctype/lms_quiz_submission/lms_quiz_submission.json (100%) rename {community => school}/lms/doctype/lms_quiz_submission/lms_quiz_submission.py (100%) rename {community => school}/lms/doctype/lms_quiz_submission/test_lms_quiz_submission.py (100%) rename {community => school}/lms/doctype/lms_section/lms_section.py (100%) rename {community => school}/lms/doctype/lms_settings/__init__.py (100%) rename {community => school}/lms/doctype/lms_settings/lms_settings.js (100%) rename {community => school}/lms/doctype/lms_settings/lms_settings.json (100%) rename {community => school}/lms/doctype/lms_settings/lms_settings.py (100%) rename {community => school}/lms/doctype/lms_settings/test_lms_settings.py (100%) rename {community => school}/lms/md.py (96%) rename {community => school}/lms/models.py (100%) rename {community => school}/lms/report/__init__.py (100%) rename {community => school}/lms/report/course_progress_summary/__init__.py (100%) rename {community => school}/lms/report/course_progress_summary/course_progress_summary.js (100%) rename {community => school}/lms/report/course_progress_summary/course_progress_summary.json (100%) rename {community => school}/lms/report/course_progress_summary/course_progress_summary.py (100%) rename {community => school}/lms/test_utils.py (100%) rename {community => school}/lms/utils.py (100%) rename {community => school}/lms/web_form/__init__.py (100%) rename {community => school}/lms/web_form/add_a_new_batch/__init__.py (100%) rename {community => school}/lms/web_form/add_a_new_batch/add_a_new_batch.js (100%) rename {community => school}/lms/web_form/add_a_new_batch/add_a_new_batch.json (100%) rename {community => school}/lms/web_form/add_a_new_batch/add_a_new_batch.py (100%) rename {community => school}/lms/web_form/profile/__init__.py (100%) rename {community => school}/lms/web_form/profile/profile.js (100%) rename {community => school}/lms/web_form/profile/profile.json (100%) rename {community => school}/lms/web_form/profile/profile.py (100%) rename {community => school}/lms/web_template/__init__.py (100%) rename {community => school}/lms/web_template/course_cards/__init__.py (100%) rename {community => school}/lms/web_template/course_cards/course_cards.html (100%) rename {community => school}/lms/web_template/course_cards/course_cards.json (100%) rename {community => school}/lms/widgets/BreadCrumb.html (70%) rename {community => school}/lms/widgets/ChapterTeaser.html (92%) rename {community => school}/lms/widgets/CourseCard.html (84%) rename {community => school}/lms/widgets/CourseOutline.html (100%) rename {community => school}/lms/widgets/CourseTeaser.html (100%) rename {community => school}/lms/widgets/Exercise.html (100%) rename {community => school}/lms/widgets/HelloWorld.html (100%) rename {community => school}/lms/widgets/MemberCard.html (100%) rename {community => school}/lms/widgets/RequestInvite.html (95%) rename {community => school}/lms/widgets/Reviews.html (100%) rename {community => school}/lms/workspace/lms/lms.json (100%) rename {community => school}/modules.txt (100%) rename {community => school}/overrides/test_user.py (96%) rename {community => school}/overrides/user.py (100%) rename {community => school}/overrides/web_template.py (92%) rename {community => school}/page_renderers.py (98%) rename {community => school}/patches.txt (100%) rename {community => school}/patches/change_name_for_community_members.py (100%) rename {community => school}/patches/create_mentor_request_email_templates.py (95%) rename {community => school}/patches/replace_member_with_user_in_batch_membership.py (100%) rename {community => school}/patches/replace_member_with_user_in_course_mentor_mapping.py (100%) rename {community => school}/patches/replace_member_with_user_in_lms_message.py (100%) rename {community => school}/patches/replace_member_with_user_in_mentor_request.py (100%) rename {community => school}/patches/save_abbr_for_community_members.py (100%) rename {community => school}/patches/set_email_preferences.py (100%) rename {community => school}/patches/v0_0/chapter_lesson_index_table.py (100%) rename {community => school}/patches/v0_0/course_instructor_update.py (100%) rename {community => school}/patches/v0_0/rename_chapter_and_lesson_doctype.py (100%) rename {community => school}/patches/v0_0/rename_chapters_and_lessons_doctype.py (100%) rename {community => school}/plugins.py (98%) rename {community => school}/public/css/community.bundle.less (100%) rename {community => school}/public/css/style.css (99%) rename {community => school}/public/css/vars.css (100%) create mode 100644 school/public/dist/css-rtl/community.bundle.IJYJLJRM.css create mode 100644 school/public/dist/css/community.bundle.5K2BM4R4.css create mode 100644 school/public/dist/js/website.bundle.HL5DXFIV.js create mode 100644 school/public/dist/js/website.bundle.HL5DXFIV.js.map rename {community => school}/public/icons/black-arrow.svg (100%) rename {community => school}/public/icons/calendar.svg (100%) rename {community => school}/public/icons/check.svg (100%) rename {community => school}/public/icons/chevron-right.svg (100%) rename {community => school}/public/icons/chevron.svg (100%) rename {community => school}/public/icons/clock.svg (100%) rename {community => school}/public/icons/down-arrow-white.svg (100%) rename {community => school}/public/icons/down-arrow.svg (100%) rename {community => school}/public/icons/down-arrow1.svg (100%) rename {community => school}/public/icons/github.svg (100%) rename {community => school}/public/icons/left-arrow.svg (100%) rename {community => school}/public/icons/like.svg (100%) rename {community => school}/public/icons/lock.svg (100%) rename {community => school}/public/icons/medium.svg (100%) rename {community => school}/public/icons/message.svg (100%) rename {community => school}/public/icons/minus-circle-green.svg (100%) rename {community => school}/public/icons/minus-circle.svg (100%) rename {community => school}/public/icons/play.svg (100%) rename {community => school}/public/icons/rating-filled.svg (100%) rename {community => school}/public/icons/rating.svg (100%) rename {community => school}/public/icons/search.svg (100%) rename {community => school}/public/icons/side-arrow-white.svg (100%) rename {community => school}/public/icons/slash.svg (100%) rename {community => school}/public/icons/small-add-black.svg (100%) rename {community => school}/public/icons/small-add.svg (100%) rename {community => school}/public/icons/tick.svg (100%) rename {community => school}/public/icons/up-arrow-white.svg (100%) rename {community => school}/public/icons/user.svg (100%) rename {community => school}/public/icons/white-arrow.svg (100%) rename {community => school}/public/icons/white-tick.svg (100%) rename {community => school}/public/icons/wrong.svg (100%) rename {community => school}/public/images/Vector.png (100%) rename {community => school}/public/images/certificate-background.png (100%) rename {community => school}/public/images/linkedin.png (100%) rename {community => school}/public/images/play.png (100%) rename {community => school}/public/images/profile-banner.png (100%) rename {community => school}/public/images/wallpaper.png (100%) rename {community => school}/public/js/html2canvas.js (100%) rename {community => school}/public/js/livecode-canvas.js (100%) rename {community => school}/public/js/profile.js (100%) rename {community => school}/public/js/website.bundle.js (100%) rename {community => school}/query.py (100%) rename {community => school}/routing.py (100%) rename {community => school}/templates/__init__.py (100%) rename {community => school}/templates/certificate.html (95%) rename {community => school}/templates/emails/community_course_membership.html (93%) rename {community => school}/templates/emails/lms_course_interest.html (100%) rename {community => school}/templates/emails/lms_daily_digest.html (100%) rename {community => school}/templates/emails/lms_invite_request_approved.html (100%) rename {community => school}/templates/emails/lms_message.html (100%) rename {community => school}/templates/emails/mentor_request_creation_email.html (92%) rename {community => school}/templates/emails/mentor_request_status_update_email.html (88%) rename {community => school}/templates/exercise.html (100%) rename {community => school}/templates/livecode/extension_footer.html (98%) rename {community => school}/templates/livecode/extension_header.html (100%) rename {community => school}/templates/pages/__init__.py (100%) rename {community => school}/templates/quiz.html (100%) rename {community => school}/test_widgets.py (100%) rename {community => school}/widgets.py (100%) rename {community => school}/www/__init__.py (100%) rename {community => school}/www/__pycache__/__init__.py (100%) rename {community => school}/www/batch/__init__.py (100%) rename {community => school}/www/batch/__pycache__/__init__.py (100%) rename {community => school}/www/batch/join.html (95%) rename {community => school}/www/batch/join.py (100%) rename {community => school}/www/batch/learn.html (96%) rename {community => school}/www/batch/learn.js (93%) rename {community => school}/www/batch/learn.py (91%) rename {community => school}/www/batch/utils.py (96%) rename {community => school}/www/courses/__init__.py (100%) rename {community => school}/www/courses/__pycache__/__init__.py (100%) rename {community => school}/www/courses/certificate.html (85%) rename {community => school}/www/courses/certificate.js (100%) rename {community => school}/www/courses/certificate.py (100%) rename {community => school}/www/courses/course.html (93%) rename {community => school}/www/courses/course.js (90%) rename {community => school}/www/courses/course.py (100%) rename {community => school}/www/courses/index.html (100%) rename {community => school}/www/courses/index.py (100%) rename {community => school}/www/courses/utils.py (100%) rename {community => school}/www/hackathons/__init__.py (100%) rename {community => school}/www/hackathons/__pycache__/__init__.py (100%) rename {community => school}/www/hackathons/hackathon.html (100%) rename {community => school}/www/hackathons/hackathon.py (100%) rename {community => school}/www/hackathons/index.html (100%) rename {community => school}/www/hackathons/index.py (100%) rename {community => school}/www/hackathons/macros/__init__.py (100%) rename {community => school}/www/hackathons/macros/card.html (100%) rename {community => school}/www/hackathons/macros/hero.html (100%) rename {community => school}/www/hackathons/macros/navbar.html (100%) rename {community => school}/www/hackathons/macros/user.html (100%) rename {community => school}/www/hackathons/project.html (100%) rename {community => school}/www/hackathons/project.js (61%) rename {community => school}/www/hackathons/project.py (100%) rename {community => school}/www/macros/__init__.py (100%) rename {community => school}/www/macros/common_macro.html (100%) rename {community => school}/www/macros/livecode.html (96%) rename {community => school}/www/new-sign-up.html (95%) rename {community => school}/www/profiles/__init__.py (100%) rename {community => school}/www/profiles/__pycache__/__init__.py (100%) rename {community => school}/www/profiles/profile.html (90%) rename {community => school}/www/profiles/profile.py (94%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 216c84e2..b4a48087 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,15 +57,15 @@ jobs: mkdir -p ~/bench-cache (cd && tar czf ~/bench-cache/bench.tgz frappe-bench) fi - - name: add community app to bench + - name: add school app to bench working-directory: /home/runner/frappe-bench - run: bench get-app community $GITHUB_WORKSPACE + run: bench get-app school $GITHUB_WORKSPACE - name: create bench site working-directory: /home/runner/frappe-bench run: bench new-site --mariadb-root-password root --admin-password admin frappe.local - - name: install community app + - name: install school app working-directory: /home/runner/frappe-bench - run: bench --verbose --site frappe.local install-app community + run: bench --verbose --site frappe.local install-app school - name: allow tests working-directory: /home/runner/frappe-bench run: bench --site frappe.local set-config allow_tests true @@ -74,5 +74,5 @@ jobs: run: bench --site frappe.local build - name: run tests working-directory: /home/runner/frappe-bench - run: bench --site frappe.local run-tests --app community + run: bench --site frappe.local run-tests --app school diff --git a/.gitignore b/.gitignore index 222921e1..6b0bb2e7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ *.egg-info *.swp tags -community/docs/current -community/public/dist +school/docs/current +school/public/dist __pycache__/ *.py[cod] *$py.class diff --git a/MANIFEST.in b/MANIFEST.in index 6f4d9265..75d82839 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,15 +4,15 @@ include *.json include *.md include *.py include *.txt -recursive-include community *.css -recursive-include community *.csv -recursive-include community *.html -recursive-include community *.ico -recursive-include community *.js -recursive-include community *.json -recursive-include community *.md -recursive-include community *.png -recursive-include community *.py -recursive-include community *.svg -recursive-include community *.txt -recursive-exclude community *.pyc \ No newline at end of file +recursive-include school *.css +recursive-include school *.csv +recursive-include school *.html +recursive-include school *.ico +recursive-include school *.js +recursive-include school *.json +recursive-include school *.md +recursive-include school *.png +recursive-include school *.py +recursive-include school *.svg +recursive-include school *.txt +recursive-exclude school *.pyc \ No newline at end of file diff --git a/README.md b/README.md index 4f9647cf..b4c00699 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Community +## School This app helps people organize and manage their own communities. @@ -7,16 +7,16 @@ The App has following components: 1. Hackathons 1. LMS -Community is built on the [Frappe Framework](https://github.com/frappe/frappe), a full-stack web app framework built with Python & JavaScript. +School is built on the [Frappe Framework](https://github.com/frappe/frappe), a full-stack web app framework built with Python & JavaScript. ## Development Setup **Step 1:** Clone the repo ``` -$ git clone https://github.com/fossunited/community.git +$ git clone https://github.com/frappe/school.git -$ cd community +$ cd school ``` **Step 2:** Run docker-compose @@ -59,15 +59,15 @@ To setup the repository locally follow the steps mentioned below: 1. Install bench and setup a frappe-bench directory by following the [Installation Steps](https://frappeframework.com/docs/user/en/installation). 1. Start the server by running bench start. -1. In a separate terminal window, create a new site by running bench new-site community.test. -1. Run bench get-app https://github.com/fossunited/community. -1. Run bench --site community.test install-app community. -1. Map your site to localhost with the command ```bench --site community.test add-to-hosts``` -1. Now open the URL http://community.test:8000/ in your browser, you should see the app running. +1. In a separate terminal window, create a new site by running bench new-site school.test. +1. Run bench get-app https://github.com/frappe/school. +1. Run bench --site school.test install-app school. +1. Map your site to localhost with the command ```bench --site school.test add-to-hosts``` +1. Now open the URL http://school.test:8000/ in your browser, you should see the app running. ### Contribution Guidelines (for The Hard Way) -1. Go to the apps/community directory of your installation and execute git pull --unshallow to ensure that you have the full git repository. Also fork the fossunited/community repository on GitHub. +1. Go to the apps/school directory of your installation and execute git pull --unshallow to ensure that you have the full git repository. Also fork the frappe/school repository on GitHub. 1. Check out a working branch in git (e.g. git checkout -b my-new-branch). 1. Make your proposed changes to the source 1. Run your local version (e.g. bench start in your bench installation). Make sure that your changes work the way you want them to. diff --git a/docker-compose.yml b/docker-compose.yml index 6700698e..558cb815 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,9 +17,9 @@ services: bench: image: anandology/frappe-bench volumes: - - .:/home/bench/frappe-bench/apps/community + - .:/home/bench/frappe-bench/apps/school environment: - - FRAPPE_APPS=community + - FRAPPE_APPS=school - FRAPPE_ALLOW_TESTS=true - FRAPPE_SITE_NAME=frappe.localhost depends_on: diff --git a/community/__init__.py b/school/__init__.py similarity index 100% rename from community/__init__.py rename to school/__init__.py diff --git a/community/community/__init__.py b/school/community/__init__.py similarity index 100% rename from community/community/__init__.py rename to school/community/__init__.py diff --git a/community/community/doctype/__init__.py b/school/community/doctype/__init__.py similarity index 100% rename from community/community/doctype/__init__.py rename to school/community/doctype/__init__.py diff --git a/community/community/doctype/community_event/__init__.py b/school/community/doctype/community_event/__init__.py similarity index 100% rename from community/community/doctype/community_event/__init__.py rename to school/community/doctype/community_event/__init__.py diff --git a/community/community/doctype/community_event/community_event.js b/school/community/doctype/community_event/community_event.js similarity index 100% rename from community/community/doctype/community_event/community_event.js rename to school/community/doctype/community_event/community_event.js diff --git a/community/community/doctype/community_event/community_event.json b/school/community/doctype/community_event/community_event.json similarity index 100% rename from community/community/doctype/community_event/community_event.json rename to school/community/doctype/community_event/community_event.json diff --git a/community/community/doctype/community_event/community_event.py b/school/community/doctype/community_event/community_event.py similarity index 100% rename from community/community/doctype/community_event/community_event.py rename to school/community/doctype/community_event/community_event.py diff --git a/community/community/doctype/community_event/test_community_event.py b/school/community/doctype/community_event/test_community_event.py similarity index 100% rename from community/community/doctype/community_event/test_community_event.py rename to school/community/doctype/community_event/test_community_event.py diff --git a/community/community/doctype/community_event_volunteer/__init__.py b/school/community/doctype/community_event_volunteer/__init__.py similarity index 100% rename from community/community/doctype/community_event_volunteer/__init__.py rename to school/community/doctype/community_event_volunteer/__init__.py diff --git a/community/community/doctype/community_event_volunteer/community_event_volunteer.json b/school/community/doctype/community_event_volunteer/community_event_volunteer.json similarity index 100% rename from community/community/doctype/community_event_volunteer/community_event_volunteer.json rename to school/community/doctype/community_event_volunteer/community_event_volunteer.json diff --git a/community/community/doctype/community_event_volunteer/community_event_volunteer.py b/school/community/doctype/community_event_volunteer/community_event_volunteer.py similarity index 100% rename from community/community/doctype/community_event_volunteer/community_event_volunteer.py rename to school/community/doctype/community_event_volunteer/community_event_volunteer.py diff --git a/community/community/doctype/community_participant/__init__.py b/school/community/doctype/community_participant/__init__.py similarity index 100% rename from community/community/doctype/community_participant/__init__.py rename to school/community/doctype/community_participant/__init__.py diff --git a/community/community/doctype/community_participant/community_participant.js b/school/community/doctype/community_participant/community_participant.js similarity index 100% rename from community/community/doctype/community_participant/community_participant.js rename to school/community/doctype/community_participant/community_participant.js diff --git a/community/community/doctype/community_participant/community_participant.json b/school/community/doctype/community_participant/community_participant.json similarity index 100% rename from community/community/doctype/community_participant/community_participant.json rename to school/community/doctype/community_participant/community_participant.json diff --git a/community/community/doctype/community_participant/community_participant.py b/school/community/doctype/community_participant/community_participant.py similarity index 100% rename from community/community/doctype/community_participant/community_participant.py rename to school/community/doctype/community_participant/community_participant.py diff --git a/community/community/doctype/community_participant/test_community_participant.py b/school/community/doctype/community_participant/test_community_participant.py similarity index 100% rename from community/community/doctype/community_participant/test_community_participant.py rename to school/community/doctype/community_participant/test_community_participant.py diff --git a/community/community/doctype/community_speaker/__init__.py b/school/community/doctype/community_speaker/__init__.py similarity index 100% rename from community/community/doctype/community_speaker/__init__.py rename to school/community/doctype/community_speaker/__init__.py diff --git a/community/community/doctype/community_speaker/community_speaker.js b/school/community/doctype/community_speaker/community_speaker.js similarity index 100% rename from community/community/doctype/community_speaker/community_speaker.js rename to school/community/doctype/community_speaker/community_speaker.js diff --git a/community/community/doctype/community_speaker/community_speaker.json b/school/community/doctype/community_speaker/community_speaker.json similarity index 100% rename from community/community/doctype/community_speaker/community_speaker.json rename to school/community/doctype/community_speaker/community_speaker.json diff --git a/community/community/doctype/community_speaker/community_speaker.py b/school/community/doctype/community_speaker/community_speaker.py similarity index 100% rename from community/community/doctype/community_speaker/community_speaker.py rename to school/community/doctype/community_speaker/community_speaker.py diff --git a/community/community/doctype/community_speaker/test_community_speaker.py b/school/community/doctype/community_speaker/test_community_speaker.py similarity index 100% rename from community/community/doctype/community_speaker/test_community_speaker.py rename to school/community/doctype/community_speaker/test_community_speaker.py diff --git a/community/community/doctype/community_sponsor/__init__.py b/school/community/doctype/community_sponsor/__init__.py similarity index 100% rename from community/community/doctype/community_sponsor/__init__.py rename to school/community/doctype/community_sponsor/__init__.py diff --git a/community/community/doctype/community_sponsor/community_sponsor.js b/school/community/doctype/community_sponsor/community_sponsor.js similarity index 100% rename from community/community/doctype/community_sponsor/community_sponsor.js rename to school/community/doctype/community_sponsor/community_sponsor.js diff --git a/community/community/doctype/community_sponsor/community_sponsor.json b/school/community/doctype/community_sponsor/community_sponsor.json similarity index 100% rename from community/community/doctype/community_sponsor/community_sponsor.json rename to school/community/doctype/community_sponsor/community_sponsor.json diff --git a/community/community/doctype/community_sponsor/community_sponsor.py b/school/community/doctype/community_sponsor/community_sponsor.py similarity index 100% rename from community/community/doctype/community_sponsor/community_sponsor.py rename to school/community/doctype/community_sponsor/community_sponsor.py diff --git a/community/community/doctype/community_sponsor/test_community_sponsor.py b/school/community/doctype/community_sponsor/test_community_sponsor.py similarity index 100% rename from community/community/doctype/community_sponsor/test_community_sponsor.py rename to school/community/doctype/community_sponsor/test_community_sponsor.py diff --git a/community/community/doctype/community_talk/__init__.py b/school/community/doctype/community_talk/__init__.py similarity index 100% rename from community/community/doctype/community_talk/__init__.py rename to school/community/doctype/community_talk/__init__.py diff --git a/community/community/doctype/community_talk/community_talk.js b/school/community/doctype/community_talk/community_talk.js similarity index 100% rename from community/community/doctype/community_talk/community_talk.js rename to school/community/doctype/community_talk/community_talk.js diff --git a/community/community/doctype/community_talk/community_talk.json b/school/community/doctype/community_talk/community_talk.json similarity index 100% rename from community/community/doctype/community_talk/community_talk.json rename to school/community/doctype/community_talk/community_talk.json diff --git a/community/community/doctype/community_talk/community_talk.py b/school/community/doctype/community_talk/community_talk.py similarity index 100% rename from community/community/doctype/community_talk/community_talk.py rename to school/community/doctype/community_talk/community_talk.py diff --git a/community/community/doctype/community_talk/test_community_talk.py b/school/community/doctype/community_talk/test_community_talk.py similarity index 100% rename from community/community/doctype/community_talk/test_community_talk.py rename to school/community/doctype/community_talk/test_community_talk.py diff --git a/community/community/doctype/tshirt_sizes/__init__.py b/school/community/doctype/tshirt_sizes/__init__.py similarity index 100% rename from community/community/doctype/tshirt_sizes/__init__.py rename to school/community/doctype/tshirt_sizes/__init__.py diff --git a/community/community/doctype/tshirt_sizes/test_tshirt_sizes.py b/school/community/doctype/tshirt_sizes/test_tshirt_sizes.py similarity index 100% rename from community/community/doctype/tshirt_sizes/test_tshirt_sizes.py rename to school/community/doctype/tshirt_sizes/test_tshirt_sizes.py diff --git a/community/community/doctype/tshirt_sizes/tshirt_sizes.js b/school/community/doctype/tshirt_sizes/tshirt_sizes.js similarity index 100% rename from community/community/doctype/tshirt_sizes/tshirt_sizes.js rename to school/community/doctype/tshirt_sizes/tshirt_sizes.js diff --git a/community/community/doctype/tshirt_sizes/tshirt_sizes.json b/school/community/doctype/tshirt_sizes/tshirt_sizes.json similarity index 100% rename from community/community/doctype/tshirt_sizes/tshirt_sizes.json rename to school/community/doctype/tshirt_sizes/tshirt_sizes.json diff --git a/community/community/doctype/tshirt_sizes/tshirt_sizes.py b/school/community/doctype/tshirt_sizes/tshirt_sizes.py similarity index 100% rename from community/community/doctype/tshirt_sizes/tshirt_sizes.py rename to school/community/doctype/tshirt_sizes/tshirt_sizes.py diff --git a/community/community/utils.py b/school/community/utils.py similarity index 100% rename from community/community/utils.py rename to school/community/utils.py diff --git a/community/community/web_form/__init__.py b/school/community/web_form/__init__.py similarity index 100% rename from community/community/web_form/__init__.py rename to school/community/web_form/__init__.py diff --git a/community/community/web_form/join_request/__init__.py b/school/community/web_form/join_request/__init__.py similarity index 100% rename from community/community/web_form/join_request/__init__.py rename to school/community/web_form/join_request/__init__.py diff --git a/community/community/web_form/join_request/join_request.js b/school/community/web_form/join_request/join_request.js similarity index 100% rename from community/community/web_form/join_request/join_request.js rename to school/community/web_form/join_request/join_request.js diff --git a/community/community/web_form/join_request/join_request.json b/school/community/web_form/join_request/join_request.json similarity index 100% rename from community/community/web_form/join_request/join_request.json rename to school/community/web_form/join_request/join_request.json diff --git a/community/community/web_form/join_request/join_request.py b/school/community/web_form/join_request/join_request.py similarity index 100% rename from community/community/web_form/join_request/join_request.py rename to school/community/web_form/join_request/join_request.py diff --git a/community/community/web_form/project_update/__init__.py b/school/community/web_form/project_update/__init__.py similarity index 100% rename from community/community/web_form/project_update/__init__.py rename to school/community/web_form/project_update/__init__.py diff --git a/community/community/web_form/project_update/project_update.js b/school/community/web_form/project_update/project_update.js similarity index 100% rename from community/community/web_form/project_update/project_update.js rename to school/community/web_form/project_update/project_update.js diff --git a/community/community/web_form/project_update/project_update.json b/school/community/web_form/project_update/project_update.json similarity index 100% rename from community/community/web_form/project_update/project_update.json rename to school/community/web_form/project_update/project_update.json diff --git a/community/community/web_form/project_update/project_update.py b/school/community/web_form/project_update/project_update.py similarity index 100% rename from community/community/web_form/project_update/project_update.py rename to school/community/web_form/project_update/project_update.py diff --git a/community/community/web_template/__init__.py b/school/community/web_template/__init__.py similarity index 100% rename from community/community/web_template/__init__.py rename to school/community/web_template/__init__.py diff --git a/community/community/widgets/Avatar.html b/school/community/widgets/Avatar.html similarity index 100% rename from community/community/widgets/Avatar.html rename to school/community/widgets/Avatar.html diff --git a/community/conference/__init__.py b/school/conference/__init__.py similarity index 100% rename from community/conference/__init__.py rename to school/conference/__init__.py diff --git a/community/conference/doctype/__init__.py b/school/conference/doctype/__init__.py similarity index 100% rename from community/conference/doctype/__init__.py rename to school/conference/doctype/__init__.py diff --git a/community/conference/doctype/community_conference/__init__.py b/school/conference/doctype/community_conference/__init__.py similarity index 100% rename from community/conference/doctype/community_conference/__init__.py rename to school/conference/doctype/community_conference/__init__.py diff --git a/community/conference/doctype/community_conference/community_conference.js b/school/conference/doctype/community_conference/community_conference.js similarity index 100% rename from community/conference/doctype/community_conference/community_conference.js rename to school/conference/doctype/community_conference/community_conference.js diff --git a/community/conference/doctype/community_conference/community_conference.json b/school/conference/doctype/community_conference/community_conference.json similarity index 100% rename from community/conference/doctype/community_conference/community_conference.json rename to school/conference/doctype/community_conference/community_conference.json diff --git a/community/conference/doctype/community_conference/community_conference.py b/school/conference/doctype/community_conference/community_conference.py similarity index 100% rename from community/conference/doctype/community_conference/community_conference.py rename to school/conference/doctype/community_conference/community_conference.py diff --git a/community/conference/doctype/community_conference/test_community_conference.py b/school/conference/doctype/community_conference/test_community_conference.py similarity index 100% rename from community/conference/doctype/community_conference/test_community_conference.py rename to school/conference/doctype/community_conference/test_community_conference.py diff --git a/community/conference/doctype/community_conference_participant/__init__.py b/school/conference/doctype/community_conference_participant/__init__.py similarity index 100% rename from community/conference/doctype/community_conference_participant/__init__.py rename to school/conference/doctype/community_conference_participant/__init__.py diff --git a/community/conference/doctype/community_conference_participant/community_conference_participant.js b/school/conference/doctype/community_conference_participant/community_conference_participant.js similarity index 100% rename from community/conference/doctype/community_conference_participant/community_conference_participant.js rename to school/conference/doctype/community_conference_participant/community_conference_participant.js diff --git a/community/conference/doctype/community_conference_participant/community_conference_participant.json b/school/conference/doctype/community_conference_participant/community_conference_participant.json similarity index 100% rename from community/conference/doctype/community_conference_participant/community_conference_participant.json rename to school/conference/doctype/community_conference_participant/community_conference_participant.json diff --git a/community/conference/doctype/community_conference_participant/community_conference_participant.py b/school/conference/doctype/community_conference_participant/community_conference_participant.py similarity index 100% rename from community/conference/doctype/community_conference_participant/community_conference_participant.py rename to school/conference/doctype/community_conference_participant/community_conference_participant.py diff --git a/community/conference/doctype/community_conference_participant/test_community_conference_participant.py b/school/conference/doctype/community_conference_participant/test_community_conference_participant.py similarity index 100% rename from community/conference/doctype/community_conference_participant/test_community_conference_participant.py rename to school/conference/doctype/community_conference_participant/test_community_conference_participant.py diff --git a/community/conference/doctype/community_conference_request/__init__.py b/school/conference/doctype/community_conference_request/__init__.py similarity index 100% rename from community/conference/doctype/community_conference_request/__init__.py rename to school/conference/doctype/community_conference_request/__init__.py diff --git a/community/conference/doctype/community_conference_request/community_conference_request.js b/school/conference/doctype/community_conference_request/community_conference_request.js similarity index 100% rename from community/conference/doctype/community_conference_request/community_conference_request.js rename to school/conference/doctype/community_conference_request/community_conference_request.js diff --git a/community/conference/doctype/community_conference_request/community_conference_request.json b/school/conference/doctype/community_conference_request/community_conference_request.json similarity index 100% rename from community/conference/doctype/community_conference_request/community_conference_request.json rename to school/conference/doctype/community_conference_request/community_conference_request.json diff --git a/community/conference/doctype/community_conference_request/community_conference_request.py b/school/conference/doctype/community_conference_request/community_conference_request.py similarity index 100% rename from community/conference/doctype/community_conference_request/community_conference_request.py rename to school/conference/doctype/community_conference_request/community_conference_request.py diff --git a/community/conference/doctype/community_conference_request/test_community_conference_request.py b/school/conference/doctype/community_conference_request/test_community_conference_request.py similarity index 100% rename from community/conference/doctype/community_conference_request/test_community_conference_request.py rename to school/conference/doctype/community_conference_request/test_community_conference_request.py diff --git a/community/config/__init__.py b/school/config/__init__.py similarity index 100% rename from community/config/__init__.py rename to school/config/__init__.py diff --git a/community/config/desktop.py b/school/config/desktop.py similarity index 100% rename from community/config/desktop.py rename to school/config/desktop.py diff --git a/community/config/docs.py b/school/config/docs.py similarity index 100% rename from community/config/docs.py rename to school/config/docs.py diff --git a/community/event_management/__init__.py b/school/event_management/__init__.py similarity index 100% rename from community/event_management/__init__.py rename to school/event_management/__init__.py diff --git a/community/event_management/doctype/__init__.py b/school/event_management/doctype/__init__.py similarity index 100% rename from community/event_management/doctype/__init__.py rename to school/event_management/doctype/__init__.py diff --git a/community/event_management/doctype/attendee/__init__.py b/school/event_management/doctype/attendee/__init__.py similarity index 100% rename from community/event_management/doctype/attendee/__init__.py rename to school/event_management/doctype/attendee/__init__.py diff --git a/community/event_management/doctype/attendee/attendee.js b/school/event_management/doctype/attendee/attendee.js similarity index 100% rename from community/event_management/doctype/attendee/attendee.js rename to school/event_management/doctype/attendee/attendee.js diff --git a/community/event_management/doctype/attendee/attendee.json b/school/event_management/doctype/attendee/attendee.json similarity index 100% rename from community/event_management/doctype/attendee/attendee.json rename to school/event_management/doctype/attendee/attendee.json diff --git a/community/event_management/doctype/attendee/attendee.py b/school/event_management/doctype/attendee/attendee.py similarity index 100% rename from community/event_management/doctype/attendee/attendee.py rename to school/event_management/doctype/attendee/attendee.py diff --git a/community/event_management/doctype/attendee/test_attendee.py b/school/event_management/doctype/attendee/test_attendee.py similarity index 100% rename from community/event_management/doctype/attendee/test_attendee.py rename to school/event_management/doctype/attendee/test_attendee.py diff --git a/community/event_management/doctype/event_details/__init__.py b/school/event_management/doctype/event_details/__init__.py similarity index 100% rename from community/event_management/doctype/event_details/__init__.py rename to school/event_management/doctype/event_details/__init__.py diff --git a/community/event_management/doctype/event_details/event_details.js b/school/event_management/doctype/event_details/event_details.js similarity index 100% rename from community/event_management/doctype/event_details/event_details.js rename to school/event_management/doctype/event_details/event_details.js diff --git a/community/event_management/doctype/event_details/event_details.json b/school/event_management/doctype/event_details/event_details.json similarity index 100% rename from community/event_management/doctype/event_details/event_details.json rename to school/event_management/doctype/event_details/event_details.json diff --git a/community/event_management/doctype/event_details/event_details.py b/school/event_management/doctype/event_details/event_details.py similarity index 100% rename from community/event_management/doctype/event_details/event_details.py rename to school/event_management/doctype/event_details/event_details.py diff --git a/community/event_management/doctype/event_details/test_event_details.py b/school/event_management/doctype/event_details/test_event_details.py similarity index 100% rename from community/event_management/doctype/event_details/test_event_details.py rename to school/event_management/doctype/event_details/test_event_details.py diff --git a/community/event_management/doctype/event_ticket/__init__.py b/school/event_management/doctype/event_ticket/__init__.py similarity index 100% rename from community/event_management/doctype/event_ticket/__init__.py rename to school/event_management/doctype/event_ticket/__init__.py diff --git a/community/event_management/doctype/event_ticket/event_ticket.js b/school/event_management/doctype/event_ticket/event_ticket.js similarity index 100% rename from community/event_management/doctype/event_ticket/event_ticket.js rename to school/event_management/doctype/event_ticket/event_ticket.js diff --git a/community/event_management/doctype/event_ticket/event_ticket.json b/school/event_management/doctype/event_ticket/event_ticket.json similarity index 100% rename from community/event_management/doctype/event_ticket/event_ticket.json rename to school/event_management/doctype/event_ticket/event_ticket.json diff --git a/community/event_management/doctype/event_ticket/event_ticket.py b/school/event_management/doctype/event_ticket/event_ticket.py similarity index 100% rename from community/event_management/doctype/event_ticket/event_ticket.py rename to school/event_management/doctype/event_ticket/event_ticket.py diff --git a/community/event_management/doctype/event_ticket/test_event_ticket.py b/school/event_management/doctype/event_ticket/test_event_ticket.py similarity index 100% rename from community/event_management/doctype/event_ticket/test_event_ticket.py rename to school/event_management/doctype/event_ticket/test_event_ticket.py diff --git a/community/event_management/doctype/exhibitor/__init__.py b/school/event_management/doctype/exhibitor/__init__.py similarity index 100% rename from community/event_management/doctype/exhibitor/__init__.py rename to school/event_management/doctype/exhibitor/__init__.py diff --git a/community/event_management/doctype/exhibitor/exhibitor.js b/school/event_management/doctype/exhibitor/exhibitor.js similarity index 100% rename from community/event_management/doctype/exhibitor/exhibitor.js rename to school/event_management/doctype/exhibitor/exhibitor.js diff --git a/community/event_management/doctype/exhibitor/exhibitor.json b/school/event_management/doctype/exhibitor/exhibitor.json similarity index 100% rename from community/event_management/doctype/exhibitor/exhibitor.json rename to school/event_management/doctype/exhibitor/exhibitor.json diff --git a/community/event_management/doctype/exhibitor/exhibitor.py b/school/event_management/doctype/exhibitor/exhibitor.py similarity index 100% rename from community/event_management/doctype/exhibitor/exhibitor.py rename to school/event_management/doctype/exhibitor/exhibitor.py diff --git a/community/event_management/doctype/exhibitor/test_exhibitor.py b/school/event_management/doctype/exhibitor/test_exhibitor.py similarity index 100% rename from community/event_management/doctype/exhibitor/test_exhibitor.py rename to school/event_management/doctype/exhibitor/test_exhibitor.py diff --git a/community/event_management/doctype/host/__init__.py b/school/event_management/doctype/host/__init__.py similarity index 100% rename from community/event_management/doctype/host/__init__.py rename to school/event_management/doctype/host/__init__.py diff --git a/community/event_management/doctype/host/host.js b/school/event_management/doctype/host/host.js similarity index 100% rename from community/event_management/doctype/host/host.js rename to school/event_management/doctype/host/host.js diff --git a/community/event_management/doctype/host/host.json b/school/event_management/doctype/host/host.json similarity index 100% rename from community/event_management/doctype/host/host.json rename to school/event_management/doctype/host/host.json diff --git a/community/event_management/doctype/host/host.py b/school/event_management/doctype/host/host.py similarity index 100% rename from community/event_management/doctype/host/host.py rename to school/event_management/doctype/host/host.py diff --git a/community/event_management/doctype/host/test_host.py b/school/event_management/doctype/host/test_host.py similarity index 100% rename from community/event_management/doctype/host/test_host.py rename to school/event_management/doctype/host/test_host.py diff --git a/community/event_management/doctype/speaker/__init__.py b/school/event_management/doctype/speaker/__init__.py similarity index 100% rename from community/event_management/doctype/speaker/__init__.py rename to school/event_management/doctype/speaker/__init__.py diff --git a/community/event_management/doctype/speaker/speaker.js b/school/event_management/doctype/speaker/speaker.js similarity index 100% rename from community/event_management/doctype/speaker/speaker.js rename to school/event_management/doctype/speaker/speaker.js diff --git a/community/event_management/doctype/speaker/speaker.json b/school/event_management/doctype/speaker/speaker.json similarity index 100% rename from community/event_management/doctype/speaker/speaker.json rename to school/event_management/doctype/speaker/speaker.json diff --git a/community/event_management/doctype/speaker/speaker.py b/school/event_management/doctype/speaker/speaker.py similarity index 100% rename from community/event_management/doctype/speaker/speaker.py rename to school/event_management/doctype/speaker/speaker.py diff --git a/community/event_management/doctype/speaker/test_speaker.py b/school/event_management/doctype/speaker/test_speaker.py similarity index 100% rename from community/event_management/doctype/speaker/test_speaker.py rename to school/event_management/doctype/speaker/test_speaker.py diff --git a/community/event_management/doctype/talk/__init__.py b/school/event_management/doctype/talk/__init__.py similarity index 100% rename from community/event_management/doctype/talk/__init__.py rename to school/event_management/doctype/talk/__init__.py diff --git a/community/event_management/doctype/talk/talk.js b/school/event_management/doctype/talk/talk.js similarity index 100% rename from community/event_management/doctype/talk/talk.js rename to school/event_management/doctype/talk/talk.js diff --git a/community/event_management/doctype/talk/talk.json b/school/event_management/doctype/talk/talk.json similarity index 100% rename from community/event_management/doctype/talk/talk.json rename to school/event_management/doctype/talk/talk.json diff --git a/community/event_management/doctype/talk/talk.py b/school/event_management/doctype/talk/talk.py similarity index 100% rename from community/event_management/doctype/talk/talk.py rename to school/event_management/doctype/talk/talk.py diff --git a/community/event_management/doctype/talk/test_talk.py b/school/event_management/doctype/talk/test_talk.py similarity index 100% rename from community/event_management/doctype/talk/test_talk.py rename to school/event_management/doctype/talk/test_talk.py diff --git a/community/event_management/web_form/__init__.py b/school/event_management/web_form/__init__.py similarity index 100% rename from community/event_management/web_form/__init__.py rename to school/event_management/web_form/__init__.py diff --git a/community/event_management/web_form/attendee_registration/__init__.py b/school/event_management/web_form/attendee_registration/__init__.py similarity index 100% rename from community/event_management/web_form/attendee_registration/__init__.py rename to school/event_management/web_form/attendee_registration/__init__.py diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.js b/school/event_management/web_form/attendee_registration/attendee_registration.js similarity index 100% rename from community/event_management/web_form/attendee_registration/attendee_registration.js rename to school/event_management/web_form/attendee_registration/attendee_registration.js diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.json b/school/event_management/web_form/attendee_registration/attendee_registration.json similarity index 100% rename from community/event_management/web_form/attendee_registration/attendee_registration.json rename to school/event_management/web_form/attendee_registration/attendee_registration.json diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.py b/school/event_management/web_form/attendee_registration/attendee_registration.py similarity index 100% rename from community/event_management/web_form/attendee_registration/attendee_registration.py rename to school/event_management/web_form/attendee_registration/attendee_registration.py diff --git a/community/event_management/web_form/exhibitor_registration/__init__.py b/school/event_management/web_form/exhibitor_registration/__init__.py similarity index 100% rename from community/event_management/web_form/exhibitor_registration/__init__.py rename to school/event_management/web_form/exhibitor_registration/__init__.py diff --git a/community/event_management/web_form/exhibitor_registration/exhibitor_registration.js b/school/event_management/web_form/exhibitor_registration/exhibitor_registration.js similarity index 100% rename from community/event_management/web_form/exhibitor_registration/exhibitor_registration.js rename to school/event_management/web_form/exhibitor_registration/exhibitor_registration.js diff --git a/community/event_management/web_form/exhibitor_registration/exhibitor_registration.json b/school/event_management/web_form/exhibitor_registration/exhibitor_registration.json similarity index 100% rename from community/event_management/web_form/exhibitor_registration/exhibitor_registration.json rename to school/event_management/web_form/exhibitor_registration/exhibitor_registration.json diff --git a/community/event_management/web_form/exhibitor_registration/exhibitor_registration.py b/school/event_management/web_form/exhibitor_registration/exhibitor_registration.py similarity index 100% rename from community/event_management/web_form/exhibitor_registration/exhibitor_registration.py rename to school/event_management/web_form/exhibitor_registration/exhibitor_registration.py diff --git a/community/event_management/web_form/purpose_a_talk/__init__.py b/school/event_management/web_form/purpose_a_talk/__init__.py similarity index 100% rename from community/event_management/web_form/purpose_a_talk/__init__.py rename to school/event_management/web_form/purpose_a_talk/__init__.py diff --git a/community/event_management/web_form/purpose_a_talk/purpose_a_talk.js b/school/event_management/web_form/purpose_a_talk/purpose_a_talk.js similarity index 100% rename from community/event_management/web_form/purpose_a_talk/purpose_a_talk.js rename to school/event_management/web_form/purpose_a_talk/purpose_a_talk.js diff --git a/community/event_management/web_form/purpose_a_talk/purpose_a_talk.json b/school/event_management/web_form/purpose_a_talk/purpose_a_talk.json similarity index 100% rename from community/event_management/web_form/purpose_a_talk/purpose_a_talk.json rename to school/event_management/web_form/purpose_a_talk/purpose_a_talk.json diff --git a/community/event_management/web_form/purpose_a_talk/purpose_a_talk.py b/school/event_management/web_form/purpose_a_talk/purpose_a_talk.py similarity index 100% rename from community/event_management/web_form/purpose_a_talk/purpose_a_talk.py rename to school/event_management/web_form/purpose_a_talk/purpose_a_talk.py diff --git a/community/event_management/web_form/speaker_registration/__init__.py b/school/event_management/web_form/speaker_registration/__init__.py similarity index 100% rename from community/event_management/web_form/speaker_registration/__init__.py rename to school/event_management/web_form/speaker_registration/__init__.py diff --git a/community/event_management/web_form/speaker_registration/speaker_registration.js b/school/event_management/web_form/speaker_registration/speaker_registration.js similarity index 100% rename from community/event_management/web_form/speaker_registration/speaker_registration.js rename to school/event_management/web_form/speaker_registration/speaker_registration.js diff --git a/community/event_management/web_form/speaker_registration/speaker_registration.json b/school/event_management/web_form/speaker_registration/speaker_registration.json similarity index 100% rename from community/event_management/web_form/speaker_registration/speaker_registration.json rename to school/event_management/web_form/speaker_registration/speaker_registration.json diff --git a/community/event_management/web_form/speaker_registration/speaker_registration.py b/school/event_management/web_form/speaker_registration/speaker_registration.py similarity index 100% rename from community/event_management/web_form/speaker_registration/speaker_registration.py rename to school/event_management/web_form/speaker_registration/speaker_registration.py diff --git a/community/event_management/web_template/__init__.py b/school/event_management/web_template/__init__.py similarity index 100% rename from community/event_management/web_template/__init__.py rename to school/event_management/web_template/__init__.py diff --git a/community/event_management/web_template/exhibitor_section/__init__.py b/school/event_management/web_template/exhibitor_section/__init__.py similarity index 100% rename from community/event_management/web_template/exhibitor_section/__init__.py rename to school/event_management/web_template/exhibitor_section/__init__.py diff --git a/community/event_management/web_template/exhibitor_section/exhibitor_section.html b/school/event_management/web_template/exhibitor_section/exhibitor_section.html similarity index 100% rename from community/event_management/web_template/exhibitor_section/exhibitor_section.html rename to school/event_management/web_template/exhibitor_section/exhibitor_section.html diff --git a/community/event_management/web_template/exhibitor_section/exhibitor_section.json b/school/event_management/web_template/exhibitor_section/exhibitor_section.json similarity index 100% rename from community/event_management/web_template/exhibitor_section/exhibitor_section.json rename to school/event_management/web_template/exhibitor_section/exhibitor_section.json diff --git a/community/event_management/web_template/host_section/__init__.py b/school/event_management/web_template/host_section/__init__.py similarity index 100% rename from community/event_management/web_template/host_section/__init__.py rename to school/event_management/web_template/host_section/__init__.py diff --git a/community/event_management/web_template/host_section/host_section.html b/school/event_management/web_template/host_section/host_section.html similarity index 100% rename from community/event_management/web_template/host_section/host_section.html rename to school/event_management/web_template/host_section/host_section.html diff --git a/community/event_management/web_template/host_section/host_section.json b/school/event_management/web_template/host_section/host_section.json similarity index 100% rename from community/event_management/web_template/host_section/host_section.json rename to school/event_management/web_template/host_section/host_section.json diff --git a/community/event_management/web_template/speaker_section/__init__.py b/school/event_management/web_template/speaker_section/__init__.py similarity index 100% rename from community/event_management/web_template/speaker_section/__init__.py rename to school/event_management/web_template/speaker_section/__init__.py diff --git a/community/event_management/web_template/speaker_section/speaker_section.html b/school/event_management/web_template/speaker_section/speaker_section.html similarity index 100% rename from community/event_management/web_template/speaker_section/speaker_section.html rename to school/event_management/web_template/speaker_section/speaker_section.html diff --git a/community/event_management/web_template/speaker_section/speaker_section.json b/school/event_management/web_template/speaker_section/speaker_section.json similarity index 100% rename from community/event_management/web_template/speaker_section/speaker_section.json rename to school/event_management/web_template/speaker_section/speaker_section.json diff --git a/community/event_management/web_template/talk_section/__init__.py b/school/event_management/web_template/talk_section/__init__.py similarity index 100% rename from community/event_management/web_template/talk_section/__init__.py rename to school/event_management/web_template/talk_section/__init__.py diff --git a/community/event_management/web_template/talk_section/talk_section.html b/school/event_management/web_template/talk_section/talk_section.html similarity index 100% rename from community/event_management/web_template/talk_section/talk_section.html rename to school/event_management/web_template/talk_section/talk_section.html diff --git a/community/event_management/web_template/talk_section/talk_section.json b/school/event_management/web_template/talk_section/talk_section.json similarity index 100% rename from community/event_management/web_template/talk_section/talk_section.json rename to school/event_management/web_template/talk_section/talk_section.json diff --git a/community/fixtures/custom_field.json b/school/fixtures/custom_field.json similarity index 100% rename from community/fixtures/custom_field.json rename to school/fixtures/custom_field.json diff --git a/community/hackathon/README.md b/school/hackathon/README.md similarity index 100% rename from community/hackathon/README.md rename to school/hackathon/README.md diff --git a/community/hackathon/__init__.py b/school/hackathon/__init__.py similarity index 100% rename from community/hackathon/__init__.py rename to school/hackathon/__init__.py diff --git a/community/hackathon/doctype/__init__.py b/school/hackathon/doctype/__init__.py similarity index 100% rename from community/hackathon/doctype/__init__.py rename to school/hackathon/doctype/__init__.py diff --git a/community/hackathon/doctype/community_hackathon/__init__.py b/school/hackathon/doctype/community_hackathon/__init__.py similarity index 100% rename from community/hackathon/doctype/community_hackathon/__init__.py rename to school/hackathon/doctype/community_hackathon/__init__.py diff --git a/community/hackathon/doctype/community_hackathon/community_hackathon.js b/school/hackathon/doctype/community_hackathon/community_hackathon.js similarity index 100% rename from community/hackathon/doctype/community_hackathon/community_hackathon.js rename to school/hackathon/doctype/community_hackathon/community_hackathon.js diff --git a/community/hackathon/doctype/community_hackathon/community_hackathon.json b/school/hackathon/doctype/community_hackathon/community_hackathon.json similarity index 100% rename from community/hackathon/doctype/community_hackathon/community_hackathon.json rename to school/hackathon/doctype/community_hackathon/community_hackathon.json diff --git a/community/hackathon/doctype/community_hackathon/community_hackathon.py b/school/hackathon/doctype/community_hackathon/community_hackathon.py similarity index 100% rename from community/hackathon/doctype/community_hackathon/community_hackathon.py rename to school/hackathon/doctype/community_hackathon/community_hackathon.py diff --git a/community/hackathon/doctype/community_hackathon/test_community_hackathon.py b/school/hackathon/doctype/community_hackathon/test_community_hackathon.py similarity index 100% rename from community/hackathon/doctype/community_hackathon/test_community_hackathon.py rename to school/hackathon/doctype/community_hackathon/test_community_hackathon.py diff --git a/community/hackathon/doctype/community_project/__init__.py b/school/hackathon/doctype/community_project/__init__.py similarity index 100% rename from community/hackathon/doctype/community_project/__init__.py rename to school/hackathon/doctype/community_project/__init__.py diff --git a/community/hackathon/doctype/community_project/community_project.js b/school/hackathon/doctype/community_project/community_project.js similarity index 100% rename from community/hackathon/doctype/community_project/community_project.js rename to school/hackathon/doctype/community_project/community_project.js diff --git a/community/hackathon/doctype/community_project/community_project.json b/school/hackathon/doctype/community_project/community_project.json similarity index 100% rename from community/hackathon/doctype/community_project/community_project.json rename to school/hackathon/doctype/community_project/community_project.json diff --git a/community/hackathon/doctype/community_project/community_project.py b/school/hackathon/doctype/community_project/community_project.py similarity index 100% rename from community/hackathon/doctype/community_project/community_project.py rename to school/hackathon/doctype/community_project/community_project.py diff --git a/community/hackathon/doctype/community_project/test_community_project.py b/school/hackathon/doctype/community_project/test_community_project.py similarity index 100% rename from community/hackathon/doctype/community_project/test_community_project.py rename to school/hackathon/doctype/community_project/test_community_project.py diff --git a/community/hackathon/doctype/community_project_evaluation/__init__.py b/school/hackathon/doctype/community_project_evaluation/__init__.py similarity index 100% rename from community/hackathon/doctype/community_project_evaluation/__init__.py rename to school/hackathon/doctype/community_project_evaluation/__init__.py diff --git a/community/hackathon/doctype/community_project_evaluation/community_project_evaluation.js b/school/hackathon/doctype/community_project_evaluation/community_project_evaluation.js similarity index 100% rename from community/hackathon/doctype/community_project_evaluation/community_project_evaluation.js rename to school/hackathon/doctype/community_project_evaluation/community_project_evaluation.js diff --git a/community/hackathon/doctype/community_project_evaluation/community_project_evaluation.json b/school/hackathon/doctype/community_project_evaluation/community_project_evaluation.json similarity index 100% rename from community/hackathon/doctype/community_project_evaluation/community_project_evaluation.json rename to school/hackathon/doctype/community_project_evaluation/community_project_evaluation.json diff --git a/community/hackathon/doctype/community_project_evaluation/community_project_evaluation.py b/school/hackathon/doctype/community_project_evaluation/community_project_evaluation.py similarity index 100% rename from community/hackathon/doctype/community_project_evaluation/community_project_evaluation.py rename to school/hackathon/doctype/community_project_evaluation/community_project_evaluation.py diff --git a/community/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py b/school/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py similarity index 100% rename from community/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py rename to school/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py diff --git a/community/hackathon/doctype/community_project_like/__init__.py b/school/hackathon/doctype/community_project_like/__init__.py similarity index 100% rename from community/hackathon/doctype/community_project_like/__init__.py rename to school/hackathon/doctype/community_project_like/__init__.py diff --git a/community/hackathon/doctype/community_project_like/community_project_like.js b/school/hackathon/doctype/community_project_like/community_project_like.js similarity index 100% rename from community/hackathon/doctype/community_project_like/community_project_like.js rename to school/hackathon/doctype/community_project_like/community_project_like.js diff --git a/community/hackathon/doctype/community_project_like/community_project_like.json b/school/hackathon/doctype/community_project_like/community_project_like.json similarity index 100% rename from community/hackathon/doctype/community_project_like/community_project_like.json rename to school/hackathon/doctype/community_project_like/community_project_like.json diff --git a/community/hackathon/doctype/community_project_like/community_project_like.py b/school/hackathon/doctype/community_project_like/community_project_like.py similarity index 100% rename from community/hackathon/doctype/community_project_like/community_project_like.py rename to school/hackathon/doctype/community_project_like/community_project_like.py diff --git a/community/hackathon/doctype/community_project_like/test_community_project_like.py b/school/hackathon/doctype/community_project_like/test_community_project_like.py similarity index 100% rename from community/hackathon/doctype/community_project_like/test_community_project_like.py rename to school/hackathon/doctype/community_project_like/test_community_project_like.py diff --git a/community/hackathon/doctype/community_project_member/__init__.py b/school/hackathon/doctype/community_project_member/__init__.py similarity index 100% rename from community/hackathon/doctype/community_project_member/__init__.py rename to school/hackathon/doctype/community_project_member/__init__.py diff --git a/community/hackathon/doctype/community_project_member/community_project_member.js b/school/hackathon/doctype/community_project_member/community_project_member.js similarity index 100% rename from community/hackathon/doctype/community_project_member/community_project_member.js rename to school/hackathon/doctype/community_project_member/community_project_member.js diff --git a/community/hackathon/doctype/community_project_member/community_project_member.json b/school/hackathon/doctype/community_project_member/community_project_member.json similarity index 100% rename from community/hackathon/doctype/community_project_member/community_project_member.json rename to school/hackathon/doctype/community_project_member/community_project_member.json diff --git a/community/hackathon/doctype/community_project_member/community_project_member.py b/school/hackathon/doctype/community_project_member/community_project_member.py similarity index 100% rename from community/hackathon/doctype/community_project_member/community_project_member.py rename to school/hackathon/doctype/community_project_member/community_project_member.py diff --git a/community/hackathon/doctype/community_project_member/test_community_project_member.py b/school/hackathon/doctype/community_project_member/test_community_project_member.py similarity index 100% rename from community/hackathon/doctype/community_project_member/test_community_project_member.py rename to school/hackathon/doctype/community_project_member/test_community_project_member.py diff --git a/community/hackathon/doctype/community_project_update/__init__.py b/school/hackathon/doctype/community_project_update/__init__.py similarity index 100% rename from community/hackathon/doctype/community_project_update/__init__.py rename to school/hackathon/doctype/community_project_update/__init__.py diff --git a/community/hackathon/doctype/community_project_update/community_project_update.js b/school/hackathon/doctype/community_project_update/community_project_update.js similarity index 100% rename from community/hackathon/doctype/community_project_update/community_project_update.js rename to school/hackathon/doctype/community_project_update/community_project_update.js diff --git a/community/hackathon/doctype/community_project_update/community_project_update.json b/school/hackathon/doctype/community_project_update/community_project_update.json similarity index 100% rename from community/hackathon/doctype/community_project_update/community_project_update.json rename to school/hackathon/doctype/community_project_update/community_project_update.json diff --git a/community/hackathon/doctype/community_project_update/community_project_update.py b/school/hackathon/doctype/community_project_update/community_project_update.py similarity index 100% rename from community/hackathon/doctype/community_project_update/community_project_update.py rename to school/hackathon/doctype/community_project_update/community_project_update.py diff --git a/community/hackathon/doctype/community_project_update/test_community_project_update.py b/school/hackathon/doctype/community_project_update/test_community_project_update.py similarity index 100% rename from community/hackathon/doctype/community_project_update/test_community_project_update.py rename to school/hackathon/doctype/community_project_update/test_community_project_update.py diff --git a/community/hackathon/images/community-hackathon.png b/school/hackathon/images/community-hackathon.png similarity index 100% rename from community/hackathon/images/community-hackathon.png rename to school/hackathon/images/community-hackathon.png diff --git a/community/hackathon/images/hackathons-portal.png b/school/hackathon/images/hackathons-portal.png similarity index 100% rename from community/hackathon/images/hackathons-portal.png rename to school/hackathon/images/hackathons-portal.png diff --git a/community/hackathon/images/project-1.png b/school/hackathon/images/project-1.png similarity index 100% rename from community/hackathon/images/project-1.png rename to school/hackathon/images/project-1.png diff --git a/community/hackathon/images/project-2.png b/school/hackathon/images/project-2.png similarity index 100% rename from community/hackathon/images/project-2.png rename to school/hackathon/images/project-2.png diff --git a/community/hackathon/images/project-details.png b/school/hackathon/images/project-details.png similarity index 100% rename from community/hackathon/images/project-details.png rename to school/hackathon/images/project-details.png diff --git a/community/hackathon/images/project-join-request.png b/school/hackathon/images/project-join-request.png similarity index 100% rename from community/hackathon/images/project-join-request.png rename to school/hackathon/images/project-join-request.png diff --git a/community/hackathon/images/project-portal.png b/school/hackathon/images/project-portal.png similarity index 100% rename from community/hackathon/images/project-portal.png rename to school/hackathon/images/project-portal.png diff --git a/community/hackathon/web_form/__init__.py b/school/hackathon/web_form/__init__.py similarity index 100% rename from community/hackathon/web_form/__init__.py rename to school/hackathon/web_form/__init__.py diff --git a/community/hackathon/web_form/join_request/__init__.py b/school/hackathon/web_form/join_request/__init__.py similarity index 100% rename from community/hackathon/web_form/join_request/__init__.py rename to school/hackathon/web_form/join_request/__init__.py diff --git a/community/hackathon/web_form/join_request/join_request.js b/school/hackathon/web_form/join_request/join_request.js similarity index 100% rename from community/hackathon/web_form/join_request/join_request.js rename to school/hackathon/web_form/join_request/join_request.js diff --git a/community/hackathon/web_form/join_request/join_request.json b/school/hackathon/web_form/join_request/join_request.json similarity index 100% rename from community/hackathon/web_form/join_request/join_request.json rename to school/hackathon/web_form/join_request/join_request.json diff --git a/community/hackathon/web_form/join_request/join_request.py b/school/hackathon/web_form/join_request/join_request.py similarity index 100% rename from community/hackathon/web_form/join_request/join_request.py rename to school/hackathon/web_form/join_request/join_request.py diff --git a/community/hackathon/web_form/project/__init__.py b/school/hackathon/web_form/project/__init__.py similarity index 100% rename from community/hackathon/web_form/project/__init__.py rename to school/hackathon/web_form/project/__init__.py diff --git a/community/hackathon/web_form/project/project.js b/school/hackathon/web_form/project/project.js similarity index 100% rename from community/hackathon/web_form/project/project.js rename to school/hackathon/web_form/project/project.js diff --git a/community/hackathon/web_form/project/project.json b/school/hackathon/web_form/project/project.json similarity index 100% rename from community/hackathon/web_form/project/project.json rename to school/hackathon/web_form/project/project.json diff --git a/community/hackathon/web_form/project/project.py b/school/hackathon/web_form/project/project.py similarity index 100% rename from community/hackathon/web_form/project/project.py rename to school/hackathon/web_form/project/project.py diff --git a/community/hackathon/web_form/project_update/__init__.py b/school/hackathon/web_form/project_update/__init__.py similarity index 100% rename from community/hackathon/web_form/project_update/__init__.py rename to school/hackathon/web_form/project_update/__init__.py diff --git a/community/hackathon/web_form/project_update/project_update.js b/school/hackathon/web_form/project_update/project_update.js similarity index 100% rename from community/hackathon/web_form/project_update/project_update.js rename to school/hackathon/web_form/project_update/project_update.js diff --git a/community/hackathon/web_form/project_update/project_update.json b/school/hackathon/web_form/project_update/project_update.json similarity index 100% rename from community/hackathon/web_form/project_update/project_update.json rename to school/hackathon/web_form/project_update/project_update.json diff --git a/community/hackathon/web_form/project_update/project_update.py b/school/hackathon/web_form/project_update/project_update.py similarity index 100% rename from community/hackathon/web_form/project_update/project_update.py rename to school/hackathon/web_form/project_update/project_update.py diff --git a/community/hooks.py b/school/hooks.py similarity index 71% rename from community/hooks.py rename to school/hooks.py index e994461d..3494ae78 100644 --- a/community/hooks.py +++ b/school/hooks.py @@ -2,29 +2,29 @@ from __future__ import unicode_literals from . import __version__ as app_version -app_name = "community" -app_title = "Community" -app_publisher = "FOSS United" -app_description = "Community App" +app_name = "school" +app_title = "School" +app_publisher = "Frappe" +app_description = "School" app_icon = "octicon octicon-file-directory" app_color = "grey" -app_email = "jannat@erpnext.com" +app_email = "school@frappe.io" app_license = "AGPL" # Includes in # ------------------ # include js, css files in header of desk.html -# app_include_css = "/assets/community/css/community.css" -# app_include_js = "/assets/community/js/community.js" +# app_include_css = "/assets/school/css/school.css" +# app_include_js = "/assets/school/js/school.js" # include js, css files in header of web template -web_include_css = "community.bundle.css" -# web_include_css = "/assets/community/css/community.css" +web_include_css = "school.bundle.css" +# web_include_css = "/assets/school/css/school.css" web_include_js = "website.bundle.js" # include custom scss in every website theme (without file extension ".scss") -# website_theme_scss = "community/public/scss/website" +# website_theme_scss = "school/public/scss/website" # include js, css files in header of web form # webform_include_js = {"doctype": "public/js/doctype.js"} @@ -59,14 +59,14 @@ web_include_js = "website.bundle.js" # Installation # ------------ -# before_install = "community.install.before_install" -# after_install = "community.install.after_install" +# before_install = "school.install.before_install" +# after_install = "school.install.after_install" # Desk Notifications # ------------------ # See frappe.core.notifications.get_notification_config -# notification_config = "community.notifications.get_notification_config" +# notification_config = "school.notifications.get_notification_config" # Permissions # ----------- @@ -85,8 +85,8 @@ web_include_js = "website.bundle.js" # Override standard doctype classes override_doctype_class = { - "User": "community.overrides.user.CustomUser", - "Web Template": "community.overrides.web_template.CustomWebTemplate" + "User": "school.overrides.user.CustomUser", + "Web Template": "school.overrides.web_template.CustomWebTemplate" } # Document Events @@ -110,20 +110,20 @@ fixtures = ["Custom Field"] # Testing # ------- -# before_tests = "community.install.before_tests" +# before_tests = "school.install.before_tests" # Overriding Methods # ------------------------------ # # override_whitelisted_methods = { -# "frappe.desk.doctype.event.event.get_events": "community.event.get_events" +# "frappe.desk.doctype.event.event.get_events": "school.event.get_events" # } # # each overriding function accepts a `data` argument; # generated from the base implementation of the doctype dashboard, # along with any modifications made in other Frappe apps # override_doctype_dashboards = { -# "Task": "community.task.get_dashboard_data" +# "Task": "school.task.get_dashboard_data" # } # exempt linked doctypes from being automatically cancelled @@ -149,40 +149,40 @@ website_redirects = [ ] update_website_context = [ - 'community.widgets.update_website_context', + 'school.widgets.update_website_context', ] jinja = { "methods": [ - "community.page_renderers.get_profile_url" + "school.page_renderers.get_profile_url" ], "filters": [] } ## Specify the additional tabs to be included in the user profile page. -## Each entry must be a subclass of community.community.plugins.ProfileTab +## Each entry must be a subclass of school.school.plugins.ProfileTab # profile_tabs = [] ## Specify the extension to be used to control what scripts and stylesheets ## to be included in lesson pages. The specified value must be be a -## subclass of community.community.plugins.PageExtension -# community_lesson_page_extension = None +## subclass of school.v.plugins.PageExtension +# school_lesson_page_extension = None -#community_lesson_page_extensions = [ -# "community.plugins.LiveCodeExtension" +#school_lesson_page_extensions = [ +# "school.plugins.LiveCodeExtension" #] ## Markdown Macros for Lessons -community_markdown_macro_renderers = { - "Exercise": "community.plugins.exercise_renderer", - "Quiz": "community.plugins.quiz_renderer", - "YouTubeVideo": "community.plugins.youtube_video_renderer", - "Video": "community.plugins.video_renderer" +school_markdown_macro_renderers = { + "Exercise": "school.plugins.exercise_renderer", + "Quiz": "school.plugins.quiz_renderer", + "YouTubeVideo": "school.plugins.youtube_video_renderer", + "Video": "school.plugins.video_renderer" } # page_renderer to manage profile pages page_renderer = [ - "community.page_renderers.ProfileRedirectPage", - "community.page_renderers.ProfilePage" + "school.page_renderers.ProfileRedirectPage", + "school.page_renderers.ProfilePage" ] # set this to "/" to have profiles on the top-level diff --git a/community/lms/__init__.py b/school/lms/__init__.py similarity index 100% rename from community/lms/__init__.py rename to school/lms/__init__.py diff --git a/community/lms/api.py b/school/lms/api.py similarity index 100% rename from community/lms/api.py rename to school/lms/api.py diff --git a/community/lms/doctype/__init__.py b/school/lms/doctype/__init__.py similarity index 100% rename from community/lms/doctype/__init__.py rename to school/lms/doctype/__init__.py diff --git a/community/lms/doctype/chapter_reference/__init__.py b/school/lms/doctype/chapter_reference/__init__.py similarity index 100% rename from community/lms/doctype/chapter_reference/__init__.py rename to school/lms/doctype/chapter_reference/__init__.py diff --git a/community/lms/doctype/chapter_reference/chapter_reference.json b/school/lms/doctype/chapter_reference/chapter_reference.json similarity index 100% rename from community/lms/doctype/chapter_reference/chapter_reference.json rename to school/lms/doctype/chapter_reference/chapter_reference.json diff --git a/community/lms/doctype/chapter_reference/chapter_reference.py b/school/lms/doctype/chapter_reference/chapter_reference.py similarity index 100% rename from community/lms/doctype/chapter_reference/chapter_reference.py rename to school/lms/doctype/chapter_reference/chapter_reference.py diff --git a/community/lms/doctype/course_chapter/__init__.py b/school/lms/doctype/course_chapter/__init__.py similarity index 100% rename from community/lms/doctype/course_chapter/__init__.py rename to school/lms/doctype/course_chapter/__init__.py diff --git a/community/lms/doctype/course_chapter/course_chapter.js b/school/lms/doctype/course_chapter/course_chapter.js similarity index 100% rename from community/lms/doctype/course_chapter/course_chapter.js rename to school/lms/doctype/course_chapter/course_chapter.js diff --git a/community/lms/doctype/course_chapter/course_chapter.json b/school/lms/doctype/course_chapter/course_chapter.json similarity index 100% rename from community/lms/doctype/course_chapter/course_chapter.json rename to school/lms/doctype/course_chapter/course_chapter.json diff --git a/community/lms/doctype/course_chapter/course_chapter.py b/school/lms/doctype/course_chapter/course_chapter.py similarity index 100% rename from community/lms/doctype/course_chapter/course_chapter.py rename to school/lms/doctype/course_chapter/course_chapter.py diff --git a/community/lms/doctype/course_chapter/test_course_chapter.py b/school/lms/doctype/course_chapter/test_course_chapter.py similarity index 100% rename from community/lms/doctype/course_chapter/test_course_chapter.py rename to school/lms/doctype/course_chapter/test_course_chapter.py diff --git a/community/lms/doctype/course_lesson/__init__.py b/school/lms/doctype/course_lesson/__init__.py similarity index 100% rename from community/lms/doctype/course_lesson/__init__.py rename to school/lms/doctype/course_lesson/__init__.py diff --git a/community/lms/doctype/course_lesson/course_lesson.js b/school/lms/doctype/course_lesson/course_lesson.js similarity index 100% rename from community/lms/doctype/course_lesson/course_lesson.js rename to school/lms/doctype/course_lesson/course_lesson.js diff --git a/community/lms/doctype/course_lesson/course_lesson.json b/school/lms/doctype/course_lesson/course_lesson.json similarity index 100% rename from community/lms/doctype/course_lesson/course_lesson.json rename to school/lms/doctype/course_lesson/course_lesson.json diff --git a/community/lms/doctype/course_lesson/course_lesson.py b/school/lms/doctype/course_lesson/course_lesson.py similarity index 100% rename from community/lms/doctype/course_lesson/course_lesson.py rename to school/lms/doctype/course_lesson/course_lesson.py diff --git a/community/lms/doctype/course_lesson/test_course_lesson.py b/school/lms/doctype/course_lesson/test_course_lesson.py similarity index 100% rename from community/lms/doctype/course_lesson/test_course_lesson.py rename to school/lms/doctype/course_lesson/test_course_lesson.py diff --git a/community/lms/doctype/exercise/__init__.py b/school/lms/doctype/exercise/__init__.py similarity index 100% rename from community/lms/doctype/exercise/__init__.py rename to school/lms/doctype/exercise/__init__.py diff --git a/community/lms/doctype/exercise/exercise.js b/school/lms/doctype/exercise/exercise.js similarity index 100% rename from community/lms/doctype/exercise/exercise.js rename to school/lms/doctype/exercise/exercise.js diff --git a/community/lms/doctype/exercise/exercise.json b/school/lms/doctype/exercise/exercise.json similarity index 100% rename from community/lms/doctype/exercise/exercise.json rename to school/lms/doctype/exercise/exercise.json diff --git a/community/lms/doctype/exercise/exercise.py b/school/lms/doctype/exercise/exercise.py similarity index 100% rename from community/lms/doctype/exercise/exercise.py rename to school/lms/doctype/exercise/exercise.py diff --git a/community/lms/doctype/exercise/test_exercise.py b/school/lms/doctype/exercise/test_exercise.py similarity index 100% rename from community/lms/doctype/exercise/test_exercise.py rename to school/lms/doctype/exercise/test_exercise.py diff --git a/community/lms/doctype/exercise_submission/__init__.py b/school/lms/doctype/exercise_submission/__init__.py similarity index 100% rename from community/lms/doctype/exercise_submission/__init__.py rename to school/lms/doctype/exercise_submission/__init__.py diff --git a/community/lms/doctype/exercise_submission/exercise_submission.js b/school/lms/doctype/exercise_submission/exercise_submission.js similarity index 100% rename from community/lms/doctype/exercise_submission/exercise_submission.js rename to school/lms/doctype/exercise_submission/exercise_submission.js diff --git a/community/lms/doctype/exercise_submission/exercise_submission.json b/school/lms/doctype/exercise_submission/exercise_submission.json similarity index 100% rename from community/lms/doctype/exercise_submission/exercise_submission.json rename to school/lms/doctype/exercise_submission/exercise_submission.json diff --git a/community/lms/doctype/exercise_submission/exercise_submission.py b/school/lms/doctype/exercise_submission/exercise_submission.py similarity index 100% rename from community/lms/doctype/exercise_submission/exercise_submission.py rename to school/lms/doctype/exercise_submission/exercise_submission.py diff --git a/community/lms/doctype/exercise_submission/test_exercise_submission.py b/school/lms/doctype/exercise_submission/test_exercise_submission.py similarity index 100% rename from community/lms/doctype/exercise_submission/test_exercise_submission.py rename to school/lms/doctype/exercise_submission/test_exercise_submission.py diff --git a/community/lms/doctype/invite_request/__init__.py b/school/lms/doctype/invite_request/__init__.py similarity index 100% rename from community/lms/doctype/invite_request/__init__.py rename to school/lms/doctype/invite_request/__init__.py diff --git a/community/lms/doctype/invite_request/invite_request.js b/school/lms/doctype/invite_request/invite_request.js similarity index 100% rename from community/lms/doctype/invite_request/invite_request.js rename to school/lms/doctype/invite_request/invite_request.js diff --git a/community/lms/doctype/invite_request/invite_request.json b/school/lms/doctype/invite_request/invite_request.json similarity index 100% rename from community/lms/doctype/invite_request/invite_request.json rename to school/lms/doctype/invite_request/invite_request.json diff --git a/community/lms/doctype/invite_request/invite_request.py b/school/lms/doctype/invite_request/invite_request.py similarity index 100% rename from community/lms/doctype/invite_request/invite_request.py rename to school/lms/doctype/invite_request/invite_request.py diff --git a/community/lms/doctype/invite_request/test_invite_request.py b/school/lms/doctype/invite_request/test_invite_request.py similarity index 96% rename from community/lms/doctype/invite_request/test_invite_request.py rename to school/lms/doctype/invite_request/test_invite_request.py index 20fe531d..16888eee 100644 --- a/community/lms/doctype/invite_request/test_invite_request.py +++ b/school/lms/doctype/invite_request/test_invite_request.py @@ -2,7 +2,7 @@ # Copyright (c) 2021, FOSS United and Contributors # See license.txt from __future__ import unicode_literals -from community.lms.doctype.invite_request.invite_request import create_invite_request, update_invite +from school.lms.doctype.invite_request.invite_request import create_invite_request, update_invite import frappe import unittest diff --git a/community/lms/doctype/lesson_reference/__init__.py b/school/lms/doctype/lesson_reference/__init__.py similarity index 100% rename from community/lms/doctype/lesson_reference/__init__.py rename to school/lms/doctype/lesson_reference/__init__.py diff --git a/community/lms/doctype/lesson_reference/lesson_reference.json b/school/lms/doctype/lesson_reference/lesson_reference.json similarity index 100% rename from community/lms/doctype/lesson_reference/lesson_reference.json rename to school/lms/doctype/lesson_reference/lesson_reference.json diff --git a/community/lms/doctype/lesson_reference/lesson_reference.py b/school/lms/doctype/lesson_reference/lesson_reference.py similarity index 100% rename from community/lms/doctype/lesson_reference/lesson_reference.py rename to school/lms/doctype/lesson_reference/lesson_reference.py diff --git a/community/lms/doctype/lms_batch/__init__.py b/school/lms/doctype/lms_batch/__init__.py similarity index 100% rename from community/lms/doctype/lms_batch/__init__.py rename to school/lms/doctype/lms_batch/__init__.py diff --git a/community/lms/doctype/lms_batch/lms_batch.js b/school/lms/doctype/lms_batch/lms_batch.js similarity index 100% rename from community/lms/doctype/lms_batch/lms_batch.js rename to school/lms/doctype/lms_batch/lms_batch.js diff --git a/community/lms/doctype/lms_batch/lms_batch.json b/school/lms/doctype/lms_batch/lms_batch.json similarity index 100% rename from community/lms/doctype/lms_batch/lms_batch.json rename to school/lms/doctype/lms_batch/lms_batch.json diff --git a/community/lms/doctype/lms_batch/lms_batch.py b/school/lms/doctype/lms_batch/lms_batch.py similarity index 95% rename from community/lms/doctype/lms_batch/lms_batch.py rename to school/lms/doctype/lms_batch/lms_batch.py index b2f8096b..a7fbcb68 100644 --- a/community/lms/doctype/lms_batch/lms_batch.py +++ b/school/lms/doctype/lms_batch/lms_batch.py @@ -6,8 +6,8 @@ from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe import _ -from community.lms.doctype.lms_batch_membership.lms_batch_membership import create_membership -from community.query import find, find_all +from school.lms.doctype.lms_batch_membership.lms_batch_membership import create_membership +from school.query import find, find_all class LMSBatch(Document): def validate(self): diff --git a/community/lms/doctype/lms_batch/test_lms_batch.py b/school/lms/doctype/lms_batch/test_lms_batch.py similarity index 100% rename from community/lms/doctype/lms_batch/test_lms_batch.py rename to school/lms/doctype/lms_batch/test_lms_batch.py diff --git a/community/lms/doctype/lms_batch_membership/__init__.py b/school/lms/doctype/lms_batch_membership/__init__.py similarity index 100% rename from community/lms/doctype/lms_batch_membership/__init__.py rename to school/lms/doctype/lms_batch_membership/__init__.py diff --git a/community/lms/doctype/lms_batch_membership/lms_batch_membership.js b/school/lms/doctype/lms_batch_membership/lms_batch_membership.js similarity index 100% rename from community/lms/doctype/lms_batch_membership/lms_batch_membership.js rename to school/lms/doctype/lms_batch_membership/lms_batch_membership.js diff --git a/community/lms/doctype/lms_batch_membership/lms_batch_membership.json b/school/lms/doctype/lms_batch_membership/lms_batch_membership.json similarity index 100% rename from community/lms/doctype/lms_batch_membership/lms_batch_membership.json rename to school/lms/doctype/lms_batch_membership/lms_batch_membership.json diff --git a/community/lms/doctype/lms_batch_membership/lms_batch_membership.py b/school/lms/doctype/lms_batch_membership/lms_batch_membership.py similarity index 100% rename from community/lms/doctype/lms_batch_membership/lms_batch_membership.py rename to school/lms/doctype/lms_batch_membership/lms_batch_membership.py diff --git a/community/lms/doctype/lms_batch_membership/test_lms_batch_membership.py b/school/lms/doctype/lms_batch_membership/test_lms_batch_membership.py similarity index 100% rename from community/lms/doctype/lms_batch_membership/test_lms_batch_membership.py rename to school/lms/doctype/lms_batch_membership/test_lms_batch_membership.py diff --git a/community/lms/doctype/lms_certification/__init__.py b/school/lms/doctype/lms_certification/__init__.py similarity index 100% rename from community/lms/doctype/lms_certification/__init__.py rename to school/lms/doctype/lms_certification/__init__.py diff --git a/community/lms/doctype/lms_certification/lms_certification.js b/school/lms/doctype/lms_certification/lms_certification.js similarity index 100% rename from community/lms/doctype/lms_certification/lms_certification.js rename to school/lms/doctype/lms_certification/lms_certification.js diff --git a/community/lms/doctype/lms_certification/lms_certification.json b/school/lms/doctype/lms_certification/lms_certification.json similarity index 100% rename from community/lms/doctype/lms_certification/lms_certification.json rename to school/lms/doctype/lms_certification/lms_certification.json diff --git a/community/lms/doctype/lms_certification/lms_certification.py b/school/lms/doctype/lms_certification/lms_certification.py similarity index 100% rename from community/lms/doctype/lms_certification/lms_certification.py rename to school/lms/doctype/lms_certification/lms_certification.py diff --git a/community/lms/doctype/lms_certification/test_lms_certification.py b/school/lms/doctype/lms_certification/test_lms_certification.py similarity index 100% rename from community/lms/doctype/lms_certification/test_lms_certification.py rename to school/lms/doctype/lms_certification/test_lms_certification.py diff --git a/community/lms/doctype/lms_course/__init__.py b/school/lms/doctype/lms_course/__init__.py similarity index 100% rename from community/lms/doctype/lms_course/__init__.py rename to school/lms/doctype/lms_course/__init__.py diff --git a/community/lms/doctype/lms_course/lms_course.js b/school/lms/doctype/lms_course/lms_course.js similarity index 100% rename from community/lms/doctype/lms_course/lms_course.js rename to school/lms/doctype/lms_course/lms_course.js diff --git a/community/lms/doctype/lms_course/lms_course.json b/school/lms/doctype/lms_course/lms_course.json similarity index 97% rename from community/lms/doctype/lms_course/lms_course.json rename to school/lms/doctype/lms_course/lms_course.json index d2718857..2dda3d5b 100644 --- a/community/lms/doctype/lms_course/lms_course.json +++ b/school/lms/doctype/lms_course/lms_course.json @@ -1,7 +1,7 @@ { "actions": [ { - "action": "community.lms.doctype.lms_course.lms_course.reindex_exercises", + "action": "school.lms.doctype.lms_course.lms_course.reindex_exercises", "action_type": "Server Action", "group": "Reindex", "label": "Reindex Exercises" diff --git a/community/lms/doctype/lms_course/lms_course.py b/school/lms/doctype/lms_course/lms_course.py similarity index 99% rename from community/lms/doctype/lms_course/lms_course.py rename to school/lms/doctype/lms_course/lms_course.py index 5a60f38c..2f90e02f 100644 --- a/community/lms/doctype/lms_course/lms_course.py +++ b/school/lms/doctype/lms_course/lms_course.py @@ -7,7 +7,7 @@ import frappe from frappe.model.document import Document import json from ...utils import slugify -from community.query import find, find_all +from school.query import find, find_all from frappe.utils import flt, cint from ...utils import slugify diff --git a/community/lms/doctype/lms_course/test_lms_course.py b/school/lms/doctype/lms_course/test_lms_course.py similarity index 100% rename from community/lms/doctype/lms_course/test_lms_course.py rename to school/lms/doctype/lms_course/test_lms_course.py diff --git a/community/lms/doctype/lms_course_enrollment/__init__.py b/school/lms/doctype/lms_course_enrollment/__init__.py similarity index 100% rename from community/lms/doctype/lms_course_enrollment/__init__.py rename to school/lms/doctype/lms_course_enrollment/__init__.py diff --git a/community/lms/doctype/lms_course_enrollment/lms_course_enrollment.js b/school/lms/doctype/lms_course_enrollment/lms_course_enrollment.js similarity index 100% rename from community/lms/doctype/lms_course_enrollment/lms_course_enrollment.js rename to school/lms/doctype/lms_course_enrollment/lms_course_enrollment.js diff --git a/community/lms/doctype/lms_course_enrollment/lms_course_enrollment.json b/school/lms/doctype/lms_course_enrollment/lms_course_enrollment.json similarity index 100% rename from community/lms/doctype/lms_course_enrollment/lms_course_enrollment.json rename to school/lms/doctype/lms_course_enrollment/lms_course_enrollment.json diff --git a/community/lms/doctype/lms_course_enrollment/lms_course_enrollment.py b/school/lms/doctype/lms_course_enrollment/lms_course_enrollment.py similarity index 100% rename from community/lms/doctype/lms_course_enrollment/lms_course_enrollment.py rename to school/lms/doctype/lms_course_enrollment/lms_course_enrollment.py diff --git a/community/lms/doctype/lms_course_enrollment/test_lms_course_enrollment.py b/school/lms/doctype/lms_course_enrollment/test_lms_course_enrollment.py similarity index 100% rename from community/lms/doctype/lms_course_enrollment/test_lms_course_enrollment.py rename to school/lms/doctype/lms_course_enrollment/test_lms_course_enrollment.py diff --git a/community/lms/doctype/lms_course_interest/__init__.py b/school/lms/doctype/lms_course_interest/__init__.py similarity index 100% rename from community/lms/doctype/lms_course_interest/__init__.py rename to school/lms/doctype/lms_course_interest/__init__.py diff --git a/community/lms/doctype/lms_course_interest/lms_course_interest.js b/school/lms/doctype/lms_course_interest/lms_course_interest.js similarity index 100% rename from community/lms/doctype/lms_course_interest/lms_course_interest.js rename to school/lms/doctype/lms_course_interest/lms_course_interest.js diff --git a/community/lms/doctype/lms_course_interest/lms_course_interest.json b/school/lms/doctype/lms_course_interest/lms_course_interest.json similarity index 100% rename from community/lms/doctype/lms_course_interest/lms_course_interest.json rename to school/lms/doctype/lms_course_interest/lms_course_interest.json diff --git a/community/lms/doctype/lms_course_interest/lms_course_interest.py b/school/lms/doctype/lms_course_interest/lms_course_interest.py similarity index 100% rename from community/lms/doctype/lms_course_interest/lms_course_interest.py rename to school/lms/doctype/lms_course_interest/lms_course_interest.py diff --git a/community/lms/doctype/lms_course_interest/test_lms_course_interest.py b/school/lms/doctype/lms_course_interest/test_lms_course_interest.py similarity index 100% rename from community/lms/doctype/lms_course_interest/test_lms_course_interest.py rename to school/lms/doctype/lms_course_interest/test_lms_course_interest.py diff --git a/community/lms/doctype/lms_course_mentor_mapping/__init__.py b/school/lms/doctype/lms_course_mentor_mapping/__init__.py similarity index 100% rename from community/lms/doctype/lms_course_mentor_mapping/__init__.py rename to school/lms/doctype/lms_course_mentor_mapping/__init__.py diff --git a/community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.js b/school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.js similarity index 100% rename from community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.js rename to school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.js diff --git a/community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json b/school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json similarity index 100% rename from community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json rename to school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json diff --git a/community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.py b/school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.py similarity index 100% rename from community/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.py rename to school/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.py diff --git a/community/lms/doctype/lms_course_mentor_mapping/test_lms_course_mentor_mapping.py b/school/lms/doctype/lms_course_mentor_mapping/test_lms_course_mentor_mapping.py similarity index 100% rename from community/lms/doctype/lms_course_mentor_mapping/test_lms_course_mentor_mapping.py rename to school/lms/doctype/lms_course_mentor_mapping/test_lms_course_mentor_mapping.py diff --git a/community/lms/doctype/lms_course_progress/__init__.py b/school/lms/doctype/lms_course_progress/__init__.py similarity index 100% rename from community/lms/doctype/lms_course_progress/__init__.py rename to school/lms/doctype/lms_course_progress/__init__.py diff --git a/community/lms/doctype/lms_course_progress/lms_course_progress.js b/school/lms/doctype/lms_course_progress/lms_course_progress.js similarity index 100% rename from community/lms/doctype/lms_course_progress/lms_course_progress.js rename to school/lms/doctype/lms_course_progress/lms_course_progress.js diff --git a/community/lms/doctype/lms_course_progress/lms_course_progress.json b/school/lms/doctype/lms_course_progress/lms_course_progress.json similarity index 100% rename from community/lms/doctype/lms_course_progress/lms_course_progress.json rename to school/lms/doctype/lms_course_progress/lms_course_progress.json diff --git a/community/lms/doctype/lms_course_progress/lms_course_progress.py b/school/lms/doctype/lms_course_progress/lms_course_progress.py similarity index 100% rename from community/lms/doctype/lms_course_progress/lms_course_progress.py rename to school/lms/doctype/lms_course_progress/lms_course_progress.py diff --git a/community/lms/doctype/lms_course_progress/test_lms_course_progress.py b/school/lms/doctype/lms_course_progress/test_lms_course_progress.py similarity index 100% rename from community/lms/doctype/lms_course_progress/test_lms_course_progress.py rename to school/lms/doctype/lms_course_progress/test_lms_course_progress.py diff --git a/community/lms/doctype/lms_course_review/__init__.py b/school/lms/doctype/lms_course_review/__init__.py similarity index 100% rename from community/lms/doctype/lms_course_review/__init__.py rename to school/lms/doctype/lms_course_review/__init__.py diff --git a/community/lms/doctype/lms_course_review/lms_course_review.js b/school/lms/doctype/lms_course_review/lms_course_review.js similarity index 100% rename from community/lms/doctype/lms_course_review/lms_course_review.js rename to school/lms/doctype/lms_course_review/lms_course_review.js diff --git a/community/lms/doctype/lms_course_review/lms_course_review.json b/school/lms/doctype/lms_course_review/lms_course_review.json similarity index 100% rename from community/lms/doctype/lms_course_review/lms_course_review.json rename to school/lms/doctype/lms_course_review/lms_course_review.json diff --git a/community/lms/doctype/lms_course_review/lms_course_review.py b/school/lms/doctype/lms_course_review/lms_course_review.py similarity index 100% rename from community/lms/doctype/lms_course_review/lms_course_review.py rename to school/lms/doctype/lms_course_review/lms_course_review.py diff --git a/community/lms/doctype/lms_course_review/test_lms_course_review.py b/school/lms/doctype/lms_course_review/test_lms_course_review.py similarity index 100% rename from community/lms/doctype/lms_course_review/test_lms_course_review.py rename to school/lms/doctype/lms_course_review/test_lms_course_review.py diff --git a/community/lms/doctype/lms_mentor_request/__init__.py b/school/lms/doctype/lms_mentor_request/__init__.py similarity index 100% rename from community/lms/doctype/lms_mentor_request/__init__.py rename to school/lms/doctype/lms_mentor_request/__init__.py diff --git a/community/lms/doctype/lms_mentor_request/lms_mentor_request.js b/school/lms/doctype/lms_mentor_request/lms_mentor_request.js similarity index 100% rename from community/lms/doctype/lms_mentor_request/lms_mentor_request.js rename to school/lms/doctype/lms_mentor_request/lms_mentor_request.js diff --git a/community/lms/doctype/lms_mentor_request/lms_mentor_request.json b/school/lms/doctype/lms_mentor_request/lms_mentor_request.json similarity index 100% rename from community/lms/doctype/lms_mentor_request/lms_mentor_request.json rename to school/lms/doctype/lms_mentor_request/lms_mentor_request.json diff --git a/community/lms/doctype/lms_mentor_request/lms_mentor_request.py b/school/lms/doctype/lms_mentor_request/lms_mentor_request.py similarity index 100% rename from community/lms/doctype/lms_mentor_request/lms_mentor_request.py rename to school/lms/doctype/lms_mentor_request/lms_mentor_request.py diff --git a/community/lms/doctype/lms_mentor_request/test_lms_mentor_request.py b/school/lms/doctype/lms_mentor_request/test_lms_mentor_request.py similarity index 100% rename from community/lms/doctype/lms_mentor_request/test_lms_mentor_request.py rename to school/lms/doctype/lms_mentor_request/test_lms_mentor_request.py diff --git a/community/lms/doctype/lms_option/__init__.py b/school/lms/doctype/lms_option/__init__.py similarity index 100% rename from community/lms/doctype/lms_option/__init__.py rename to school/lms/doctype/lms_option/__init__.py diff --git a/community/lms/doctype/lms_option/lms_option.json b/school/lms/doctype/lms_option/lms_option.json similarity index 100% rename from community/lms/doctype/lms_option/lms_option.json rename to school/lms/doctype/lms_option/lms_option.json diff --git a/community/lms/doctype/lms_option/lms_option.py b/school/lms/doctype/lms_option/lms_option.py similarity index 100% rename from community/lms/doctype/lms_option/lms_option.py rename to school/lms/doctype/lms_option/lms_option.py diff --git a/community/lms/doctype/lms_quiz/__init__.py b/school/lms/doctype/lms_quiz/__init__.py similarity index 100% rename from community/lms/doctype/lms_quiz/__init__.py rename to school/lms/doctype/lms_quiz/__init__.py diff --git a/community/lms/doctype/lms_quiz/lms_quiz.js b/school/lms/doctype/lms_quiz/lms_quiz.js similarity index 100% rename from community/lms/doctype/lms_quiz/lms_quiz.js rename to school/lms/doctype/lms_quiz/lms_quiz.js diff --git a/community/lms/doctype/lms_quiz/lms_quiz.json b/school/lms/doctype/lms_quiz/lms_quiz.json similarity index 100% rename from community/lms/doctype/lms_quiz/lms_quiz.json rename to school/lms/doctype/lms_quiz/lms_quiz.json diff --git a/community/lms/doctype/lms_quiz/lms_quiz.py b/school/lms/doctype/lms_quiz/lms_quiz.py similarity index 100% rename from community/lms/doctype/lms_quiz/lms_quiz.py rename to school/lms/doctype/lms_quiz/lms_quiz.py diff --git a/community/lms/doctype/lms_quiz/test_lms_quiz.py b/school/lms/doctype/lms_quiz/test_lms_quiz.py similarity index 100% rename from community/lms/doctype/lms_quiz/test_lms_quiz.py rename to school/lms/doctype/lms_quiz/test_lms_quiz.py diff --git a/community/lms/doctype/lms_quiz_question/__init__.py b/school/lms/doctype/lms_quiz_question/__init__.py similarity index 100% rename from community/lms/doctype/lms_quiz_question/__init__.py rename to school/lms/doctype/lms_quiz_question/__init__.py diff --git a/community/lms/doctype/lms_quiz_question/lms_quiz_question.json b/school/lms/doctype/lms_quiz_question/lms_quiz_question.json similarity index 100% rename from community/lms/doctype/lms_quiz_question/lms_quiz_question.json rename to school/lms/doctype/lms_quiz_question/lms_quiz_question.json diff --git a/community/lms/doctype/lms_quiz_question/lms_quiz_question.py b/school/lms/doctype/lms_quiz_question/lms_quiz_question.py similarity index 100% rename from community/lms/doctype/lms_quiz_question/lms_quiz_question.py rename to school/lms/doctype/lms_quiz_question/lms_quiz_question.py diff --git a/community/lms/doctype/lms_quiz_result/__init__.py b/school/lms/doctype/lms_quiz_result/__init__.py similarity index 100% rename from community/lms/doctype/lms_quiz_result/__init__.py rename to school/lms/doctype/lms_quiz_result/__init__.py diff --git a/community/lms/doctype/lms_quiz_result/lms_quiz_result.json b/school/lms/doctype/lms_quiz_result/lms_quiz_result.json similarity index 100% rename from community/lms/doctype/lms_quiz_result/lms_quiz_result.json rename to school/lms/doctype/lms_quiz_result/lms_quiz_result.json diff --git a/community/lms/doctype/lms_quiz_result/lms_quiz_result.py b/school/lms/doctype/lms_quiz_result/lms_quiz_result.py similarity index 100% rename from community/lms/doctype/lms_quiz_result/lms_quiz_result.py rename to school/lms/doctype/lms_quiz_result/lms_quiz_result.py diff --git a/community/lms/doctype/lms_quiz_submission/__init__.py b/school/lms/doctype/lms_quiz_submission/__init__.py similarity index 100% rename from community/lms/doctype/lms_quiz_submission/__init__.py rename to school/lms/doctype/lms_quiz_submission/__init__.py diff --git a/community/lms/doctype/lms_quiz_submission/lms_quiz_submission.js b/school/lms/doctype/lms_quiz_submission/lms_quiz_submission.js similarity index 100% rename from community/lms/doctype/lms_quiz_submission/lms_quiz_submission.js rename to school/lms/doctype/lms_quiz_submission/lms_quiz_submission.js diff --git a/community/lms/doctype/lms_quiz_submission/lms_quiz_submission.json b/school/lms/doctype/lms_quiz_submission/lms_quiz_submission.json similarity index 100% rename from community/lms/doctype/lms_quiz_submission/lms_quiz_submission.json rename to school/lms/doctype/lms_quiz_submission/lms_quiz_submission.json diff --git a/community/lms/doctype/lms_quiz_submission/lms_quiz_submission.py b/school/lms/doctype/lms_quiz_submission/lms_quiz_submission.py similarity index 100% rename from community/lms/doctype/lms_quiz_submission/lms_quiz_submission.py rename to school/lms/doctype/lms_quiz_submission/lms_quiz_submission.py diff --git a/community/lms/doctype/lms_quiz_submission/test_lms_quiz_submission.py b/school/lms/doctype/lms_quiz_submission/test_lms_quiz_submission.py similarity index 100% rename from community/lms/doctype/lms_quiz_submission/test_lms_quiz_submission.py rename to school/lms/doctype/lms_quiz_submission/test_lms_quiz_submission.py diff --git a/community/lms/doctype/lms_section/lms_section.py b/school/lms/doctype/lms_section/lms_section.py similarity index 100% rename from community/lms/doctype/lms_section/lms_section.py rename to school/lms/doctype/lms_section/lms_section.py diff --git a/community/lms/doctype/lms_settings/__init__.py b/school/lms/doctype/lms_settings/__init__.py similarity index 100% rename from community/lms/doctype/lms_settings/__init__.py rename to school/lms/doctype/lms_settings/__init__.py diff --git a/community/lms/doctype/lms_settings/lms_settings.js b/school/lms/doctype/lms_settings/lms_settings.js similarity index 100% rename from community/lms/doctype/lms_settings/lms_settings.js rename to school/lms/doctype/lms_settings/lms_settings.js diff --git a/community/lms/doctype/lms_settings/lms_settings.json b/school/lms/doctype/lms_settings/lms_settings.json similarity index 100% rename from community/lms/doctype/lms_settings/lms_settings.json rename to school/lms/doctype/lms_settings/lms_settings.json diff --git a/community/lms/doctype/lms_settings/lms_settings.py b/school/lms/doctype/lms_settings/lms_settings.py similarity index 100% rename from community/lms/doctype/lms_settings/lms_settings.py rename to school/lms/doctype/lms_settings/lms_settings.py diff --git a/community/lms/doctype/lms_settings/test_lms_settings.py b/school/lms/doctype/lms_settings/test_lms_settings.py similarity index 100% rename from community/lms/doctype/lms_settings/test_lms_settings.py rename to school/lms/doctype/lms_settings/test_lms_settings.py diff --git a/community/lms/md.py b/school/lms/md.py similarity index 96% rename from community/lms/md.py rename to school/lms/md.py index 14d27813..5acb6322 100644 --- a/community/lms/md.py +++ b/school/lms/md.py @@ -7,7 +7,7 @@ Macros can be added to the markdown text in the following format. These macros will be rendered using a pluggable mechanism. -Apps can provide a hook community_markdown_macro_renderers, a +Apps can provide a hook school_markdown_macro_renderers, a dictionary mapping the macro name to the function that to render that macro. The function will get the argument passed to the macro as argument. @@ -59,7 +59,7 @@ def _remove_quotes(value): def get_macro_registry(): - d = frappe.get_hooks("community_markdown_macro_renderers") or {} + d = frappe.get_hooks("school_markdown_macro_renderers") or {} return {name: frappe.get_attr(klass[0]) for name, klass in d.items()} def render_macro(macro_name, macro_argument): diff --git a/community/lms/models.py b/school/lms/models.py similarity index 100% rename from community/lms/models.py rename to school/lms/models.py diff --git a/community/lms/report/__init__.py b/school/lms/report/__init__.py similarity index 100% rename from community/lms/report/__init__.py rename to school/lms/report/__init__.py diff --git a/community/lms/report/course_progress_summary/__init__.py b/school/lms/report/course_progress_summary/__init__.py similarity index 100% rename from community/lms/report/course_progress_summary/__init__.py rename to school/lms/report/course_progress_summary/__init__.py diff --git a/community/lms/report/course_progress_summary/course_progress_summary.js b/school/lms/report/course_progress_summary/course_progress_summary.js similarity index 100% rename from community/lms/report/course_progress_summary/course_progress_summary.js rename to school/lms/report/course_progress_summary/course_progress_summary.js diff --git a/community/lms/report/course_progress_summary/course_progress_summary.json b/school/lms/report/course_progress_summary/course_progress_summary.json similarity index 100% rename from community/lms/report/course_progress_summary/course_progress_summary.json rename to school/lms/report/course_progress_summary/course_progress_summary.json diff --git a/community/lms/report/course_progress_summary/course_progress_summary.py b/school/lms/report/course_progress_summary/course_progress_summary.py similarity index 100% rename from community/lms/report/course_progress_summary/course_progress_summary.py rename to school/lms/report/course_progress_summary/course_progress_summary.py diff --git a/community/lms/test_utils.py b/school/lms/test_utils.py similarity index 100% rename from community/lms/test_utils.py rename to school/lms/test_utils.py diff --git a/community/lms/utils.py b/school/lms/utils.py similarity index 100% rename from community/lms/utils.py rename to school/lms/utils.py diff --git a/community/lms/web_form/__init__.py b/school/lms/web_form/__init__.py similarity index 100% rename from community/lms/web_form/__init__.py rename to school/lms/web_form/__init__.py diff --git a/community/lms/web_form/add_a_new_batch/__init__.py b/school/lms/web_form/add_a_new_batch/__init__.py similarity index 100% rename from community/lms/web_form/add_a_new_batch/__init__.py rename to school/lms/web_form/add_a_new_batch/__init__.py diff --git a/community/lms/web_form/add_a_new_batch/add_a_new_batch.js b/school/lms/web_form/add_a_new_batch/add_a_new_batch.js similarity index 100% rename from community/lms/web_form/add_a_new_batch/add_a_new_batch.js rename to school/lms/web_form/add_a_new_batch/add_a_new_batch.js diff --git a/community/lms/web_form/add_a_new_batch/add_a_new_batch.json b/school/lms/web_form/add_a_new_batch/add_a_new_batch.json similarity index 100% rename from community/lms/web_form/add_a_new_batch/add_a_new_batch.json rename to school/lms/web_form/add_a_new_batch/add_a_new_batch.json diff --git a/community/lms/web_form/add_a_new_batch/add_a_new_batch.py b/school/lms/web_form/add_a_new_batch/add_a_new_batch.py similarity index 100% rename from community/lms/web_form/add_a_new_batch/add_a_new_batch.py rename to school/lms/web_form/add_a_new_batch/add_a_new_batch.py diff --git a/community/lms/web_form/profile/__init__.py b/school/lms/web_form/profile/__init__.py similarity index 100% rename from community/lms/web_form/profile/__init__.py rename to school/lms/web_form/profile/__init__.py diff --git a/community/lms/web_form/profile/profile.js b/school/lms/web_form/profile/profile.js similarity index 100% rename from community/lms/web_form/profile/profile.js rename to school/lms/web_form/profile/profile.js diff --git a/community/lms/web_form/profile/profile.json b/school/lms/web_form/profile/profile.json similarity index 100% rename from community/lms/web_form/profile/profile.json rename to school/lms/web_form/profile/profile.json diff --git a/community/lms/web_form/profile/profile.py b/school/lms/web_form/profile/profile.py similarity index 100% rename from community/lms/web_form/profile/profile.py rename to school/lms/web_form/profile/profile.py diff --git a/community/lms/web_template/__init__.py b/school/lms/web_template/__init__.py similarity index 100% rename from community/lms/web_template/__init__.py rename to school/lms/web_template/__init__.py diff --git a/community/lms/web_template/course_cards/__init__.py b/school/lms/web_template/course_cards/__init__.py similarity index 100% rename from community/lms/web_template/course_cards/__init__.py rename to school/lms/web_template/course_cards/__init__.py diff --git a/community/lms/web_template/course_cards/course_cards.html b/school/lms/web_template/course_cards/course_cards.html similarity index 100% rename from community/lms/web_template/course_cards/course_cards.html rename to school/lms/web_template/course_cards/course_cards.html diff --git a/community/lms/web_template/course_cards/course_cards.json b/school/lms/web_template/course_cards/course_cards.json similarity index 100% rename from community/lms/web_template/course_cards/course_cards.json rename to school/lms/web_template/course_cards/course_cards.json diff --git a/community/lms/widgets/BreadCrumb.html b/school/lms/widgets/BreadCrumb.html similarity index 70% rename from community/lms/widgets/BreadCrumb.html rename to school/lms/widgets/BreadCrumb.html index f0f9dec6..e9b849b6 100644 --- a/community/lms/widgets/BreadCrumb.html +++ b/school/lms/widgets/BreadCrumb.html @@ -1,10 +1,10 @@ @@ -50,13 +50,13 @@ {% if course.get_students() | length %} - + {{ course.get_students() | length }} {% endif %} {% set avg_rating = course.get_average_rating() %} {% if avg_rating %} - + {{ avg_rating }} {% endif %} @@ -75,36 +75,36 @@ {% if certificate %} {% elif course.enable_certification and progress == 100 %} {% elif progress == 100 %} {% elif course.upcoming %} {% elif membership %} {% else %} @@ -135,7 +135,7 @@ e.preventDefault(); course = $(e.currentTarget).attr("data-course"); frappe.call({ - method: "community.lms.doctype.lms_certification.lms_certification.create_certificate", + method: "school.lms.doctype.lms_certification.lms_certification.create_certificate", args: { "course": course }, diff --git a/community/lms/widgets/CourseOutline.html b/school/lms/widgets/CourseOutline.html similarity index 100% rename from community/lms/widgets/CourseOutline.html rename to school/lms/widgets/CourseOutline.html diff --git a/community/lms/widgets/CourseTeaser.html b/school/lms/widgets/CourseTeaser.html similarity index 100% rename from community/lms/widgets/CourseTeaser.html rename to school/lms/widgets/CourseTeaser.html diff --git a/community/lms/widgets/Exercise.html b/school/lms/widgets/Exercise.html similarity index 100% rename from community/lms/widgets/Exercise.html rename to school/lms/widgets/Exercise.html diff --git a/community/lms/widgets/HelloWorld.html b/school/lms/widgets/HelloWorld.html similarity index 100% rename from community/lms/widgets/HelloWorld.html rename to school/lms/widgets/HelloWorld.html diff --git a/community/lms/widgets/MemberCard.html b/school/lms/widgets/MemberCard.html similarity index 100% rename from community/lms/widgets/MemberCard.html rename to school/lms/widgets/MemberCard.html diff --git a/community/lms/widgets/RequestInvite.html b/school/lms/widgets/RequestInvite.html similarity index 95% rename from community/lms/widgets/RequestInvite.html rename to school/lms/widgets/RequestInvite.html index 053cbcbc..943dc75f 100644 --- a/community/lms/widgets/RequestInvite.html +++ b/school/lms/widgets/RequestInvite.html @@ -14,7 +14,7 @@ $("#submit-invite-request").click(function () { var invite_email = $("#invite_email").val() frappe.call({ - method: "community.lms.doctype.invite_request.invite_request.create_invite_request", + method: "school.lms.doctype.invite_request.invite_request.create_invite_request", args: { invite_email: invite_email }, diff --git a/community/lms/widgets/Reviews.html b/school/lms/widgets/Reviews.html similarity index 100% rename from community/lms/widgets/Reviews.html rename to school/lms/widgets/Reviews.html diff --git a/community/lms/workspace/lms/lms.json b/school/lms/workspace/lms/lms.json similarity index 100% rename from community/lms/workspace/lms/lms.json rename to school/lms/workspace/lms/lms.json diff --git a/community/modules.txt b/school/modules.txt similarity index 100% rename from community/modules.txt rename to school/modules.txt diff --git a/community/overrides/test_user.py b/school/overrides/test_user.py similarity index 96% rename from community/overrides/test_user.py rename to school/overrides/test_user.py index d89a9e01..16080338 100644 --- a/community/overrides/test_user.py +++ b/school/overrides/test_user.py @@ -18,7 +18,7 @@ class TestCustomUser(unittest.TestCase): def test_without_username(self): """ The user in this test has the same first name as the user of the test test_with_basic_username. In such cases frappe makes the username of the second user empty. - The condition in community app should override this and save a username. """ + The condition in school app should override this and save a username. """ new_user = frappe.get_doc({ "doctype": "User", "email": "test-without-username@example.com", diff --git a/community/overrides/user.py b/school/overrides/user.py similarity index 100% rename from community/overrides/user.py rename to school/overrides/user.py diff --git a/community/overrides/web_template.py b/school/overrides/web_template.py similarity index 92% rename from community/overrides/web_template.py rename to school/overrides/web_template.py index 9f36f4f9..0904a212 100644 --- a/community/overrides/web_template.py +++ b/school/overrides/web_template.py @@ -1,6 +1,6 @@ import frappe from frappe.website.doctype.web_template.web_template import WebTemplate -from community.widgets import Widgets +from school.widgets import Widgets import json class CustomWebTemplate(WebTemplate): diff --git a/community/page_renderers.py b/school/page_renderers.py similarity index 98% rename from community/page_renderers.py rename to school/page_renderers.py index 226501ae..00eb00ef 100644 --- a/community/page_renderers.py +++ b/school/page_renderers.py @@ -1,4 +1,4 @@ -"""Custom page renderers for Community app. +"""Custom page renderers for School app. Handles rendering of profile pages. """ diff --git a/community/patches.txt b/school/patches.txt similarity index 100% rename from community/patches.txt rename to school/patches.txt diff --git a/community/patches/change_name_for_community_members.py b/school/patches/change_name_for_community_members.py similarity index 100% rename from community/patches/change_name_for_community_members.py rename to school/patches/change_name_for_community_members.py diff --git a/community/patches/create_mentor_request_email_templates.py b/school/patches/create_mentor_request_email_templates.py similarity index 95% rename from community/patches/create_mentor_request_email_templates.py rename to school/patches/create_mentor_request_email_templates.py index 93c13f27..1ac72715 100644 --- a/community/patches/create_mentor_request_email_templates.py +++ b/school/patches/create_mentor_request_email_templates.py @@ -4,7 +4,7 @@ from frappe import _ def execute(): frappe.reload_doc("email", "doctype", "email_template") - base_path = frappe.get_app_path("community", "templates", "emails") + base_path = frappe.get_app_path("school", "templates", "emails") if not frappe.db.exists("Email Template", _('Mentor Request Creation Template')): response = frappe.read_file(os.path.join(base_path, "mentor_request_creation_email.html")) diff --git a/community/patches/replace_member_with_user_in_batch_membership.py b/school/patches/replace_member_with_user_in_batch_membership.py similarity index 100% rename from community/patches/replace_member_with_user_in_batch_membership.py rename to school/patches/replace_member_with_user_in_batch_membership.py diff --git a/community/patches/replace_member_with_user_in_course_mentor_mapping.py b/school/patches/replace_member_with_user_in_course_mentor_mapping.py similarity index 100% rename from community/patches/replace_member_with_user_in_course_mentor_mapping.py rename to school/patches/replace_member_with_user_in_course_mentor_mapping.py diff --git a/community/patches/replace_member_with_user_in_lms_message.py b/school/patches/replace_member_with_user_in_lms_message.py similarity index 100% rename from community/patches/replace_member_with_user_in_lms_message.py rename to school/patches/replace_member_with_user_in_lms_message.py diff --git a/community/patches/replace_member_with_user_in_mentor_request.py b/school/patches/replace_member_with_user_in_mentor_request.py similarity index 100% rename from community/patches/replace_member_with_user_in_mentor_request.py rename to school/patches/replace_member_with_user_in_mentor_request.py diff --git a/community/patches/save_abbr_for_community_members.py b/school/patches/save_abbr_for_community_members.py similarity index 100% rename from community/patches/save_abbr_for_community_members.py rename to school/patches/save_abbr_for_community_members.py diff --git a/community/patches/set_email_preferences.py b/school/patches/set_email_preferences.py similarity index 100% rename from community/patches/set_email_preferences.py rename to school/patches/set_email_preferences.py diff --git a/community/patches/v0_0/chapter_lesson_index_table.py b/school/patches/v0_0/chapter_lesson_index_table.py similarity index 100% rename from community/patches/v0_0/chapter_lesson_index_table.py rename to school/patches/v0_0/chapter_lesson_index_table.py diff --git a/community/patches/v0_0/course_instructor_update.py b/school/patches/v0_0/course_instructor_update.py similarity index 100% rename from community/patches/v0_0/course_instructor_update.py rename to school/patches/v0_0/course_instructor_update.py diff --git a/community/patches/v0_0/rename_chapter_and_lesson_doctype.py b/school/patches/v0_0/rename_chapter_and_lesson_doctype.py similarity index 100% rename from community/patches/v0_0/rename_chapter_and_lesson_doctype.py rename to school/patches/v0_0/rename_chapter_and_lesson_doctype.py diff --git a/community/patches/v0_0/rename_chapters_and_lessons_doctype.py b/school/patches/v0_0/rename_chapters_and_lessons_doctype.py similarity index 100% rename from community/patches/v0_0/rename_chapters_and_lessons_doctype.py rename to school/patches/v0_0/rename_chapters_and_lessons_doctype.py diff --git a/community/plugins.py b/school/plugins.py similarity index 98% rename from community/plugins.py rename to school/plugins.py index b81a9b94..5643f57c 100644 --- a/community/plugins.py +++ b/school/plugins.py @@ -1,6 +1,6 @@ """ The plugins module provides various plugins to change the default -behaviour some parts of the community app. +behaviour some parts of the school app. A site specify what plugins to use using appropriate entries in the frappe hooks, written in the `hooks.py`. diff --git a/community/public/css/community.bundle.less b/school/public/css/community.bundle.less similarity index 100% rename from community/public/css/community.bundle.less rename to school/public/css/community.bundle.less diff --git a/community/public/css/style.css b/school/public/css/style.css similarity index 99% rename from community/public/css/style.css rename to school/public/css/style.css index d5f55790..e941a98d 100644 --- a/community/public/css/style.css +++ b/school/public/css/style.css @@ -323,7 +323,7 @@ input[type=checkbox] { } .custom-checkbox>label>input:checked+.empty-checkbox { - background: url(/assets/community/icons/tick.svg); + background: url(/assets/school/icons/tick.svg); background-repeat: no-repeat; background-position: center center; } diff --git a/community/public/css/vars.css b/school/public/css/vars.css similarity index 100% rename from community/public/css/vars.css rename to school/public/css/vars.css diff --git a/school/public/dist/css-rtl/community.bundle.IJYJLJRM.css b/school/public/dist/css-rtl/community.bundle.IJYJLJRM.css new file mode 100644 index 00000000..1adc1628 --- /dev/null +++ b/school/public/dist/css-rtl/community.bundle.IJYJLJRM.css @@ -0,0 +1,1167 @@ +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-zMib1ukOxvFA/community/community/public/css/1633949353308-style.css */ +:root { + --c1: #fefae0; + --c2: #264653; + --c3: #e9c46a; + --c4: #2a9d8f; + --c5: #f4a261; + --c6: #e76f51; + --c7: #ccd5ae; + --c8: #EEEEEE; + --bg: var(--c1); + --header-bg: var(--c2); + --header-color: var(--c3); + --tag-color: var(--c7); + --sidebar-bg: var(--c7); + --h-color: var(--c2); + --text-color: #192734; + --text-color-light: #ccc; + --cta-color: var(--c4); + --send-message: var(--c7); + --received-message: var(--c8); + --checkbox-size: 14px; + --control-bg: var(--gray-100); + --button-background: #EEF0F2; + --text-xs: 11px; + --text-sm: 12px; + --text-md: 13px; + --text-base: 14px; + --text-lg: 16px; + --text-xl: 18px; + --text-2xl: 20px; + --text-3xl: 22px; +} +input[type=checkbox] { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; +} +.course-image { + height: 168px; + width: 100%; + border-top-right-radius: 8px; + border-top-left-radius: 8px; + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} +.default-image { + background-color: var(--avatar-frame-bg); + color: var(--avatar-frame-color); + display: flex; + flex-direction: column; +} +.default-image-text { + display: flex; + flex: 1; + align-self: center; + justify-content: normal; + font-size: 7rem; + font-weight: bold; +} +.course-tags { + display: flex; + position: relative; + top: 1rem; + right: 1rem; + width: 95%; +} +.course-card-pills { + background: #ffffff; + margin-right: 0; + margin-left: .5rem; + border-radius: 4px; + padding: 4px 6px; + font-size: 10px; + text-align: center; + letter-spacing: 0.011em; + text-transform: uppercase; + color: #2C5477; + font-weight: bold; + box-shadow: 0px 5px 10px rgb(0 0 0 / 10%); +} +.dark-pills { + background: rgba(25, 39, 52, 0.8); + color: #ffffff; +} +.dark-pills img { + width: 0.75rem; + height: 0.75rem; +} +.common-page-style { + background: #F4F5F6; + padding-bottom: 5rem; + min-height: 60vh; + padding-top: 3rem; +} +.common-card-style { + display: flex; + background: #FFFFFF; + border-radius: 8px; + position: relative; + border: 1px solid #EEF0F2; + box-shadow: 0 0px 4px 2px #19273405; +} +.course-card { + flex-direction: column; +} +.muted-text { + font-size: 12px; + line-height: 135%; +} +.course-card-meta { + margin: 16px 0px 8px; +} +.course-card-content { + width: 100%; + padding: 0px 24px 20px; +} +@media (max-width: 350px) { + .course-card-content { + padding: 0px 10px 20px; + } +} +.course-card-title { + font-weight: 600; + font-size: 18px; + line-height: 156%; + letter-spacing: -0.014em; + color: var(--text-color); + align-self: stretch; + margin-bottom: 1.5rem; + height: 56px; +} +@media (max-width: 360px) { + .course-card-title { + font-size: 14px; + } +} +.card-divider { + border: 1px solid #EEF0F2; + margin-bottom: 1rem; +} +.card-divider-dark { + border: 1px solid #C8CFD5; + margin-bottom: 16px; +} +.course-instructor { + margin: 0px 8px; + font-size: 12px; + line-height: 135%; + color: var(--text-color); +} +.course-student-count { + font-size: 12px; + line-height: 135%; + float: left; +} +.view-course-link { + height: 32px; + border-radius: 4px; + font-size: 12px; + padding: 8px 0px 8px; + text-align: center; + line-height: 135%; + cursor: pointer; +} +.cards-parent { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 40px; + column-gap: 40px; + row-gap: 40px; + align-items: center; +} +@media (max-width: 767px) { + .cards-parent { + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 16px; + column-gap: 16px; + row-gap: 16px; + } +} +@media (max-width: 375px) { + .cards-parent { + grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); + -moz-column-gap: 24px; + column-gap: 24px; + row-gap: 24px; + } +} +.courses-header { + margin-bottom: 1.5rem; + padding: 0 1rem; + color: var(--text-color); + font-weight: 600; + font-size: 22px; + line-height: 145%; + letter-spacing: -0.0175em; +} +@media (min-width: 576px) and (max-width: 992px) { + .container { + padding-right: 1rem; + padding-left: 1rem; + } +} +.button-links { + color: #4C5A67; +} +.button-links:hover { + text-decoration: none; + color: #4C5A67; +} +.icon-background { + border-radius: 50%; + padding: 3px; + width: 24px; + height: 24px; +} +.small-margin { + margin-right: 10px; +} +.reviews-section { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 32px; + column-gap: 32px; + row-gap: 32px; +} +@media (max-width: 768px) { + .reviews-section { + -moz-column-gap: 16px; + column-gap: 16px; + row-gap: 16px; + } +} +@media (max-width: 600px) { + .reviews-section { + grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); + } +} +.reviews-heading { + display: flex; + justify-content: space-between; +} +@media (max-width: 375px) { + .reviews-heading { + flex-direction: column; + margin-bottom: 1rem; + } +} +.review-card { + display: flex; + flex-direction: column; + height: 100%; +} +.review-card-footer { + display: flex; + margin-top: 20px; + justify-content: space-between; +} +.review-content { + padding: 24px; + flex: 1; +} +.submit-review { + width: 100px; +} +.rating .star-click { + --star-fill: #74808B; +} +.custom-checkbox { + display: flex; + align-items: center; +} +.custom-checkbox > label > input { + visibility: hidden; +} +.custom-checkbox > label > .empty-checkbox { + height: 1.5rem; + width: 1.5rem; + border: 1px solid black; + border-radius: 8px; +} +.custom-checkbox > label > input:checked + .empty-checkbox { + background: url(/assets/community/icons/tick.svg); + background-repeat: no-repeat; + background-position: center center; +} +.quiz-label { + margin-bottom: 0; + cursor: pointer; +} +.quiz-label p { + display: inline; +} +.course-card-wide { + display: flex; + flex-direction: row; + padding: 24px; + background: #E2E6E9; + border-radius: 8px; + margin-top: 16px; +} +@media (max-width: 768px) { + .course-card-wide { + flex-direction: column; + } +} +@media (max-width: 600px) { + .course-card-wide { + padding: 40px 24px 40px; + border-radius: 0px; + align-items: center; + } +} +.course-image-wide { + width: 352px; + height: 200px; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + margin-left: 32px; + border-radius: 8px; + flex: 1; + align-self: center; +} +@media (max-width: 768px) { + .course-image-wide { + width: 100%; + height: 320px; + flex-direction: column; + margin: 0px; + flex: none; + } +} +@media (max-width: 600px) { + .course-image-wide { + height: 216px; + } +} +@media (max-width: 500px) { + .course-home-page { + padding-left: 0; + padding-right: 0; + } +} +.course-card-wide-content { + display: flex; + flex-direction: column; + flex: 2; + justify-content: space-between; +} +@media (max-width: 768px) { + .course-card-wide-content { + width: 100%; + } +} +@media (max-width: 600px) { + .course-card-wide-content { + width: 90%; + align-items: center; + } +} +.course-card-wide-title { + font-style: normal; + font-weight: 600; + font-size: 40px; + line-height: 120%; + color: #192734; + margin-bottom: 8px; +} +@media (max-width: 768px) { + .course-card-wide-title { + margin-top: 24px; + font-size: 36px; + } +} +@media (max-width: 600px) { + .course-card-wide-title { + margin-top: 16px; + font-size: 28px; + } +} +.course-card-wide-intro { + font-size: 16px; + line-height: 172%; + letter-spacing: -0.011em; + margin-bottom: 16px; + display: flex; + flex-wrap: wrap; +} +.button { + box-shadow: var(--btn-shadow); + border-radius: 4px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + padding: 8px 12px 8px; + font-size: 12px; + line-height: 135%; + letter-spacing: -0.011em; + border: none; +} +.button:disabled { + cursor: not-allowed; +} +.wide-button { + padding: 12px 24px 12px; + height: 48px; + margin-left: 16px; + font-size: 16px; + line-height: 150%; +} +@media (max-width: 600px) { + .wide-button { + width: 264px; + } +} +.is-secondary { + background: #FFFFFF; +} +.is-secondary:hover { + text-decoration: none; + color: inherit; +} +.is-default { + background: #F4F5F6; + color: #1F272E; +} +@media (max-width: 600px) { + .video-preview { + margin-top: 16px; + } +} +.is-primary { + background: var(--primary-color); + color: #FFFFFF; +} +.is-primary:hover { + text-decoration: none; + color: #FFFFFF; +} +.course-home-outline { + margin-top: 3rem; +} +.small-title { + letter-spacing: -0.011em; +} +.chapter-title { + font-weight: bold; + margin: 0 .25rem 0; + cursor: pointer; + display: flex; + align-items: center; + padding-bottom: 1rem; +} +.chapter-description { + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding-right: 1rem; + padding-left: 1rem; + margin-bottom: 0.75rem; +} +.course-content-parent .chapter-description { + font-size: 0.7rem; +} +.chapter-icon { + margin-left: .25rem; +} +.course-outline-instructor-parent { + display: grid; + grid-gap: 2rem; + grid-template-columns: 4fr 1fr; +} +@media (max-width: 768px) { + .course-outline-instructor-parent { + grid-gap: 1rem; + } +} +@media (max-width: 600px) { + .course-outline-instructor-parent { + padding: 0px 24px 0px; + grid-template-columns: none; + } +} +.profile-parent-section { + display: grid; + grid-gap: 2rem; + grid-template-columns: 4fr 1fr; +} +@media (max-width: 768px) { + .profile-parent-section { + grid-gap: 1rem; + } +} +@media (max-width: 600px) { + .profile-parent-section { + grid-template-columns: none; + } +} +.course-home-mentors { + margin-top: 3rem; +} +@media (max-width: 600px) { + .course-home-mentors { + padding: 0px 24px 0px; + } +} +.reviews-parent { + margin-top: 3rem; +} +@media (max-width: 600px) { + .reviews-parent { + padding: 0px 24px 0px; + } +} +.course-description-section { + margin-top: 3rem; +} +.course-overview-section { + margin-top: 3rem; +} +.lesson-info { + font-size: 16px; + line-height: 250%; + letter-spacing: -0.011em; +} +.lesson-links { + display: block; + padding: 0 1rem; + margin-bottom: .25rem; + color: inherit; +} +.lesson-links:hover { + cursor: pointer; + text-decoration: none; + background: #F4F5F6; + color: inherit; + border-radius: .25rem; +} +.course-content-parent .lesson-links { + padding: 0 1rem 0 0; + margin-bottom: 0.75rem; + font-size: 0.85rem; + line-height: 200%; +} +.chapter-content { + margin: 0; + margin-right: .875rem; +} +.course-outline { + flex-direction: column; + padding: 1rem 0.75rem 0; +} +.lessons { + margin-bottom: 1rem; +} +.course-buttons { + display: flex; +} +@media (max-width: 600px) { + .course-buttons { + flex-direction: column; + } +} +.member-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 20px 0px 16px; +} +.member-card .talk-title { + font-weight: bold; +} +.member-card-large { + width: 256px; + height: 188px; +} +@media (max-width: 768px) { + .member-card-large { + width: 248px; + } +} +@media (max-width: 600px) { + .member-card-large { + width: 100%; + } +} +.member-card-title { + margin: 12px 0px 4px; +} +.member-card-large .member-card-title { + font-weight: bold; +} +.member-card-xl .member-card-title { + font-weight: bold; +} +.member-card-medium { + width: 160px; + height: 140px; + margin: 0 0 32px 20px; +} +@media (max-width: 768px) { + .member-card-medium { + width: 216px; + height: 140px; + margin: 0px 0px 16px 12px; + } +} +@media (max-width: 375px) { + .member-card-medium { + width: 144px; + height: 140px; + } +} +.member-card-xl { + height: 188px; + margin-top: 16px; + background: #E2E6E9; +} +.break { + flex-basis: 100%; + flex-grow: 1; + margin: .5rem 0; +} +.course-home-headings { + font-weight: 600; + font-size: 22px; + line-height: 146%; + letter-spacing: -0.0175em; + color: #192734; + margin-bottom: 1rem; + padding: 0 1rem; +} +.course-detail-headings { + margin: 0px; +} +.modal-headings { + margin: 0; +} +.avatar-medium-schedule { + width: 70px; + height: 70px; +} +.avatar-large { + width: 88px; + height: 88px; +} +.avatar-xl { + width: 112px; + height: 112px; +} +@media (max-width: 500px) { + .avatar-xl { + width: 88px; + height: 88px; + } +} +@media (max-width: 375px) { + .avatar-xl { + width: 50px; + height: 50px; + } +} +.description-card { + padding: 1.5rem; + flex-direction: column; +} +.description-card p { + line-height: 1.72; +} +.description-card p:last-child { + margin-bottom: 0; +} +.overview-card { + padding: 1.5rem; + width: 256px; + flex-direction: column; + display: grid; + -moz-column-gap: 1rem; + column-gap: 1rem; + row-gap: 1rem; +} +@media (max-width: 768px) { + .overview-card { + width: 248px; + } +} +@media (max-width: 600px) { + .overview-card { + padding: 24px 26px 24px; + width: 100%; + } +} +.mentors-section { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + -moz-column-gap: 32px; + column-gap: 32px; + row-gap: 32px; +} +@media (max-width: 600px) { + .mentors-section { + grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); + -moz-column-gap: 24px; + column-gap: 24px; + row-gap: 24px; + } +} +.view-all-mentors { + width: 100%; + display: flex; + align-items: baseline; + cursor: pointer; + margin-top: 1rem; +} +.flex-one { + flex: 1; +} +.preview-modal { + padding: 0 !important; +} +.preview-modal .modal-dialog { + width: 90%; + height: 100%; + max-width: none; +} +.preview-modal .modal-content { + height: 90%; +} +.video-iframe { + width: 100%; + height: 90%; +} +.review-modal .modal-dialog { + width: 50%; + height: 70%; +} +@media (max-width: 600px) { + .review-modl .modal-dialog { + width: auto; + } +} +.error-field { + color: red; +} +.quiz-footer { + display: flex; + align-items: center; + justify-content: space-between; +} +.question { + flex-direction: column; + width: 85%; + margin: 0 auto; +} +.question p { + margin-bottom: 0; +} +.active-question .card-divider { + margin-top: 1rem; +} +.dark-links { + color: inherit; +} +.dark-links:hover { + color: inherit; +} +.breadcrumb { + padding: 0 1rem; + display: flex; + align-items: center; + font-size: 12px; + line-height: 135%; + color: var(--text-color); +} +.course-details-outline { + margin-top: 1rem; +} +.lesson-content-card { + padding: 24px; + flex-direction: column; +} +.lesson-content-card .alert-dismissible .close { + padding: 0.5rem; +} +.course-content-parent { + display: grid; + grid-gap: 2rem; + grid-template-columns: 2fr minmax(600px, 5fr); +} +@media (max-width: 1024px) { + .course-content-parent { + display: flex; + flex-direction: column-reverse; + } +} +.course-content-parent .course-home-headings { + margin: 0px 0px 1rem; +} +.lesson-pagination { + display: flex; + justify-content: space-between; + margin: 24px 0px 0px; +} +.lesson-pagination-parent { + margin-top: 1rem; +} +@media (max-width: 768px) { + .lesson-pagination-parent { + margin-right: 0px; + } +} +.lesson-video { + width: 100%; +} +.active-lesson { + background-color: #EBF5FF; + border-radius: 0.25rem; +} +.lesson-progress { + background: #BFDDF7; + padding: 4px 8px 4px; + font-size: 10px; + line-height: 120%; + margin: 0px 10px 20px; + border-radius: 8px; + font-weight: bold; +} +.profile-page { + padding-top: 1rem; +} +.profile-banner { + height: 248px; + border-radius: 8px 8px 0px 0px; + background-size: cover; + background-position: center; +} +@media (max-width: 500px) { + .profile-banner { + height: 150px; + } +} +.profile-about-section { + flex: 1; + margin-top: 3rem; +} +.profile-info { + height: 68px; + background: #ffffff; + border-radius: 0px 0px 8px 8px; +} +.profile-avatar { + position: relative; + top: 188px; + right: 40px; + display: flex; +} +@media (max-width: 500px) { + .profile-avatar { + top: 95px; + right: 10px; + } +} +@media (max-width: 375px) { + .profile-avatar { + top: 120px; + right: 10px; + } +} +.profile-name { + color: #FFFFFF; + font-weight: 600; + font-size: 22px; + line-height: 156%; + letter-spacing: -0.0175em; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.64); + padding: 1.5rem; +} +@media (max-width: 375px) { + .profile-name { + font-size: 16px; + padding: 5px; + } +} +.creator-badge { + background: #48BB74; + padding: 4px 6px; + color: #ffffff; + font-style: normal; + font-weight: bold; + font-size: 10px; + line-height: 120%; + text-align: center; + letter-spacing: 0.011em; + text-transform: uppercase; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + box-shadow: 0px 1px 1px rgb(0 0 0 / 16%); + border-radius: 4px; + margin-top: 2rem; +} +@media (max-width: 375px) { + .creator-badge { + font-size: 8px; + margin: 8px 0px 0px; + } +} +.profile-profession { + position: relative; + top: 16px; + right: 174px; + font-size: 12px; + line-height: 165%; + width: 85%; +} +@media (max-width: 1200px) { + .profile-profession { + width: 75%; + } +} +@media (max-width: 767px) { + .profile-profession { + width: 60%; + } +} +@media (max-width: 500px) { + .profile-profession { + top: 10px; + right: 120px; + } +} +@media (max-width: 375px) { + .profile-profession { + top: 5px; + right: 70px; + width: 75%; + } +} +.social-icons { + margin: 16px; +} +@media (max-width: 500px) { + .social-icons { + margin: 10px; + } +} +@media (max-width: 375px) { + .social-icons { + margin: 5px; + } +} +.profile-courses { + margin-top: 3rem; +} +.progress-text { + font-size: 12px; + line-height: 165%; +} +.course-creator-progress-parent { + display: flex; + flex-direction: column; +} +.course-creator-section { + margin-top: 3rem; +} +.course-progress-section { + margin-top: 3rem; +} +.progress-card { + width: 256px; + display: flex; + flex-direction: column; + padding: 24px; +} +@media (max-width: 768px) { + .progress-card { + width: 248px; + } +} +@media (max-width: 600px) { + .progress-card { + width: 100%; + } +} +.zindex { + position: relative; + z-index: 2; +} +.progress { + width: 100%; + height: 8px; +} +.progress-bar { + background-color: var(--primary-color); +} +.progress-percentage { + width: 100%; + font-size: 12px; + line-height: 165%; + letter-spacing: 0.02em; + color: #000000; + text-align: center; +} +pre { + width: 100%; + overflow-x: auto; +} +.markdown-source h1 { + font-size: 1.3rem; +} +.markdown-source h2 { + font-size: 1.2rem; +} +.markdown-source h3 { + font-size: 1.1rem; +} +.markdown-source h4 { + font-size: 1rem; +} +.talk-title { + border-bottom: 1px solid #cecdcd; +} +.mt-5 { + margin-top: 5px; +} +.company-name { + font-weight: bold; +} +.speaker-cards-parent { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 32px; + column-gap: 14px; + row-gap: 32px; +} +.avatar img { + -o-object-fit: cover; + object-fit: cover; +} +.section-with-cards .course-home-headings { + margin: 0px 0px 1rem; +} +.schedule-container { + padding-bottom: 16px; +} +.schedule-inner-container { + display: grid; + grid-template-columns: 1.2fr 2fr 1fr 0.2fr; + padding: 0 20px 0; +} +.schedule-slot { + font-weight: bolder; +} +.schedule-title { + font-size: 20px; +} +.schedule-info { + padding: 20px; +} +.drop-down-icon { + padding: 5px 5px 0 0; +} +.event-btn { + display: flex; + align-items: center; + justify-content: center; + margin-top: 3rem; +} +.exhibitor-card { + text-align: center; + padding-bottom: 30px; +} +.exhibitor-card .company-name { + font-size: 25px; + margin-top: 30px; +} +.exhibitor-card .company-logo { + height: 158px; + width: 252px; + -o-object-fit: contain; + object-fit: contain; +} +.info-speaker-avatar { + display: flex; + text-align: right; +} +.info-speaker { + margin-right: 1rem; + padding-bottom: 0; + margin-top: 6px; +} +.info-avatar img { + -o-object-fit: contain; + object-fit: contain; +} +.certificate-content { + padding: 2.5rem 3rem; +} +.certificate-footer { + margin-top: 4.5rem; + display: flex; +} +.certificate-footer-item { + margin-left: 3.5rem; +} +.certificate-ribbon { + background-color: var(--primary-color); + margin-right: auto; + margin-left: 2.5rem; + width: 4.5rem; +} +.certificate-heading { + font-size: 3rem; + font-weight: 500; + color: var(--text-color); +} +.certificate-para { + margin-bottom: 4rem; +} +.certificate-logo { + height: 20px; +} +@media (max-width: 768px) { + .certificate-heading { + font-size: 2rem; + } +} +@media (max-width: 550px) { + .certificate-footer { + flex-direction: column; + } + .certificate-footer-item { + margin-bottom: 1rem; + } +} +@media (max-width: 500px) { + .certificate-heading { + font-size: 1.5rem; + } + .certificate-content { + padding: 2.5rem 2rem; + } + .certificate-ribbon { + margin-left: 1rem; + width: 1.5rem; + } +} +.thread-card { + flex-direction: column; + padding: 1rem; +} + +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-zMib1ukOxvFA/community/community/public/css/1633949353504-vars.css */ +:root { + --tag-color: #737373; + --sidebar-bg: #F6F6F6; + --sidebar-border: #C4C4C4; +} + +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-zMib1ukOxvFA/community/community/public/css/community.bundle.css */ diff --git a/school/public/dist/css/community.bundle.5K2BM4R4.css b/school/public/dist/css/community.bundle.5K2BM4R4.css new file mode 100644 index 00000000..82d7f392 --- /dev/null +++ b/school/public/dist/css/community.bundle.5K2BM4R4.css @@ -0,0 +1,1167 @@ +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-D71dzlXFand2/community/community/public/css/1633949353308-style.css */ +:root { + --c1: #fefae0; + --c2: #264653; + --c3: #e9c46a; + --c4: #2a9d8f; + --c5: #f4a261; + --c6: #e76f51; + --c7: #ccd5ae; + --c8: #EEEEEE; + --bg: var(--c1); + --header-bg: var(--c2); + --header-color: var(--c3); + --tag-color: var(--c7); + --sidebar-bg: var(--c7); + --h-color: var(--c2); + --text-color: #192734; + --text-color-light: #ccc; + --cta-color: var(--c4); + --send-message: var(--c7); + --received-message: var(--c8); + --checkbox-size: 14px; + --control-bg: var(--gray-100); + --button-background: #EEF0F2; + --text-xs: 11px; + --text-sm: 12px; + --text-md: 13px; + --text-base: 14px; + --text-lg: 16px; + --text-xl: 18px; + --text-2xl: 20px; + --text-3xl: 22px; +} +input[type=checkbox] { + -webkit-appearance: auto; + -moz-appearance: auto; + appearance: auto; +} +.course-image { + height: 168px; + width: 100%; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} +.default-image { + background-color: var(--avatar-frame-bg); + color: var(--avatar-frame-color); + display: flex; + flex-direction: column; +} +.default-image-text { + display: flex; + flex: 1; + align-self: center; + justify-content: normal; + font-size: 7rem; + font-weight: bold; +} +.course-tags { + display: flex; + position: relative; + top: 1rem; + left: 1rem; + width: 95%; +} +.course-card-pills { + background: #ffffff; + margin-left: 0; + margin-right: .5rem; + border-radius: 4px; + padding: 4px 6px; + font-size: 10px; + text-align: center; + letter-spacing: 0.011em; + text-transform: uppercase; + color: #2C5477; + font-weight: bold; + box-shadow: 0px 5px 10px rgb(0 0 0 / 10%); +} +.dark-pills { + background: rgba(25, 39, 52, 0.8); + color: #ffffff; +} +.dark-pills img { + width: 0.75rem; + height: 0.75rem; +} +.common-page-style { + background: #F4F5F6; + padding-bottom: 5rem; + min-height: 60vh; + padding-top: 3rem; +} +.common-card-style { + display: flex; + background: #FFFFFF; + border-radius: 8px; + position: relative; + border: 1px solid #EEF0F2; + box-shadow: 0 0px 4px 2px #19273405; +} +.course-card { + flex-direction: column; +} +.muted-text { + font-size: 12px; + line-height: 135%; +} +.course-card-meta { + margin: 16px 0px 8px; +} +.course-card-content { + width: 100%; + padding: 0px 24px 20px; +} +@media (max-width: 350px) { + .course-card-content { + padding: 0px 10px 20px; + } +} +.course-card-title { + font-weight: 600; + font-size: 18px; + line-height: 156%; + letter-spacing: -0.014em; + color: var(--text-color); + align-self: stretch; + margin-bottom: 1.5rem; + height: 56px; +} +@media (max-width: 360px) { + .course-card-title { + font-size: 14px; + } +} +.card-divider { + border: 1px solid #EEF0F2; + margin-bottom: 1rem; +} +.card-divider-dark { + border: 1px solid #C8CFD5; + margin-bottom: 16px; +} +.course-instructor { + margin: 0px 8px; + font-size: 12px; + line-height: 135%; + color: var(--text-color); +} +.course-student-count { + font-size: 12px; + line-height: 135%; + float: right; +} +.view-course-link { + height: 32px; + border-radius: 4px; + font-size: 12px; + padding: 8px 0px 8px; + text-align: center; + line-height: 135%; + cursor: pointer; +} +.cards-parent { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 40px; + column-gap: 40px; + row-gap: 40px; + align-items: center; +} +@media (max-width: 767px) { + .cards-parent { + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 16px; + column-gap: 16px; + row-gap: 16px; + } +} +@media (max-width: 375px) { + .cards-parent { + grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); + -moz-column-gap: 24px; + column-gap: 24px; + row-gap: 24px; + } +} +.courses-header { + margin-bottom: 1.5rem; + padding: 0 1rem; + color: var(--text-color); + font-weight: 600; + font-size: 22px; + line-height: 145%; + letter-spacing: -0.0175em; +} +@media (min-width: 576px) and (max-width: 992px) { + .container { + padding-left: 1rem; + padding-right: 1rem; + } +} +.button-links { + color: #4C5A67; +} +.button-links:hover { + text-decoration: none; + color: #4C5A67; +} +.icon-background { + border-radius: 50%; + padding: 3px; + width: 24px; + height: 24px; +} +.small-margin { + margin-left: 10px; +} +.reviews-section { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 32px; + column-gap: 32px; + row-gap: 32px; +} +@media (max-width: 768px) { + .reviews-section { + -moz-column-gap: 16px; + column-gap: 16px; + row-gap: 16px; + } +} +@media (max-width: 600px) { + .reviews-section { + grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); + } +} +.reviews-heading { + display: flex; + justify-content: space-between; +} +@media (max-width: 375px) { + .reviews-heading { + flex-direction: column; + margin-bottom: 1rem; + } +} +.review-card { + display: flex; + flex-direction: column; + height: 100%; +} +.review-card-footer { + display: flex; + margin-top: 20px; + justify-content: space-between; +} +.review-content { + padding: 24px; + flex: 1; +} +.submit-review { + width: 100px; +} +.rating .star-click { + --star-fill: #74808B; +} +.custom-checkbox { + display: flex; + align-items: center; +} +.custom-checkbox > label > input { + visibility: hidden; +} +.custom-checkbox > label > .empty-checkbox { + height: 1.5rem; + width: 1.5rem; + border: 1px solid black; + border-radius: 8px; +} +.custom-checkbox > label > input:checked + .empty-checkbox { + background: url(/assets/community/icons/tick.svg); + background-repeat: no-repeat; + background-position: center center; +} +.quiz-label { + margin-bottom: 0; + cursor: pointer; +} +.quiz-label p { + display: inline; +} +.course-card-wide { + display: flex; + flex-direction: row; + padding: 24px; + background: #E2E6E9; + border-radius: 8px; + margin-top: 16px; +} +@media (max-width: 768px) { + .course-card-wide { + flex-direction: column; + } +} +@media (max-width: 600px) { + .course-card-wide { + padding: 40px 24px 40px; + border-radius: 0px; + align-items: center; + } +} +.course-image-wide { + width: 352px; + height: 200px; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + margin-right: 32px; + border-radius: 8px; + flex: 1; + align-self: center; +} +@media (max-width: 768px) { + .course-image-wide { + width: 100%; + height: 320px; + flex-direction: column; + margin: 0px; + flex: none; + } +} +@media (max-width: 600px) { + .course-image-wide { + height: 216px; + } +} +@media (max-width: 500px) { + .course-home-page { + padding-right: 0; + padding-left: 0; + } +} +.course-card-wide-content { + display: flex; + flex-direction: column; + flex: 2; + justify-content: space-between; +} +@media (max-width: 768px) { + .course-card-wide-content { + width: 100%; + } +} +@media (max-width: 600px) { + .course-card-wide-content { + width: 90%; + align-items: center; + } +} +.course-card-wide-title { + font-style: normal; + font-weight: 600; + font-size: 40px; + line-height: 120%; + color: #192734; + margin-bottom: 8px; +} +@media (max-width: 768px) { + .course-card-wide-title { + margin-top: 24px; + font-size: 36px; + } +} +@media (max-width: 600px) { + .course-card-wide-title { + margin-top: 16px; + font-size: 28px; + } +} +.course-card-wide-intro { + font-size: 16px; + line-height: 172%; + letter-spacing: -0.011em; + margin-bottom: 16px; + display: flex; + flex-wrap: wrap; +} +.button { + box-shadow: var(--btn-shadow); + border-radius: 4px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + padding: 8px 12px 8px; + font-size: 12px; + line-height: 135%; + letter-spacing: -0.011em; + border: none; +} +.button:disabled { + cursor: not-allowed; +} +.wide-button { + padding: 12px 24px 12px; + height: 48px; + margin-right: 16px; + font-size: 16px; + line-height: 150%; +} +@media (max-width: 600px) { + .wide-button { + width: 264px; + } +} +.is-secondary { + background: #FFFFFF; +} +.is-secondary:hover { + text-decoration: none; + color: inherit; +} +.is-default { + background: #F4F5F6; + color: #1F272E; +} +@media (max-width: 600px) { + .video-preview { + margin-top: 16px; + } +} +.is-primary { + background: var(--primary-color); + color: #FFFFFF; +} +.is-primary:hover { + text-decoration: none; + color: #FFFFFF; +} +.course-home-outline { + margin-top: 3rem; +} +.small-title { + letter-spacing: -0.011em; +} +.chapter-title { + font-weight: bold; + margin: 0 .25rem 0; + cursor: pointer; + display: flex; + align-items: center; + padding-bottom: 1rem; +} +.chapter-description { + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding-left: 1rem; + padding-right: 1rem; + margin-bottom: 0.75rem; +} +.course-content-parent .chapter-description { + font-size: 0.7rem; +} +.chapter-icon { + margin-right: .25rem; +} +.course-outline-instructor-parent { + display: grid; + grid-gap: 2rem; + grid-template-columns: 4fr 1fr; +} +@media (max-width: 768px) { + .course-outline-instructor-parent { + grid-gap: 1rem; + } +} +@media (max-width: 600px) { + .course-outline-instructor-parent { + padding: 0px 24px 0px; + grid-template-columns: none; + } +} +.profile-parent-section { + display: grid; + grid-gap: 2rem; + grid-template-columns: 4fr 1fr; +} +@media (max-width: 768px) { + .profile-parent-section { + grid-gap: 1rem; + } +} +@media (max-width: 600px) { + .profile-parent-section { + grid-template-columns: none; + } +} +.course-home-mentors { + margin-top: 3rem; +} +@media (max-width: 600px) { + .course-home-mentors { + padding: 0px 24px 0px; + } +} +.reviews-parent { + margin-top: 3rem; +} +@media (max-width: 600px) { + .reviews-parent { + padding: 0px 24px 0px; + } +} +.course-description-section { + margin-top: 3rem; +} +.course-overview-section { + margin-top: 3rem; +} +.lesson-info { + font-size: 16px; + line-height: 250%; + letter-spacing: -0.011em; +} +.lesson-links { + display: block; + padding: 0 1rem; + margin-bottom: .25rem; + color: inherit; +} +.lesson-links:hover { + cursor: pointer; + text-decoration: none; + background: #F4F5F6; + color: inherit; + border-radius: .25rem; +} +.course-content-parent .lesson-links { + padding: 0 0 0 1rem; + margin-bottom: 0.75rem; + font-size: 0.85rem; + line-height: 200%; +} +.chapter-content { + margin: 0; + margin-left: .875rem; +} +.course-outline { + flex-direction: column; + padding: 1rem 0.75rem 0; +} +.lessons { + margin-bottom: 1rem; +} +.course-buttons { + display: flex; +} +@media (max-width: 600px) { + .course-buttons { + flex-direction: column; + } +} +.member-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 20px 0px 16px; +} +.member-card .talk-title { + font-weight: bold; +} +.member-card-large { + width: 256px; + height: 188px; +} +@media (max-width: 768px) { + .member-card-large { + width: 248px; + } +} +@media (max-width: 600px) { + .member-card-large { + width: 100%; + } +} +.member-card-title { + margin: 12px 0px 4px; +} +.member-card-large .member-card-title { + font-weight: bold; +} +.member-card-xl .member-card-title { + font-weight: bold; +} +.member-card-medium { + width: 160px; + height: 140px; + margin: 0 20px 32px 0; +} +@media (max-width: 768px) { + .member-card-medium { + width: 216px; + height: 140px; + margin: 0px 12px 16px 0px; + } +} +@media (max-width: 375px) { + .member-card-medium { + width: 144px; + height: 140px; + } +} +.member-card-xl { + height: 188px; + margin-top: 16px; + background: #E2E6E9; +} +.break { + flex-basis: 100%; + flex-grow: 1; + margin: .5rem 0; +} +.course-home-headings { + font-weight: 600; + font-size: 22px; + line-height: 146%; + letter-spacing: -0.0175em; + color: #192734; + margin-bottom: 1rem; + padding: 0 1rem; +} +.course-detail-headings { + margin: 0px; +} +.modal-headings { + margin: 0; +} +.avatar-medium-schedule { + width: 70px; + height: 70px; +} +.avatar-large { + width: 88px; + height: 88px; +} +.avatar-xl { + width: 112px; + height: 112px; +} +@media (max-width: 500px) { + .avatar-xl { + width: 88px; + height: 88px; + } +} +@media (max-width: 375px) { + .avatar-xl { + width: 50px; + height: 50px; + } +} +.description-card { + padding: 1.5rem; + flex-direction: column; +} +.description-card p { + line-height: 1.72; +} +.description-card p:last-child { + margin-bottom: 0; +} +.overview-card { + padding: 1.5rem; + width: 256px; + flex-direction: column; + display: grid; + -moz-column-gap: 1rem; + column-gap: 1rem; + row-gap: 1rem; +} +@media (max-width: 768px) { + .overview-card { + width: 248px; + } +} +@media (max-width: 600px) { + .overview-card { + padding: 24px 26px 24px; + width: 100%; + } +} +.mentors-section { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); + -moz-column-gap: 32px; + column-gap: 32px; + row-gap: 32px; +} +@media (max-width: 600px) { + .mentors-section { + grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); + -moz-column-gap: 24px; + column-gap: 24px; + row-gap: 24px; + } +} +.view-all-mentors { + width: 100%; + display: flex; + align-items: baseline; + cursor: pointer; + margin-top: 1rem; +} +.flex-one { + flex: 1; +} +.preview-modal { + padding: 0 !important; +} +.preview-modal .modal-dialog { + width: 90%; + height: 100%; + max-width: none; +} +.preview-modal .modal-content { + height: 90%; +} +.video-iframe { + width: 100%; + height: 90%; +} +.review-modal .modal-dialog { + width: 50%; + height: 70%; +} +@media (max-width: 600px) { + .review-modl .modal-dialog { + width: auto; + } +} +.error-field { + color: red; +} +.quiz-footer { + display: flex; + align-items: center; + justify-content: space-between; +} +.question { + flex-direction: column; + width: 85%; + margin: 0 auto; +} +.question p { + margin-bottom: 0; +} +.active-question .card-divider { + margin-top: 1rem; +} +.dark-links { + color: inherit; +} +.dark-links:hover { + color: inherit; +} +.breadcrumb { + padding: 0 1rem; + display: flex; + align-items: center; + font-size: 12px; + line-height: 135%; + color: var(--text-color); +} +.course-details-outline { + margin-top: 1rem; +} +.lesson-content-card { + padding: 24px; + flex-direction: column; +} +.lesson-content-card .alert-dismissible .close { + padding: 0.5rem; +} +.course-content-parent { + display: grid; + grid-gap: 2rem; + grid-template-columns: 2fr minmax(600px, 5fr); +} +@media (max-width: 1024px) { + .course-content-parent { + display: flex; + flex-direction: column-reverse; + } +} +.course-content-parent .course-home-headings { + margin: 0px 0px 1rem; +} +.lesson-pagination { + display: flex; + justify-content: space-between; + margin: 24px 0px 0px; +} +.lesson-pagination-parent { + margin-top: 1rem; +} +@media (max-width: 768px) { + .lesson-pagination-parent { + margin-left: 0px; + } +} +.lesson-video { + width: 100%; +} +.active-lesson { + background-color: #EBF5FF; + border-radius: 0.25rem; +} +.lesson-progress { + background: #BFDDF7; + padding: 4px 8px 4px; + font-size: 10px; + line-height: 120%; + margin: 0px 10px 20px; + border-radius: 8px; + font-weight: bold; +} +.profile-page { + padding-top: 1rem; +} +.profile-banner { + height: 248px; + border-radius: 8px 8px 0px 0px; + background-size: cover; + background-position: center; +} +@media (max-width: 500px) { + .profile-banner { + height: 150px; + } +} +.profile-about-section { + flex: 1; + margin-top: 3rem; +} +.profile-info { + height: 68px; + background: #ffffff; + border-radius: 0px 0px 8px 8px; +} +.profile-avatar { + position: relative; + top: 188px; + left: 40px; + display: flex; +} +@media (max-width: 500px) { + .profile-avatar { + top: 95px; + left: 10px; + } +} +@media (max-width: 375px) { + .profile-avatar { + top: 120px; + left: 10px; + } +} +.profile-name { + color: #FFFFFF; + font-weight: 600; + font-size: 22px; + line-height: 156%; + letter-spacing: -0.0175em; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.64); + padding: 1.5rem; +} +@media (max-width: 375px) { + .profile-name { + font-size: 16px; + padding: 5px; + } +} +.creator-badge { + background: #48BB74; + padding: 4px 6px; + color: #ffffff; + font-style: normal; + font-weight: bold; + font-size: 10px; + line-height: 120%; + text-align: center; + letter-spacing: 0.011em; + text-transform: uppercase; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + box-shadow: 0px 1px 1px rgb(0 0 0 / 16%); + border-radius: 4px; + margin-top: 2rem; +} +@media (max-width: 375px) { + .creator-badge { + font-size: 8px; + margin: 8px 0px 0px; + } +} +.profile-profession { + position: relative; + top: 16px; + left: 174px; + font-size: 12px; + line-height: 165%; + width: 85%; +} +@media (max-width: 1200px) { + .profile-profession { + width: 75%; + } +} +@media (max-width: 767px) { + .profile-profession { + width: 60%; + } +} +@media (max-width: 500px) { + .profile-profession { + top: 10px; + left: 120px; + } +} +@media (max-width: 375px) { + .profile-profession { + top: 5px; + left: 70px; + width: 75%; + } +} +.social-icons { + margin: 16px; +} +@media (max-width: 500px) { + .social-icons { + margin: 10px; + } +} +@media (max-width: 375px) { + .social-icons { + margin: 5px; + } +} +.profile-courses { + margin-top: 3rem; +} +.progress-text { + font-size: 12px; + line-height: 165%; +} +.course-creator-progress-parent { + display: flex; + flex-direction: column; +} +.course-creator-section { + margin-top: 3rem; +} +.course-progress-section { + margin-top: 3rem; +} +.progress-card { + width: 256px; + display: flex; + flex-direction: column; + padding: 24px; +} +@media (max-width: 768px) { + .progress-card { + width: 248px; + } +} +@media (max-width: 600px) { + .progress-card { + width: 100%; + } +} +.zindex { + position: relative; + z-index: 2; +} +.progress { + width: 100%; + height: 8px; +} +.progress-bar { + background-color: var(--primary-color); +} +.progress-percentage { + width: 100%; + font-size: 12px; + line-height: 165%; + letter-spacing: 0.02em; + color: #000000; + text-align: center; +} +pre { + width: 100%; + overflow-x: auto; +} +.markdown-source h1 { + font-size: 1.3rem; +} +.markdown-source h2 { + font-size: 1.2rem; +} +.markdown-source h3 { + font-size: 1.1rem; +} +.markdown-source h4 { + font-size: 1rem; +} +.talk-title { + border-bottom: 1px solid #cecdcd; +} +.mt-5 { + margin-top: 5px; +} +.company-name { + font-weight: bold; +} +.speaker-cards-parent { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + -moz-column-gap: 32px; + column-gap: 14px; + row-gap: 32px; +} +.avatar img { + -o-object-fit: cover; + object-fit: cover; +} +.section-with-cards .course-home-headings { + margin: 0px 0px 1rem; +} +.schedule-container { + padding-bottom: 16px; +} +.schedule-inner-container { + display: grid; + grid-template-columns: 1.2fr 2fr 1fr 0.2fr; + padding: 0 20px 0; +} +.schedule-slot { + font-weight: bolder; +} +.schedule-title { + font-size: 20px; +} +.schedule-info { + padding: 20px; +} +.drop-down-icon { + padding: 5px 0 0 5px; +} +.event-btn { + display: flex; + align-items: center; + justify-content: center; + margin-top: 3rem; +} +.exhibitor-card { + text-align: center; + padding-bottom: 30px; +} +.exhibitor-card .company-name { + font-size: 25px; + margin-top: 30px; +} +.exhibitor-card .company-logo { + height: 158px; + width: 252px; + -o-object-fit: contain; + object-fit: contain; +} +.info-speaker-avatar { + display: flex; + text-align: left; +} +.info-speaker { + margin-left: 1rem; + padding-bottom: 0; + margin-top: 6px; +} +.info-avatar img { + -o-object-fit: contain; + object-fit: contain; +} +.certificate-content { + padding: 2.5rem 3rem; +} +.certificate-footer { + margin-top: 4.5rem; + display: flex; +} +.certificate-footer-item { + margin-right: 3.5rem; +} +.certificate-ribbon { + background-color: var(--primary-color); + margin-left: auto; + margin-right: 2.5rem; + width: 4.5rem; +} +.certificate-heading { + font-size: 3rem; + font-weight: 500; + color: var(--text-color); +} +.certificate-para { + margin-bottom: 4rem; +} +.certificate-logo { + height: 20px; +} +@media (max-width: 768px) { + .certificate-heading { + font-size: 2rem; + } +} +@media (max-width: 550px) { + .certificate-footer { + flex-direction: column; + } + .certificate-footer-item { + margin-bottom: 1rem; + } +} +@media (max-width: 500px) { + .certificate-heading { + font-size: 1.5rem; + } + .certificate-content { + padding: 2.5rem 2rem; + } + .certificate-ribbon { + margin-right: 1rem; + width: 1.5rem; + } +} +.thread-card { + flex-direction: column; + padding: 1rem; +} + +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-D71dzlXFand2/community/community/public/css/1633949353504-vars.css */ +:root { + --tag-color: #737373; + --sidebar-bg: #F6F6F6; + --sidebar-border: #C4C4C4; +} + +/* ../../../../../../var/folders/17/tpqgrxyx385fw7grb5kbxmt80000gn/T/tmp-85618-D71dzlXFand2/community/community/public/css/community.bundle.css */ diff --git a/school/public/dist/js/website.bundle.HL5DXFIV.js b/school/public/dist/js/website.bundle.HL5DXFIV.js new file mode 100644 index 00000000..1473663d --- /dev/null +++ b/school/public/dist/js/website.bundle.HL5DXFIV.js @@ -0,0 +1,10 @@ +(() => { + // ../community/community/public/js/profile.js + frappe.ready(() => { + if (frappe.session.user == "Guest") { + var link_array = $(".nav-link").filter((i, elem) => $(elem).text().trim() === "My Profile"); + link_array.length && $(link_array[0]).addClass("hide"); + } + }); +})(); +//# sourceMappingURL=website.bundle.HL5DXFIV.js.map diff --git a/school/public/dist/js/website.bundle.HL5DXFIV.js.map b/school/public/dist/js/website.bundle.HL5DXFIV.js.map new file mode 100644 index 00000000..8d3ffdcc --- /dev/null +++ b/school/public/dist/js/website.bundle.HL5DXFIV.js.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["../../../../../apps/community/community/public/js/profile.js"], + "sourcesContent": ["frappe.ready(() => {\n if (frappe.session.user == \"Guest\") {\n var link_array = $('.nav-link').filter((i, elem) => $(elem).text().trim() === \"My Profile\");\n link_array.length && $(link_array[0]).addClass(\"hide\");\n }\n})\n"], + "mappings": ";;AAAA,SAAO,MAAM,MAAM;AACjB,QAAI,OAAO,QAAQ,QAAQ,SAAS;AAClC,UAAI,aAAa,EAAE,aAAa,OAAO,CAAC,GAAG,SAAS,EAAE,MAAM,OAAO,WAAW;AAC9E,iBAAW,UAAU,EAAE,WAAW,IAAI,SAAS;AAAA;AAAA;", + "names": [] +} diff --git a/community/public/icons/black-arrow.svg b/school/public/icons/black-arrow.svg similarity index 100% rename from community/public/icons/black-arrow.svg rename to school/public/icons/black-arrow.svg diff --git a/community/public/icons/calendar.svg b/school/public/icons/calendar.svg similarity index 100% rename from community/public/icons/calendar.svg rename to school/public/icons/calendar.svg diff --git a/community/public/icons/check.svg b/school/public/icons/check.svg similarity index 100% rename from community/public/icons/check.svg rename to school/public/icons/check.svg diff --git a/community/public/icons/chevron-right.svg b/school/public/icons/chevron-right.svg similarity index 100% rename from community/public/icons/chevron-right.svg rename to school/public/icons/chevron-right.svg diff --git a/community/public/icons/chevron.svg b/school/public/icons/chevron.svg similarity index 100% rename from community/public/icons/chevron.svg rename to school/public/icons/chevron.svg diff --git a/community/public/icons/clock.svg b/school/public/icons/clock.svg similarity index 100% rename from community/public/icons/clock.svg rename to school/public/icons/clock.svg diff --git a/community/public/icons/down-arrow-white.svg b/school/public/icons/down-arrow-white.svg similarity index 100% rename from community/public/icons/down-arrow-white.svg rename to school/public/icons/down-arrow-white.svg diff --git a/community/public/icons/down-arrow.svg b/school/public/icons/down-arrow.svg similarity index 100% rename from community/public/icons/down-arrow.svg rename to school/public/icons/down-arrow.svg diff --git a/community/public/icons/down-arrow1.svg b/school/public/icons/down-arrow1.svg similarity index 100% rename from community/public/icons/down-arrow1.svg rename to school/public/icons/down-arrow1.svg diff --git a/community/public/icons/github.svg b/school/public/icons/github.svg similarity index 100% rename from community/public/icons/github.svg rename to school/public/icons/github.svg diff --git a/community/public/icons/left-arrow.svg b/school/public/icons/left-arrow.svg similarity index 100% rename from community/public/icons/left-arrow.svg rename to school/public/icons/left-arrow.svg diff --git a/community/public/icons/like.svg b/school/public/icons/like.svg similarity index 100% rename from community/public/icons/like.svg rename to school/public/icons/like.svg diff --git a/community/public/icons/lock.svg b/school/public/icons/lock.svg similarity index 100% rename from community/public/icons/lock.svg rename to school/public/icons/lock.svg diff --git a/community/public/icons/medium.svg b/school/public/icons/medium.svg similarity index 100% rename from community/public/icons/medium.svg rename to school/public/icons/medium.svg diff --git a/community/public/icons/message.svg b/school/public/icons/message.svg similarity index 100% rename from community/public/icons/message.svg rename to school/public/icons/message.svg diff --git a/community/public/icons/minus-circle-green.svg b/school/public/icons/minus-circle-green.svg similarity index 100% rename from community/public/icons/minus-circle-green.svg rename to school/public/icons/minus-circle-green.svg diff --git a/community/public/icons/minus-circle.svg b/school/public/icons/minus-circle.svg similarity index 100% rename from community/public/icons/minus-circle.svg rename to school/public/icons/minus-circle.svg diff --git a/community/public/icons/play.svg b/school/public/icons/play.svg similarity index 100% rename from community/public/icons/play.svg rename to school/public/icons/play.svg diff --git a/community/public/icons/rating-filled.svg b/school/public/icons/rating-filled.svg similarity index 100% rename from community/public/icons/rating-filled.svg rename to school/public/icons/rating-filled.svg diff --git a/community/public/icons/rating.svg b/school/public/icons/rating.svg similarity index 100% rename from community/public/icons/rating.svg rename to school/public/icons/rating.svg diff --git a/community/public/icons/search.svg b/school/public/icons/search.svg similarity index 100% rename from community/public/icons/search.svg rename to school/public/icons/search.svg diff --git a/community/public/icons/side-arrow-white.svg b/school/public/icons/side-arrow-white.svg similarity index 100% rename from community/public/icons/side-arrow-white.svg rename to school/public/icons/side-arrow-white.svg diff --git a/community/public/icons/slash.svg b/school/public/icons/slash.svg similarity index 100% rename from community/public/icons/slash.svg rename to school/public/icons/slash.svg diff --git a/community/public/icons/small-add-black.svg b/school/public/icons/small-add-black.svg similarity index 100% rename from community/public/icons/small-add-black.svg rename to school/public/icons/small-add-black.svg diff --git a/community/public/icons/small-add.svg b/school/public/icons/small-add.svg similarity index 100% rename from community/public/icons/small-add.svg rename to school/public/icons/small-add.svg diff --git a/community/public/icons/tick.svg b/school/public/icons/tick.svg similarity index 100% rename from community/public/icons/tick.svg rename to school/public/icons/tick.svg diff --git a/community/public/icons/up-arrow-white.svg b/school/public/icons/up-arrow-white.svg similarity index 100% rename from community/public/icons/up-arrow-white.svg rename to school/public/icons/up-arrow-white.svg diff --git a/community/public/icons/user.svg b/school/public/icons/user.svg similarity index 100% rename from community/public/icons/user.svg rename to school/public/icons/user.svg diff --git a/community/public/icons/white-arrow.svg b/school/public/icons/white-arrow.svg similarity index 100% rename from community/public/icons/white-arrow.svg rename to school/public/icons/white-arrow.svg diff --git a/community/public/icons/white-tick.svg b/school/public/icons/white-tick.svg similarity index 100% rename from community/public/icons/white-tick.svg rename to school/public/icons/white-tick.svg diff --git a/community/public/icons/wrong.svg b/school/public/icons/wrong.svg similarity index 100% rename from community/public/icons/wrong.svg rename to school/public/icons/wrong.svg diff --git a/community/public/images/Vector.png b/school/public/images/Vector.png similarity index 100% rename from community/public/images/Vector.png rename to school/public/images/Vector.png diff --git a/community/public/images/certificate-background.png b/school/public/images/certificate-background.png similarity index 100% rename from community/public/images/certificate-background.png rename to school/public/images/certificate-background.png diff --git a/community/public/images/linkedin.png b/school/public/images/linkedin.png similarity index 100% rename from community/public/images/linkedin.png rename to school/public/images/linkedin.png diff --git a/community/public/images/play.png b/school/public/images/play.png similarity index 100% rename from community/public/images/play.png rename to school/public/images/play.png diff --git a/community/public/images/profile-banner.png b/school/public/images/profile-banner.png similarity index 100% rename from community/public/images/profile-banner.png rename to school/public/images/profile-banner.png diff --git a/community/public/images/wallpaper.png b/school/public/images/wallpaper.png similarity index 100% rename from community/public/images/wallpaper.png rename to school/public/images/wallpaper.png diff --git a/community/public/js/html2canvas.js b/school/public/js/html2canvas.js similarity index 100% rename from community/public/js/html2canvas.js rename to school/public/js/html2canvas.js diff --git a/community/public/js/livecode-canvas.js b/school/public/js/livecode-canvas.js similarity index 100% rename from community/public/js/livecode-canvas.js rename to school/public/js/livecode-canvas.js diff --git a/community/public/js/profile.js b/school/public/js/profile.js similarity index 100% rename from community/public/js/profile.js rename to school/public/js/profile.js diff --git a/community/public/js/website.bundle.js b/school/public/js/website.bundle.js similarity index 100% rename from community/public/js/website.bundle.js rename to school/public/js/website.bundle.js diff --git a/community/query.py b/school/query.py similarity index 100% rename from community/query.py rename to school/query.py diff --git a/community/routing.py b/school/routing.py similarity index 100% rename from community/routing.py rename to school/routing.py diff --git a/community/templates/__init__.py b/school/templates/__init__.py similarity index 100% rename from community/templates/__init__.py rename to school/templates/__init__.py diff --git a/community/templates/certificate.html b/school/templates/certificate.html similarity index 95% rename from community/templates/certificate.html rename to school/templates/certificate.html index 081e1613..86f87de5 100644 --- a/community/templates/certificate.html +++ b/school/templates/certificate.html @@ -46,4 +46,4 @@
- + diff --git a/community/templates/emails/community_course_membership.html b/school/templates/emails/community_course_membership.html similarity index 93% rename from community/templates/emails/community_course_membership.html rename to school/templates/emails/community_course_membership.html index d432fe39..2eb87af5 100644 --- a/community/templates/emails/community_course_membership.html +++ b/school/templates/emails/community_course_membership.html @@ -15,4 +15,4 @@ {% endif %}

{{_("Regards")}},
- {{ _("Team Community") }}


\ No newline at end of file + {{ _("Team School") }}


\ No newline at end of file diff --git a/community/templates/emails/lms_course_interest.html b/school/templates/emails/lms_course_interest.html similarity index 100% rename from community/templates/emails/lms_course_interest.html rename to school/templates/emails/lms_course_interest.html diff --git a/community/templates/emails/lms_daily_digest.html b/school/templates/emails/lms_daily_digest.html similarity index 100% rename from community/templates/emails/lms_daily_digest.html rename to school/templates/emails/lms_daily_digest.html diff --git a/community/templates/emails/lms_invite_request_approved.html b/school/templates/emails/lms_invite_request_approved.html similarity index 100% rename from community/templates/emails/lms_invite_request_approved.html rename to school/templates/emails/lms_invite_request_approved.html diff --git a/community/templates/emails/lms_message.html b/school/templates/emails/lms_message.html similarity index 100% rename from community/templates/emails/lms_message.html rename to school/templates/emails/lms_message.html diff --git a/community/templates/emails/mentor_request_creation_email.html b/school/templates/emails/mentor_request_creation_email.html similarity index 92% rename from community/templates/emails/mentor_request_creation_email.html rename to school/templates/emails/mentor_request_creation_email.html index 9407d6c4..20e51403 100644 --- a/community/templates/emails/mentor_request_creation_email.html +++ b/school/templates/emails/mentor_request_creation_email.html @@ -5,5 +5,5 @@

If you are not any more interested to mentor the course {{ course }}, you can cancel your application.


Thanks and Regards,

-

Team Community.

+

Team School.

diff --git a/community/templates/emails/mentor_request_status_update_email.html b/school/templates/emails/mentor_request_status_update_email.html similarity index 88% rename from community/templates/emails/mentor_request_status_update_email.html rename to school/templates/emails/mentor_request_status_update_email.html index 04e65712..db3ba35a 100644 --- a/community/templates/emails/mentor_request_status_update_email.html +++ b/school/templates/emails/mentor_request_status_update_email.html @@ -4,5 +4,5 @@

Your request to join us as a mentor for the course {{ course }} has been {{ status }}.


Thanks and Regards,

-

Team Community.

+

Team School.

diff --git a/community/templates/exercise.html b/school/templates/exercise.html similarity index 100% rename from community/templates/exercise.html rename to school/templates/exercise.html diff --git a/community/templates/livecode/extension_footer.html b/school/templates/livecode/extension_footer.html similarity index 98% rename from community/templates/livecode/extension_footer.html rename to school/templates/livecode/extension_footer.html index 7079acb2..19fbac1b 100644 --- a/community/templates/livecode/extension_footer.html +++ b/school/templates/livecode/extension_footer.html @@ -104,7 +104,7 @@ var name = $(e).data("name"); let code = editor.codemirror.doc.getValue(); - frappe.call("community.lms.api.submit_solution", { + frappe.call("school.lms.api.submit_solution", { "exercise": name, "code": code }).then(r => { diff --git a/community/templates/livecode/extension_header.html b/school/templates/livecode/extension_header.html similarity index 100% rename from community/templates/livecode/extension_header.html rename to school/templates/livecode/extension_header.html diff --git a/community/templates/pages/__init__.py b/school/templates/pages/__init__.py similarity index 100% rename from community/templates/pages/__init__.py rename to school/templates/pages/__init__.py diff --git a/community/templates/quiz.html b/school/templates/quiz.html similarity index 100% rename from community/templates/quiz.html rename to school/templates/quiz.html diff --git a/community/test_widgets.py b/school/test_widgets.py similarity index 100% rename from community/test_widgets.py rename to school/test_widgets.py diff --git a/community/widgets.py b/school/widgets.py similarity index 100% rename from community/widgets.py rename to school/widgets.py diff --git a/community/www/__init__.py b/school/www/__init__.py similarity index 100% rename from community/www/__init__.py rename to school/www/__init__.py diff --git a/community/www/__pycache__/__init__.py b/school/www/__pycache__/__init__.py similarity index 100% rename from community/www/__pycache__/__init__.py rename to school/www/__pycache__/__init__.py diff --git a/community/www/batch/__init__.py b/school/www/batch/__init__.py similarity index 100% rename from community/www/batch/__init__.py rename to school/www/batch/__init__.py diff --git a/community/www/batch/__pycache__/__init__.py b/school/www/batch/__pycache__/__init__.py similarity index 100% rename from community/www/batch/__pycache__/__init__.py rename to school/www/batch/__pycache__/__init__.py diff --git a/community/www/batch/join.html b/school/www/batch/join.html similarity index 95% rename from community/www/batch/join.html rename to school/www/batch/join.html index 57796295..e1c9f77d 100644 --- a/community/www/batch/join.html +++ b/school/www/batch/join.html @@ -49,7 +49,7 @@ frappe.ready(() => { $("#confirm").click((e) => { frappe.call({ - "method": "community.lms.doctype.lms_batch_membership.lms_batch_membership.create_membership", + "method": "school.lms.doctype.lms_batch_membership.lms_batch_membership.create_membership", "args": { "batch": {{ batch.name }}, "course": {{ batch.course }} diff --git a/community/www/batch/join.py b/school/www/batch/join.py similarity index 100% rename from community/www/batch/join.py rename to school/www/batch/join.py diff --git a/community/www/batch/learn.html b/school/www/batch/learn.html similarity index 96% rename from community/www/batch/learn.html rename to school/www/batch/learn.html index fca12fa8..10ed4482 100644 --- a/community/www/batch/learn.html +++ b/school/www/batch/learn.html @@ -71,7 +71,7 @@
{% if prev_url %} {% endif %} @@ -96,7 +96,7 @@ {% if next_url %} {% elif course.enable_certification %}
diff --git a/community/www/batch/learn.js b/school/www/batch/learn.js similarity index 93% rename from community/www/batch/learn.js rename to school/www/batch/learn.js index 0c76d0cb..8cfd46d1 100644 --- a/community/www/batch/learn.js +++ b/school/www/batch/learn.js @@ -36,7 +36,7 @@ frappe.ready(() => { var save_current_lesson = () => { if ($(".title").hasClass("is-member")) { - frappe.call("community.lms.api.save_current_lesson", { + frappe.call("school.lms.api.save_current_lesson", { course_name: $(".title").attr("data-course"), lesson_name: $(".title").attr("data-lesson") }) @@ -68,7 +68,7 @@ var mark_active_question = (e = undefined) => { var mark_progress = (e) => { var status = $(e.currentTarget).attr("data-progress"); frappe.call({ - method: "community.lms.doctype.course_lesson.course_lesson.save_progress", + method: "school.lms.doctype.course_lesson.course_lesson.save_progress", args: { lesson: $(".title").attr("data-lesson"), course: $(".title").attr("data-course"), @@ -103,7 +103,7 @@ var quiz_summary = (e) => { var total_questions = $(".question").length; frappe.call({ - method: "community.lms.doctype.lms_quiz.lms_quiz.quiz_summary", + method: "school.lms.doctype.lms_quiz.lms_quiz.quiz_summary", args: { "quiz": quiz_name, "results": localStorage.getItem(quiz_name) @@ -170,7 +170,7 @@ var parse_options = () => { var add_icon = (element, icon) => { var label = $(element).parent().find(".label-area p").text(); - $(element).parent().empty().html(` ${label}`); + $(element).parent().empty().html(` ${label}`); } var add_to_local_storage = (quiz_name, current_index, answer, is_correct) => { @@ -188,7 +188,7 @@ var create_certificate = (e) => { e.preventDefault(); course = $(".title").attr("data-course"); frappe.call({ - method: "community.lms.doctype.lms_certification.lms_certification.create_certificate", + method: "school.lms.doctype.lms_certification.lms_certification.create_certificate", args: { "course": course }, diff --git a/community/www/batch/learn.py b/school/www/batch/learn.py similarity index 91% rename from community/www/batch/learn.py rename to school/www/batch/learn.py index fd48f30c..c16b11ab 100644 --- a/community/www/batch/learn.py +++ b/school/www/batch/learn.py @@ -3,7 +3,7 @@ import frappe from . import utils from frappe.utils import cstr -from community.www import batch +from school.www import batch def get_context(context): utils.get_common_context(context) @@ -53,7 +53,7 @@ def get_lesson_index(course, batch, user): return lesson and course.get_lesson_index(lesson) def get_page_extensions(): - default_value = ["community.plugins.PageExtension"] - classnames = frappe.get_hooks("community_lesson_page_extensions") or default_value + default_value = ["school.plugins.PageExtension"] + classnames = frappe.get_hooks("school_lesson_page_extensions") or default_value extensions = [frappe.get_attr(name)() for name in classnames] return extensions diff --git a/community/www/batch/utils.py b/school/www/batch/utils.py similarity index 96% rename from community/www/batch/utils.py rename to school/www/batch/utils.py index 9c833602..5e3019c6 100644 --- a/community/www/batch/utils.py +++ b/school/www/batch/utils.py @@ -1,5 +1,5 @@ import frappe -from community.lms.models import Course +from school.lms.models import Course def get_common_context(context): context.no_cache = 1 diff --git a/community/www/courses/__init__.py b/school/www/courses/__init__.py similarity index 100% rename from community/www/courses/__init__.py rename to school/www/courses/__init__.py diff --git a/community/www/courses/__pycache__/__init__.py b/school/www/courses/__pycache__/__init__.py similarity index 100% rename from community/www/courses/__pycache__/__init__.py rename to school/www/courses/__pycache__/__init__.py diff --git a/community/www/courses/certificate.html b/school/www/courses/certificate.html similarity index 85% rename from community/www/courses/certificate.html rename to school/www/courses/certificate.html index 879c4ab4..d5997e88 100644 --- a/community/www/courses/certificate.html +++ b/school/www/courses/certificate.html @@ -9,7 +9,7 @@ @@ -19,7 +19,7 @@ data-certificate-name="{{ student.full_name }} - {{ course.title }}">Export
{% endif %} - {% include "community/templates/certificate.html" %} + {% include "school/templates/certificate.html" %} {% endblock %} diff --git a/community/www/courses/certificate.js b/school/www/courses/certificate.js similarity index 100% rename from community/www/courses/certificate.js rename to school/www/courses/certificate.js diff --git a/community/www/courses/certificate.py b/school/www/courses/certificate.py similarity index 100% rename from community/www/courses/certificate.py rename to school/www/courses/certificate.py diff --git a/community/www/courses/course.html b/school/www/courses/course.html similarity index 93% rename from community/www/courses/course.html rename to school/www/courses/course.html index 645978a5..bdab3d3d 100644 --- a/community/www/courses/course.html +++ b/school/www/courses/course.html @@ -46,7 +46,7 @@ {% if not course.disable_self_learning and not membership and not course.upcoming %}
Start Learning - +
{% endif %} {% if membership %} @@ -55,7 +55,7 @@ else '1.1' %} - Continue Learning + Continue Learning {% endif %} {% if course.upcoming %} @@ -67,7 +67,7 @@ {% if course.video_link %}
Watch Video Preview - +
{% endif %} @@ -166,7 +166,7 @@
View all mentors + src="/assets/school/icons/down-arrow.svg" />
@@ -194,13 +194,13 @@
{% if course.get_students() | length %}
- + {{ course.get_students() | length }} Enrolled
{% endif %} {% if avg_rating %}
- + {{ avg_rating }} Rating
{% endif %} diff --git a/community/www/courses/course.js b/school/www/courses/course.js similarity index 90% rename from community/www/courses/course.js rename to school/www/courses/course.js index 38dab23c..eefcd3eb 100644 --- a/community/www/courses/course.js +++ b/school/www/courses/course.js @@ -45,7 +45,7 @@ frappe.ready(() => { var check_mentor_request = () => { frappe.call({ - 'method': 'community.lms.doctype.lms_mentor_request.lms_mentor_request.has_requested', + 'method': 'school.lms.doctype.lms_mentor_request.lms_mentor_request.has_requested', 'args': { course: decodeURIComponent($("#course-title").attr("data-course")), }, @@ -84,7 +84,7 @@ var create_mentor_request = (e) => { return; } frappe.call({ - "method": "community.lms.doctype.lms_mentor_request.lms_mentor_request.create_request", + "method": "school.lms.doctype.lms_mentor_request.lms_mentor_request.create_request", "args": { "course": decodeURIComponent($(e.currentTarget).attr("data-course")) }, @@ -100,7 +100,7 @@ var create_mentor_request = (e) => { var cancel_mentor_request = (e) => { e.preventDefault() frappe.call({ - "method": "community.lms.doctype.lms_mentor_request.lms_mentor_request.cancel_request", + "method": "school.lms.doctype.lms_mentor_request.lms_mentor_request.cancel_request", "args": { "course": decodeURIComponent($(e.currentTarget).attr("data-course")) }, @@ -123,7 +123,7 @@ var join_course = (e) => { var batch = $(e.currentTarget).attr("data-batch"); batch = batch ? decodeURIComponent(batch) : ""; frappe.call({ - "method": "community.lms.doctype.lms_batch_membership.lms_batch_membership.create_membership", + "method": "school.lms.doctype.lms_batch_membership.lms_batch_membership.create_membership", "args": { "batch": batch ? batch : "", "course": course @@ -183,7 +183,7 @@ var submit_review = (e) => { return; } frappe.call({ - method: "community.lms.doctype.lms_course_review.lms_course_review.submit_review", + method: "school.lms.doctype.lms_course_review.lms_course_review.submit_review", args: { "rating": rating, "review": review, @@ -210,7 +210,7 @@ var notify_user = (e) => { } frappe.call({ - method: "community.lms.doctype.lms_course_interest.lms_course_interest.capture_interest", + method: "school.lms.doctype.lms_course_interest.lms_course_interest.capture_interest", args: { "course": course }, diff --git a/community/www/courses/course.py b/school/www/courses/course.py similarity index 100% rename from community/www/courses/course.py rename to school/www/courses/course.py diff --git a/community/www/courses/index.html b/school/www/courses/index.html similarity index 100% rename from community/www/courses/index.html rename to school/www/courses/index.html diff --git a/community/www/courses/index.py b/school/www/courses/index.py similarity index 100% rename from community/www/courses/index.py rename to school/www/courses/index.py diff --git a/community/www/courses/utils.py b/school/www/courses/utils.py similarity index 100% rename from community/www/courses/utils.py rename to school/www/courses/utils.py diff --git a/community/www/hackathons/__init__.py b/school/www/hackathons/__init__.py similarity index 100% rename from community/www/hackathons/__init__.py rename to school/www/hackathons/__init__.py diff --git a/community/www/hackathons/__pycache__/__init__.py b/school/www/hackathons/__pycache__/__init__.py similarity index 100% rename from community/www/hackathons/__pycache__/__init__.py rename to school/www/hackathons/__pycache__/__init__.py diff --git a/community/www/hackathons/hackathon.html b/school/www/hackathons/hackathon.html similarity index 100% rename from community/www/hackathons/hackathon.html rename to school/www/hackathons/hackathon.html diff --git a/community/www/hackathons/hackathon.py b/school/www/hackathons/hackathon.py similarity index 100% rename from community/www/hackathons/hackathon.py rename to school/www/hackathons/hackathon.py diff --git a/community/www/hackathons/index.html b/school/www/hackathons/index.html similarity index 100% rename from community/www/hackathons/index.html rename to school/www/hackathons/index.html diff --git a/community/www/hackathons/index.py b/school/www/hackathons/index.py similarity index 100% rename from community/www/hackathons/index.py rename to school/www/hackathons/index.py diff --git a/community/www/hackathons/macros/__init__.py b/school/www/hackathons/macros/__init__.py similarity index 100% rename from community/www/hackathons/macros/__init__.py rename to school/www/hackathons/macros/__init__.py diff --git a/community/www/hackathons/macros/card.html b/school/www/hackathons/macros/card.html similarity index 100% rename from community/www/hackathons/macros/card.html rename to school/www/hackathons/macros/card.html diff --git a/community/www/hackathons/macros/hero.html b/school/www/hackathons/macros/hero.html similarity index 100% rename from community/www/hackathons/macros/hero.html rename to school/www/hackathons/macros/hero.html diff --git a/community/www/hackathons/macros/navbar.html b/school/www/hackathons/macros/navbar.html similarity index 100% rename from community/www/hackathons/macros/navbar.html rename to school/www/hackathons/macros/navbar.html diff --git a/community/www/hackathons/macros/user.html b/school/www/hackathons/macros/user.html similarity index 100% rename from community/www/hackathons/macros/user.html rename to school/www/hackathons/macros/user.html diff --git a/community/www/hackathons/project.html b/school/www/hackathons/project.html similarity index 100% rename from community/www/hackathons/project.html rename to school/www/hackathons/project.html diff --git a/community/www/hackathons/project.js b/school/www/hackathons/project.js similarity index 61% rename from community/www/hackathons/project.js rename to school/www/hackathons/project.js index 4fd14653..82a41089 100644 --- a/community/www/hackathons/project.js +++ b/school/www/hackathons/project.js @@ -13,7 +13,7 @@ var set_likes = function (liked, likes) { // set initial likes frappe.ready(() => { - frappe.call('community.www.hackathons.project.like', { project: get_url_arg().get("project"), initial: true }, (data) => { + frappe.call('school.www.hackathons.project.like', { project: get_url_arg().get("project"), initial: true }, (data) => { set_likes(data.message.action == "Liked", data.message.likes) }) }) @@ -23,26 +23,26 @@ var get_url_arg = () => { } // like - unlike $('.btn-like').on('click', (e) => { - frappe.call('community.www.hackathons.project.like', { project: get_url_arg().get("project") }, (data) => { + frappe.call('school.www.hackathons.project.like', { project: get_url_arg().get("project") }, (data) => { set_likes(data.message.action == "Liked", data.message.likes); }); }); // accept / reject $('.btn-accept').on('click', (e) => { - frappe.call('community.www.hackathons.project.join_request', { id: $(e.target).attr('data-request-id'), action: 'Accept' }, (data) => { + frappe.call('school.www.hackathons.project.join_request', { id: $(e.target).attr('data-request-id'), action: 'Accept' }, (data) => { window.location.reload(); }); }); $('.btn-reject').on('click', (ev) => { - frappe.call('community.www.hackathons.project.join_request', { id: $(ev.target).attr('data-request-id'), action: 'Reject' }, (data) => { + frappe.call('school.www.hackathons.project.join_request', { id: $(ev.target).attr('data-request-id'), action: 'Reject' }, (data) => { window.location.reload(); }); }); $('.btn-leave').on('click', (ev) => { - frappe.call('community.www.hackathons.project.join_request', { id: $(ev.target).attr('data-request-id'), action: 'Reject' }, (data) => { + frappe.call('school.www.hackathons.project.join_request', { id: $(ev.target).attr('data-request-id'), action: 'Reject' }, (data) => { window.location.reload(); }); }); \ No newline at end of file diff --git a/community/www/hackathons/project.py b/school/www/hackathons/project.py similarity index 100% rename from community/www/hackathons/project.py rename to school/www/hackathons/project.py diff --git a/community/www/macros/__init__.py b/school/www/macros/__init__.py similarity index 100% rename from community/www/macros/__init__.py rename to school/www/macros/__init__.py diff --git a/community/www/macros/common_macro.html b/school/www/macros/common_macro.html similarity index 100% rename from community/www/macros/common_macro.html rename to school/www/macros/common_macro.html diff --git a/community/www/macros/livecode.html b/school/www/macros/livecode.html similarity index 96% rename from community/www/macros/livecode.html rename to school/www/macros/livecode.html index 9714b313..662a0546 100644 --- a/community/www/macros/livecode.html +++ b/school/www/macros/livecode.html @@ -74,7 +74,7 @@ if (!frappe.sys_defaults) { - +