Renames legacy dashboards.

The "Nova" dashboard is now "Project" and the "Syspanel" dashboard
is now "Admin" to match the current real names of the dashboards
which better match their purposes.

Implements blueprint fix-legacy-dashboard-names

Change-Id: I702aa0d54c4e3b0ac10db46e6d6ed32803919b7b
Corrects an error in the EC2 form choices.

Fixes bug 1062490.

Change-Id: I1b8bd0fa362c3ddb67a7d4127211adf969b8c48c
Splits OpenStack Dashboard bits from framework app code.

Moves everything OpenStack-specific (dashboards, apis, etc.)
into the openstack_dashboard project, achieving a much
cleaner separation between the project-specific code and
the generic Horizon framework code.

Change-Id: I7235b41d449b26c980668fc3eb4360b24508717b
Adding ephemeral disk to instance details

If the flavor allows ephemeral disk, it is now
displayed in the instance details page.

Fixes bug 1007395

Rebased

Change-Id: I84eb0231c57ad839025cca8370b34dd9b899ca5a
Fix bug 1055929 - Can not display usage data for Quota Summary.

Change-Id: I051e97f14375714d22303ad44a9f0b16aa7d6c51
Readding bin dir which was mistakenly deleted.

Change-Id: Ia8989da47a55f7c932115a976b6d799714b8dc56
User shouldn't remove their own roles on project

Added a check if the user is trying to delete their
own 'admin' role on the current project. This is added
to prevent the users from locking their own
access to Dashboard. Also, if the 'admin' role on the
current project is removed, Dashboard automatically
switches to another project for which the user has 'admin'
role, but the previous project still is displayed as current.

Fixes bug 1046538

Also improved the unit test scenarios a bit.

Change-Id: I1e60a11d628d6490ad24a8149b43ac307afb4780
Merge "Fix bug 1055929 - Can not display usage data for Quota Summary."
Merge "Adding ephemeral disk to instance details"
Merge "User shouldn't remove their own roles on project"
Show message when user has no permissions

Shows a warning messages to users who try to access
restricted page.

This bug can be simply fixed in middleware.py:

    if isinstance(exception, (exceptions.NotAuthorized,
                              exceptions.NotAuthenticated)):
        if request.user.is_authenticated() and 'next' in request.GET:
            # a logged-in users gets NotAuthorized exception,
            # then just redirect to user_home instead of '?next='

But in the case when an user uses different logins(e.g for
different projects), and wants to switch fast between them,
trying to load an admin-only(or other restricted) page,
then Dashboard will redirect them to their home page,
and the user will have to sign-out first, then login again
and load the desired page.

With this fix however, the user will see a message, giving them a choice
to login as different user, or to go to their 'home page' if
they landed on the restricted page by error, allowing fast-switching
between multiple accounts.
Also, this will work fine with bookmarked pages.

P.S. The html repr of the error message will
probably need some improvements...

Fixes bug 1053698

Change-Id: Id458af6c7bd90081fc95d339b32a3654878a927d
Fixes JavaScript count bug in tables.

When showing tables, and you had the summary, "No items to display",
the counter at table footer says "Displaying 1 items". This commit fixes
the inclusion of the empty line into line count.
Affected sub-pages: Instances, Volumes, Images & Snapshots, etc.

Change-Id: I24da50d506be477dffdbb0f497d88b1bd3ceacdc
Update common.

policy.py is not updated as it causes test failures. I will investigate
that separately.

Change-Id: I0970cbc67835a18c0114457c1bb07c700e0dfe88
Add OpenStack trove classifier for PyPI

Add trove classifier to have horizon listed among the
other OpenStack-related projets on PyPI.

Change-Id: I70a2b3dedf437fbfd03d4c2d605af6d6c2ef98c6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Fixes JavaScript count bug in tables."
Fixed url pattern for project:instances:detail page

Removed obsolete :nova: namespace

Fixes bug 1070230

Change-Id: Ia56ef9ebf1a9bfe90b02491125821742ee840baa
Enable quota data from multiple sources.

Now that there are multiple projects with quota data (cinder, quantum)
we need to accommodate that data being aggregated in a centralized
fashion. This commit takes care of that for nova + cinder, and paves
the way for quantum later.

Fixes bug 1070022.

Change-Id: Ifc68c2dc681b2a7b4e7787e0b1a7dca1a970fc36
Merge "Show message when user has no permissions"
Merge "Fixed url pattern for project:instances:detail page"
Merge "Update common."