Nesta::Plugin::Admin
An Admin interface for Nesta allowing currently allowing the following:
Note on the default admin interface
This is U-G-L-Y, as far as interfaces go. I am not an interface person. If you would like a cleaner, prettier interface, feel free to fork and update. If you do, please submit a pull request to me, I would like to make it better looking.
You can override this in two ways.
First, locally by adding templates to APP_ROOT/views, to use this, you must add "admin_from_local: true" to your config/config.yml file.
Second, via a theme by adding "admin_from_theme: true" to your config/config.yml file.
Current Features:
- Create new pages.
- Edit existing pages.
- Delete pages.
- Edit menu.txt.
Known Issues:
- Admin interface is a bit wonky when using some themes.
TODOs:
- Add config editor.
- Add plugin viewer.
- Add theme viewer and installer.
- Add server restart? Maybe? Probably not, but maybe?
Installation
Add this line to your application's Gemfile:
gem 'nesta-plugin-admin'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nesta-plugin-admin
Usage
-
Add a username and password to your config/config.yml
# file: config/config.yml username: foo password: bar
WARNING: I wouldn't commit these to git!
-
Restart your application.
-
Visit: http://YOURSITE/admin
-
Login
-
Happy Admining.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request