crowdAI Admin
Credits
Simple theme for ActiveAdmin for crowdAI, developed by Sean F. Carroll.
Inspiration and code was taken from the following projects
Features
General
- Updated styling based on crowdAI and easily themed
Gems
Installation
- Add this to your Gemfile:
gem 'crowdai_admin'
-
Run
bundle install
. -
Add this line to the file
config/initializers/active_admin.rb
meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
config.meta_tags = meta_tags_options
config.meta_tags_for_logged_out_pages = meta_tags_options
Usage
CSS
Remove the active_admin.css
, and instead add this to your application.scss
In your active_admin.css
, include the css file:
@import "crowdai_admin/base";
Remove the line *= require active_admin/base
Then restart your webserver if it was previously running.s
JS
In your active_admin.js
, include the js file:
//= require crowdai_admin/base
Remove the line //= require active_admin/base
Contributing
- Fork it ( https://github.com/crowdAI/crowdai_admin/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request