Repository is archived
No commit activity in last 3 years
No release in over 3 years
An admin interface for Nesta.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0.9.11
 Project Readme

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:

  1. Create new pages.
  2. Edit existing pages.
  3. Delete pages.
  4. 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

  1. 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!

  1. Restart your application.

  2. Visit: http://YOURSITE/admin

  3. Login

  4. Happy Admining.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request