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
@@ -116,7 +116,7 @@
- Copyrights ©2023. All Rights Reserved. + NLA lessons are all CC-BY-NC-SA. % endif
diff --git a/tutorindigo/templates/indigo/lms/templates/header/brand.html b/nlatheme/templates/nla-theme/lms/templates/header/brand.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/brand.html rename to nlatheme/templates/nla-theme/lms/templates/header/brand.html diff --git a/tutorindigo/templates/indigo/lms/templates/header/header.html b/nlatheme/templates/nla-theme/lms/templates/header/header.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/header.html rename to nlatheme/templates/nla-theme/lms/templates/header/header.html diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html b/nlatheme/templates/nla-theme/lms/templates/header/navbar-authenticated.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/navbar-authenticated.html rename to nlatheme/templates/nla-theme/lms/templates/header/navbar-authenticated.html diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-logo-header.html b/nlatheme/templates/nla-theme/lms/templates/header/navbar-logo-header.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/navbar-logo-header.html rename to nlatheme/templates/nla-theme/lms/templates/header/navbar-logo-header.html diff --git a/tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html b/nlatheme/templates/nla-theme/lms/templates/header/navbar-not-authenticated.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/navbar-not-authenticated.html rename to nlatheme/templates/nla-theme/lms/templates/header/navbar-not-authenticated.html diff --git a/tutorindigo/templates/indigo/lms/templates/header/user_dropdown.html b/nlatheme/templates/nla-theme/lms/templates/header/user_dropdown.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/header/user_dropdown.html rename to nlatheme/templates/nla-theme/lms/templates/header/user_dropdown.html diff --git a/tutorindigo/templates/indigo/lms/templates/index.html b/nlatheme/templates/nla-theme/lms/templates/index.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/index.html rename to nlatheme/templates/nla-theme/lms/templates/index.html diff --git a/tutorindigo/templates/indigo/lms/templates/index_overlay.html b/nlatheme/templates/nla-theme/lms/templates/index_overlay.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/index_overlay.html rename to nlatheme/templates/nla-theme/lms/templates/index_overlay.html diff --git a/tutorindigo/templates/indigo/lms/templates/registration/account_activation_sidebar_notice.html b/nlatheme/templates/nla-theme/lms/templates/registration/account_activation_sidebar_notice.html similarity index 100% rename from tutorindigo/templates/indigo/lms/templates/registration/account_activation_sidebar_notice.html rename to nlatheme/templates/nla-theme/lms/templates/registration/account_activation_sidebar_notice.html diff --git a/tutorindigo/templates/indigo/tasks/init.sh b/nlatheme/templates/nla-theme/tasks/init.sh similarity index 90% rename from tutorindigo/templates/indigo/tasks/init.sh rename to nlatheme/templates/nla-theme/tasks/init.sh index f301afa12..4115f2d25 100644 --- a/tutorindigo/templates/indigo/tasks/init.sh +++ b/nlatheme/templates/nla-theme/tasks/init.sh @@ -5,7 +5,7 @@ from django.contrib.sites.models import Site def assign_theme(domain): site, _ = Site.objects.get_or_create(domain=domain) if not site.themes.exists(): - site.themes.create(theme_dir_name='indigo') + site.themes.create(theme_dir_name='nla-theme') assign_theme('{{ LMS_HOST }}') assign_theme('{{ LMS_HOST }}') diff --git a/setup.py b/setup.py index 810a89888..56d9dff51 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def load_readme(): def load_about(): about = {} with io.open( - os.path.join(HERE, "tutorindigo", "__about__.py"), + os.path.join(HERE, "nlatheme", "__about__.py"), "rt", encoding="utf-8", ) as f: @@ -25,28 +25,27 @@ def load_about(): setup( - name="tutor-indigo", + name="nla-theme-tutor-plugin", version=ABOUT["__version__"], - url="https://github.com/overhangio/tutor-indigo", + url="https://github.com/newliteraciesalliance/tutor-nla-theme", project_urls={ "Documentation": "https://docs.tutor.edly.io/", - "Code": "https://github.com/overhangio/tutor-indigo", - "Issue tracker": "https://github.com/overhangio/tutor-indigo/issues", - "Community": "https://discuss.openedx.org", + "Code": "https://github.com/newliteraciesalliance/tutor-nla-theme", + "Issue tracker": "https://github.com/newliteraciesalliance/tutor-nla-theme/issues", }, license="AGPLv3", - author="Overhang.IO", - author_email="contact@overhang.io", - maintainer="Edly", - maintainer_email="hina.khadim@arbisoft.com", - description="Indigo theme plugin for Tutor", + author="New Literacies Alliance", + author_email="newliteraciesalliance@gmail.com", + maintainer="K-State Libraries", + maintainer_email="libadm@ksu.edu", + description="NLA theme plugin for Tutor based on Indigo", long_description=load_readme(), packages=find_packages(exclude=["tests*"]), include_package_data=True, python_requires=">=3.8", install_requires=["tutor>=17.0.0,<18.0.0", "tutor-mfe>=17.0.0,<18.0.0"], extras_require={"dev": "tutor[dev]>=17.0.0,<18.0.0"}, - entry_points={"tutor.plugin.v1": ["indigo = tutorindigo.plugin"]}, + entry_points={"tutor.plugin.v1": ["nla-theme = nlatheme.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", diff --git a/tutorindigo/__about__.py b/tutorindigo/__about__.py deleted file mode 100644 index fcf9b6c6a..000000000 --- a/tutorindigo/__about__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "17.2.0" diff --git a/tutorindigo/templates/indigo/cms/static/images/studio-logo.png b/tutorindigo/templates/indigo/cms/static/images/studio-logo.png deleted file mode 100644 index dc473a837..000000000 Binary files a/tutorindigo/templates/indigo/cms/static/images/studio-logo.png and /dev/null differ diff --git a/tutorindigo/templates/indigo/lms/static/images/logo.png b/tutorindigo/templates/indigo/lms/static/images/logo.png deleted file mode 100644 index a503186e2..000000000 Binary files a/tutorindigo/templates/indigo/lms/static/images/logo.png and /dev/null differ