Git Product home page Git Product logo

adminbootstraptheme's Introduction

NOTE: The official repository for this theme is now at http://github.com/mysociety/adminbootstraptheme

adminbootstraptheme

A theme for the Alaveteli admin interface that uses Twitter's Bootstrap project to prettify it. It depends on (and is the default admin theme for) Alaveteli verion 0.6 or above.

If you want to work on the CSS, you'll want to use bootstrap-sass. Do something like:

$ gem install bootstrap-sass
$ gem install compass
$ compass compile --config .compass/config.rb

The javascript is included in a funky way for reasons explained in this commit. To change it, edit the coffeescript at lib/view/general/admin.coffee, and then do something like:

$ coffee -o /tmp/ -c lib/views/general/admin.coffee
$ mv /tmp/admin.js lib/views/general/admin_js.erb

See tags for the correct version of the code to use with your version of Alaveteli.

adminbootstraptheme's People

Contributors

crowbot avatar henare avatar robinhouston avatar sebbacon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

adminbootstraptheme's Issues

Make “request requires admin” and “your request hidden” emails part of the same thread

The former is sent to the site admin team, and the latter is copied to us.

It would be convenient if the messages were displayed as part of the same thread in admins’ MUAs.

Note that in order to make this work in Google Mail (which many UK admins use, at least) it would be necessary to make the email subject lines similar. See http://www.sensefulsolutions.com/2010/08/how-does-email-threading-work-in-gmail.html

When we hide a request, notify the reporter

There is another type of email which it would be nice to have sent out when action is taken on a request reported for attention – an email to the person who reported it saying thanks, we've reviewed it, and taken it down (noting this may be temporary, and we may restore the request in full or in part in the future…)

CSV Upload Help Text

It isn't clear to me from the explanatory text at https://secure.mysociety.org/admin/foi/body/import_csv what is supposed to work without an initial line describing the fields.

The text states: "The fields 'name' and 'request_email' are required;" however I found a file containing just these two elements in that order and no header was not properly read in.

Perhaps easiest just to say the header line is required?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.