Commit Graph

29 Commits

Author SHA1 Message Date
Nate Hardison
ea3506d2b9 Add general theming capabilities
This commit adds the requisite settings and startup features to
enable integration of themes into the edX platform. It does not
yet provide hooks in any of the templates, but it does cause the
main `lms/static/sass/application.scss` file to `@import` a theme's
base Sass. Template hooks will come down the road.

CHANGELOG
---------
Define a new `MITX_FEATURE`, `USE_CUSTOM_THEME`, that when enabled,
can be used in templates to determine whether or not custom theme
templates should be used instead of the defaults.

Also define a new setting, `THEME_NAME`, which will be used to
locate theme-specific files. Establish the convention that themes
will be stored outside of the `REPO_ROOT`, inside the `ENV_ROOT`,
in a directory named `themes/`. `themes/<THEME_NAME>` will store
the files for a particular theme.

Provide a function, `enable_theme`, that modifies the template and
static asset load paths appropriately to include the theme's files.

Move the main LMS Sass file to a Mako template that conditionally
`@import`s the theme's base Sass file when a theme is enabled.

Add logic to the assets Rakefile to properly preprocess any Sass/
Mako templates before compiling them.
2013-05-22 12:22:27 -07:00
Ned Batchelder
522c2a12d2 private-requirements.txt moved, ignore it in the new place. 2013-05-16 14:37:55 -04:00
Calen Pennington
ed9b91e9d0 Add mechanism for running migrations of developer workspaces 2013-05-15 15:25:41 -04:00
Calen Pennington
a22287f192 Install prereqs before starting cms/lms or running tests 2013-05-15 15:23:57 -04:00
Steve Strassmann
35d72f30b9 update .gitignore; fix logger import in execute.py 2013-05-10 14:40:30 -04:00
Ned Batchelder
091ca9c3f0 Add a private-requirements.txt for personal changes to how things are installed. Good for installing libs as working dirs. 2013-04-30 16:11:22 -04:00
Calen Pennington
7e07b951b0 Ignore the node_modules directory 2013-04-29 07:32:16 -04:00
Steve Strassmann
30b7f0ab09 undo adding .gitignore to itself 2013-04-26 15:40:53 -04:00
Steve Strassmann
8ab467a9fc add config files for PyBabel and update.py 2013-04-24 11:17:02 -04:00
Kevin Chugh
8d766c4b51 fix conflict 2013-03-13 21:01:37 -04:00
Kevin Chugh
a2be6dd420 first cut of UI 2013-03-12 10:31:05 -04:00
Jay Zoldak
21e7bc5128 More robust handling for finding and clicking on objects by css.
Tag tests not working under PhantomJS to skip for now.
2013-03-08 11:15:14 -05:00
Your Name
b980399f5f change cohort dropdown verbiage 2013-02-08 15:41:11 -05:00
Jay Zoldak
f056f0624d Set up the framework for running lettuce tests against studio 2013-01-08 14:44:45 -05:00
David Ormsbee
156dc1fb6c Merge branch 'master' into feature/victor/actual-askbot-removal
Conflicts:
	lms/envs/aws.py
2012-11-15 14:24:55 -05:00
Vik Paruchuri
62d1f1fe3e update gitignore for pycharm 2012-10-30 20:14:55 -04:00
Victor Shnayder
793354a0dc remove (almost) all references to askbot. 2012-10-30 18:23:07 -04:00
Victor Shnayder
d9c753e7ef add test output files to gitignore 2012-08-21 15:02:26 -04:00
Rocky Duan
d6f3492975 replaced comment client sym link 2012-08-12 22:55:55 -07:00
Kyle Fiedler
00596d2f20 Added courseware css back into the main template 2012-07-25 14:57:44 -04:00
Kyle Fiedler
a8377922a4 Added .env to ignore 2012-07-19 11:57:17 -04:00
John Jarvis
1a3549903c updating activation mail, adding Gemfile.lock to gitignore 2012-07-12 13:41:51 -04:00
Calen Pennington
328b2df7c5 Ignore .egg-info directories 2012-06-18 12:21:12 -04:00
Prem Sichanugrist
e46426b196 Update requirement dependencies
* Make sure we're installing django-pipeline from our fork
* Bump rake to 0.9.2.2, as 0.8.3 is already outdated.
2012-05-30 14:22:36 -04:00
Matt Jankowski
a46fecf379 add test suite output to gitignore 2012-05-23 13:39:39 -04:00
Isaac Chuang
ad44882835 Ike's changes to enable multicourse, new response types, etc. 2012-05-16 21:18:47 -04:00
Piotr Mitros
adf483a96b type converted to isinstance 2012-03-28 17:11:14 -04:00
Calen Pennington
e5dba8c95e Ignore the build directory 2012-03-26 10:18:15 -04:00
Calen Pennington
522ee0584b Copying hgignore to gitignore 2012-03-19 11:10:44 -04:00