provide a bunch of utility functions we'll need

functions for checking a given template context, looking up an django
AdminSite from the string namespace, and getting all ModelAdmins
registered with a given AdminSite.
A set of template tags for loading the default assets

For getting up and running quickly, provide tags under a namespace for
loading the bundled JS/CSS:

{% load adminlinks_assets %}
{% render_adminlinks_css %}
{% render_adminlinks_js %}

All of this can obviously be done manually, say, for use with Django
Compressor.
Beginnings of a default Mixin for getting frontend editing working

For when your ModelAdmin doesn't do anything special, we'll provide a
class that responds to frontend requests nicely. For now, we just know
we're going to be using the `get_registered_modeladmins` to look for
ModelAdmins which have the attribute `frontend_editing` and do no
deeper inspection.

This leaves the way open for other apps to expose different response
functionality in the frontend.
Provide a simple toolbar.

Currently just shows a list of registered modeladmins, optionally
separated by the app name, with each modeladmin linking to the add_view
for the appropriate model.

Also not entirely sure (because I've not tested it enough), if this
_resort_modeladmins_for_toolbar thing works properly. Even if it does,
should still drop the lambda and change it to operator.itemgetter.
here's the assets for JavaScript stuff.

Not intended to be final, and I'd like to port some of it to
CoffeeScript.
Bugfix: remove alert on iframe loading callback.
Waste of time

Don't need to have these here, as they're basically empty, and
rendering them is pretty pointless.
A bunch of painfully similar templates.

Definitely should look into if I can make this more DRY.
initial commit for all the working buttons for standard modeladmin actions

This is why we have those painfully similar templates.
Forgot this template

Which will show all the model based actions for this object (edit,
delete, history, add)
Not we can drop the old, similar-but-worse idea for rendering tags.
The popup javascript

Fancybox v1.3.4, from 11/11/2010, customised to use the django.jQuery
namespace instead of jQuery (or window.jQuery, I forget which it was)
Now we have a fancybox, we can close the window!

At it's most basic, when we've finished frontend editing, we just close
the current fancybox.
Styling for the various buttons + toolbars

Note: everything is namespaced under 'admin-toolbar' as a class prefix,
but the styles themselves have been copied near-verbatim from Twitter's
Bootstrap.
listening to an event triggered by the iframe when ready

Allows us to naively set the iframe height to what we think it should
be. Needs work.
need the fancybox css
Copy over the :hover state for buttons, from Bootstrap
get the document height, rather than the body ...
reducing the bumpf involved in fancybox's standard css
modify the default fancybox controls.