Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract and optimize default theme #550

Open
rjmackay opened this issue Jun 6, 2012 · 1 comment
Open

Abstract and optimize default theme #550

rjmackay opened this issue Jun 6, 2012 · 1 comment

Comments

@rjmackay
Copy link
Contributor

rjmackay commented Jun 6, 2012

  • Splitting out default theme style.css into base.css with absolute minimum and style.css with the default theme styles
  • Allow overriding default theme css/js Allow themes to override default theme css/js files #301
  • Move media/css and media/js files into themes where possible
  • Refactor code that drives themes
  • Possibly allow themes to inherit from other themes (and split default into a base and default theme)
@rjmackay
Copy link
Contributor Author

rjmackay commented Jun 6, 2012

Related issues: #338 #301

rjmackay added a commit that referenced this issue Oct 28, 2012
…are code. Issue #550

* Create addon helper
* Move directory search and readme.txt parsing to addon helper
* Move plugin db sync to plugin helper
* Update controllers and views to match
* Handle default like any other theme (add readme.txt to default theme)
* Include unit tests for new addon helper
* Remove unused addon::config_load()
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 10, 2012
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 10, 2012


* pngFix can be run everywhere anyway.
* runScheduler was never being called
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 10, 2012
…shahidi#550

* Allow themes to specify addition css/js files to include in readme.txt
* Only include _default.css, style.css or THEMENAME.css by default
* Update existing themes to specify JS files
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 10, 2012
* Also removing some unused images
* Remove duplicate images
* Remove duplicate jquery.timeago JS in ci_cumulus theme
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 10, 2012
Conflicts:

	application/views/admin/layout.php
rjmackay added a commit to labb/Ushahidi_Web that referenced this issue Dec 12, 2012
rjmackay added a commit to labb/Ushahidi_Web that referenced this issue Dec 12, 2012
* Make a reasonable attempt to do the same in other themes too

Conflicts:

	themes/default/views/main/layout.php
	themes/unicorn/views/main/layout.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant