Commit 94add3a4 by Andy Armstrong

Provide a first class Open edX theme

LEARNER-2513
parent c9f75f6b
......@@ -22,11 +22,12 @@ class TestHelpers(TestCase):
Tests template paths are returned from enabled theme.
"""
expected_themes = [
Theme('test-theme', 'test-theme', get_theme_base_dir('test-theme')),
Theme('red-theme', 'red-theme', get_theme_base_dir('red-theme')),
Theme('edge.edx.org', 'edge.edx.org', get_theme_base_dir('edge.edx.org')),
Theme('edx.org', 'edx.org', get_theme_base_dir('edx.org')),
Theme('open-edx', 'open-edx', get_theme_base_dir('open-edx')),
Theme('red-theme', 'red-theme', get_theme_base_dir('red-theme')),
Theme('stanford-style', 'stanford-style', get_theme_base_dir('stanford-style')),
Theme('test-theme', 'test-theme', get_theme_base_dir('test-theme')),
]
actual_themes = get_themes()
self.assertItemsEqual(expected_themes, actual_themes)
......
##############
Open edX Theme
##############
This is the default theme used by Open edX installations. It doesn't
provide any overrides, which means that it adopts the built-in themes,
templates etc.
The `Red Theme`_ is provided as an example of building a simple new theme.
For more information on building your own theme, see `Changing Themes for an Open edX Site`_.
.. _Changing Themes for an Open edX Site: https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/theming/index.html
.. _Red Theme: https://github.com/edx/edx-platform/tree/master/themes/red-theme
#####################
Studio Open edX Theme
#####################
This is the default Studio theme used by Open edX installations. It doesn't
provide any overrides, which means that it adopts the built-in themes,
templates etc.
The `Red Theme`_ is provided as an example of building a simple new theme.
For more information on building your own theme, see `Changing Themes for an Open edX Site`_.
.. _Changing Themes for an Open edX Site: https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/theming/index.html
.. _Red Theme: https://github.com/edx/edx-platform/tree/master/themes/red-theme
##################
LMS Open edX Theme
##################
This is the default LMS theme used by Open edX installations. It doesn't
provide any overrides, which means that it adopts the built-in themes,
templates etc.
The `Red Theme`_ is provided as an example of building a simple new theme.
For more information on building your own theme, see `Changing Themes for an Open edX Site`_.
.. _Changing Themes for an Open edX Site: https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/changing_appearance/theming/index.html
.. _Red Theme: https://github.com/edx/edx-platform/tree/master/themes/red-theme
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment