diff --git a/nlatheme/__about__.py b/nlatheme/__about__.py new file mode 100644 index 000000000..b558277b4 --- /dev/null +++ b/nlatheme/__about__.py @@ -0,0 +1 @@ +__version__ = "17.2.0.1" diff --git a/tutorindigo/__init__.py b/nlatheme/__init__.py similarity index 100% rename from tutorindigo/__init__.py rename to nlatheme/__init__.py diff --git a/tutorindigo/patches/.gitignore b/nlatheme/patches/.gitignore similarity index 100% rename from tutorindigo/patches/.gitignore rename to nlatheme/patches/.gitignore diff --git a/tutorindigo/plugin.py b/nlatheme/plugin.py similarity index 94% rename from tutorindigo/plugin.py rename to nlatheme/plugin.py index 0a9e6c745..95f3bec49 100644 --- a/tutorindigo/plugin.py +++ b/nlatheme/plugin.py @@ -47,25 +47,25 @@ # Theme templates hooks.Filters.ENV_TEMPLATE_ROOTS.add_item( - pkg_resources.resource_filename("tutorindigo", "templates") + pkg_resources.resource_filename("nlatheme", "templates") ) # This is where the theme is rendered in the openedx build directory hooks.Filters.ENV_TEMPLATE_TARGETS.add_items( [ - ("indigo", "build/openedx/themes"), + ("nla-theme", "build/openedx/themes"), ], ) # Force the rendering of scss files, even though they are included in a "partials" directory hooks.Filters.ENV_PATTERNS_INCLUDE.add_item( - r"indigo/lms/static/sass/partials/lms/theme/" + r"nla-theme/lms/static/sass/partials/lms/theme/" ) # init script: set theme automatically with open( os.path.join( - pkg_resources.resource_filename("tutorindigo", "templates"), - "indigo", + pkg_resources.resource_filename("nlatheme", "templates"), + "nla-theme", "tasks", "init.sh", ), diff --git a/tutorindigo/templates/indigo/cms/static/images/favicon.ico b/nlatheme/templates/nla-theme/cms/static/images/favicon.ico similarity index 100% rename from tutorindigo/templates/indigo/cms/static/images/favicon.ico rename to nlatheme/templates/nla-theme/cms/static/images/favicon.ico diff --git a/nlatheme/templates/nla-theme/cms/static/images/studio-logo.png b/nlatheme/templates/nla-theme/cms/static/images/studio-logo.png new file mode 100644 index 000000000..a6ffde85f Binary files /dev/null and b/nlatheme/templates/nla-theme/cms/static/images/studio-logo.png differ diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Bold.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Bold.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Bold.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Bold.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-BoldItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-BoldItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-BoldItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-BoldItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Italic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Italic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Italic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Italic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Regular.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Regular.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-Regular.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-Regular.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-SemiBold.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-SemiBold.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-SemiBold.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-SemiBold.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-SemiBoldItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-SemiBoldItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/CrimsonText-SemiBoldItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/CrimsonText-SemiBoldItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Bold.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Bold.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Bold.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Bold.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-BoldItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-BoldItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-BoldItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-BoldItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ExtraLight.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ExtraLight.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ExtraLight.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ExtraLight.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ExtraLightItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ExtraLightItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ExtraLightItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ExtraLightItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Italic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Italic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Italic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Italic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Light.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Light.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Light.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Light.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-LightItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-LightItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-LightItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-LightItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Medium.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Medium.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Medium.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Medium.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-MediumItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-MediumItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-MediumItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-MediumItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Regular.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Regular.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Regular.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Regular.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-SemiBold.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-SemiBold.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-SemiBold.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-SemiBold.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-SemiBoldItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-SemiBoldItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-SemiBoldItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-SemiBoldItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Thin.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Thin.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-Thin.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-Thin.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ThinItalic.ttf b/nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ThinItalic.ttf similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/IBMPlexSans-ThinItalic.ttf rename to nlatheme/templates/nla-theme/lms/static/fonts/IBMPlexSans-ThinItalic.ttf diff --git a/tutorindigo/templates/indigo/lms/static/fonts/OFL.txt b/nlatheme/templates/nla-theme/lms/static/fonts/OFL.txt similarity index 100% rename from tutorindigo/templates/indigo/lms/static/fonts/OFL.txt rename to nlatheme/templates/nla-theme/lms/static/fonts/OFL.txt diff --git a/tutorindigo/templates/indigo/lms/static/images/emptystate.png b/nlatheme/templates/nla-theme/lms/static/images/emptystate.png similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/emptystate.png rename to nlatheme/templates/nla-theme/lms/static/images/emptystate.png diff --git a/tutorindigo/templates/indigo/lms/static/images/favicon.ico b/nlatheme/templates/nla-theme/lms/static/images/favicon.ico similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/favicon.ico rename to nlatheme/templates/nla-theme/lms/static/images/favicon.ico diff --git a/nlatheme/templates/nla-theme/lms/static/images/logo.png b/nlatheme/templates/nla-theme/lms/static/images/logo.png new file mode 100644 index 000000000..a6ffde85f Binary files /dev/null and b/nlatheme/templates/nla-theme/lms/static/images/logo.png differ diff --git a/tutorindigo/templates/indigo/lms/static/images/no_course_image.png b/nlatheme/templates/nla-theme/lms/static/images/no_course_image.png similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/no_course_image.png rename to nlatheme/templates/nla-theme/lms/static/images/no_course_image.png diff --git a/tutorindigo/templates/indigo/lms/static/images/openedx-logo.png b/nlatheme/templates/nla-theme/lms/static/images/openedx-logo.png similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/openedx-logo.png rename to nlatheme/templates/nla-theme/lms/static/images/openedx-logo.png diff --git a/tutorindigo/templates/indigo/lms/static/images/profile.svg b/nlatheme/templates/nla-theme/lms/static/images/profile.svg similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/profile.svg rename to nlatheme/templates/nla-theme/lms/static/images/profile.svg diff --git a/tutorindigo/templates/indigo/lms/static/images/tutor-logo.png b/nlatheme/templates/nla-theme/lms/static/images/tutor-logo.png similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/tutor-logo.png rename to nlatheme/templates/nla-theme/lms/static/images/tutor-logo.png diff --git a/tutorindigo/templates/indigo/lms/static/images/unenroll.svg b/nlatheme/templates/nla-theme/lms/static/images/unenroll.svg similarity index 100% rename from tutorindigo/templates/indigo/lms/static/images/unenroll.svg rename to nlatheme/templates/nla-theme/lms/static/images/unenroll.svg diff --git a/tutorindigo/templates/indigo/lms/static/sass/courseware/_about.scss b/nlatheme/templates/nla-theme/lms/static/sass/courseware/_about.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/courseware/_about.scss rename to nlatheme/templates/nla-theme/lms/static/sass/courseware/_about.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/courseware/_discover.scss b/nlatheme/templates/nla-theme/lms/static/sass/courseware/_discover.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/courseware/_discover.scss rename to nlatheme/templates/nla-theme/lms/static/sass/courseware/_discover.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/dashbord/_dashbord.scss b/nlatheme/templates/nla-theme/lms/static/sass/dashbord/_dashbord.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/dashbord/_dashbord.scss rename to nlatheme/templates/nla-theme/lms/static/sass/dashbord/_dashbord.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/extra/_footer.scss b/nlatheme/templates/nla-theme/lms/static/sass/extra/_footer.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/extra/_footer.scss rename to nlatheme/templates/nla-theme/lms/static/sass/extra/_footer.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/extra/_header.scss b/nlatheme/templates/nla-theme/lms/static/sass/extra/_header.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/extra/_header.scss rename to nlatheme/templates/nla-theme/lms/static/sass/extra/_header.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/home/_home.scss b/nlatheme/templates/nla-theme/lms/static/sass/home/_home.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/home/_home.scss rename to nlatheme/templates/nla-theme/lms/static/sass/home/_home.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_extras.scss b/nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_extras.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_extras.scss rename to nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_extras.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_fonts.scss b/nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_fonts.scss similarity index 100% rename from tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_fonts.scss rename to nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_fonts.scss diff --git a/tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_variables.scss b/nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_variables.scss similarity index 95% rename from tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_variables.scss rename to nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_variables.scss index ccea1a037..5d363152c 100644 --- a/tutorindigo/templates/indigo/lms/static/sass/partials/lms/theme/_variables.scss +++ b/nlatheme/templates/nla-theme/lms/static/sass/partials/lms/theme/_variables.scss @@ -1,4 +1,4 @@ -$primary: #15376D; +$primary: #006666; $primary-light: #F2F7F8; // Theme fonts diff --git a/tutorindigo/templates/indigo/lms/templates/course.html b/nlatheme/templates/nla-theme/lms/templates/course.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/course.html rename to nlatheme/templates/nla-theme/lms/templates/course.html diff --git a/tutorindigo/templates/indigo/lms/templates/courseware/course_about.html b/nlatheme/templates/nla-theme/lms/templates/courseware/course_about.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/courseware/course_about.html rename to nlatheme/templates/nla-theme/lms/templates/courseware/course_about.html diff --git a/tutorindigo/templates/indigo/lms/templates/courseware/course_about_sidebar_header.html b/nlatheme/templates/nla-theme/lms/templates/courseware/course_about_sidebar_header.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/courseware/course_about_sidebar_header.html rename to nlatheme/templates/nla-theme/lms/templates/courseware/course_about_sidebar_header.html diff --git a/tutorindigo/templates/indigo/lms/templates/courseware/courses.html b/nlatheme/templates/nla-theme/lms/templates/courseware/courses.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/courseware/courses.html rename to nlatheme/templates/nla-theme/lms/templates/courseware/courses.html diff --git a/tutorindigo/templates/indigo/lms/templates/dashboard.html b/nlatheme/templates/nla-theme/lms/templates/dashboard.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/dashboard.html rename to nlatheme/templates/nla-theme/lms/templates/dashboard.html diff --git a/tutorindigo/templates/indigo/lms/templates/dashboard/_dashboard_course_listing.html b/nlatheme/templates/nla-theme/lms/templates/dashboard/_dashboard_course_listing.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/dashboard/_dashboard_course_listing.html rename to nlatheme/templates/nla-theme/lms/templates/dashboard/_dashboard_course_listing.html diff --git a/tutorindigo/templates/indigo/lms/templates/dashboard/_dashboard_course_resume.html b/nlatheme/templates/nla-theme/lms/templates/dashboard/_dashboard_course_resume.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/dashboard/_dashboard_course_resume.html rename to nlatheme/templates/nla-theme/lms/templates/dashboard/_dashboard_course_resume.html diff --git a/tutorindigo/templates/indigo/lms/templates/discovery/course_card.underscore b/nlatheme/templates/nla-theme/lms/templates/discovery/course_card.underscore similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/discovery/course_card.underscore rename to nlatheme/templates/nla-theme/lms/templates/discovery/course_card.underscore diff --git a/tutorindigo/templates/indigo/lms/templates/footer.html b/nlatheme/templates/nla-theme/lms/templates/footer.html similarity index 96% rename from tutorindigo/templates/indigo/lms/templates/footer.html rename to nlatheme/templates/nla-theme/lms/templates/footer.html index e8ace91af..a0a729e8a 100644 --- a/tutorindigo/templates/indigo/lms/templates/footer.html +++ b/nlatheme/templates/nla-theme/lms/templates/footer.html @@ -52,7 +52,7 @@ - Copyrights ©2023. All Rights Reserved. + NLA lessons are all CC-BY-NC-SA. % endif