It basically checks to see if you're a superuser and if you're not then every page on the site which you try and load will send you to the login page with an appropriate maintenance message.
The styles are hardcoded into the module at present, so changing the default style of the front-end EDIT button could well have a knock-on effect.
Ideas for the future:
I was also thinking about expanding this in future to allow chooseable roles in the configuration that can access the site whilst it's in maintenance mode, as well as adding the messages to the config so they can be translated.
It might also be nice to specify another page to send the user to so that if you want to keep your admin login page hidden you can do.
Thanks to adamkiss whose ListAfterSave module this was written over the top of
Thanks to ryan for solving the last piece of the puzzle and helping me display the message in the top-left of every page.
EDIT: And my particular usage scenario is that I'm building a site on a live server. It's a brand new site so nobody would really know the URL so I thought I'd build it in the root of the site rather than a subfolder and this module lets me do that without letting folks see it until it's finished.
Other usage scenarios could include major template file updates or... whatever else you think it might be good for
You can download from GitHub here: https://github.com/N.../zipball/master













