add switch tenants

This commit is contained in:
termie
2011-06-16 12:02:59 -07:00
parent 25db4f453c
commit f0b8a00880
9 changed files with 89 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
{% extends 'django_openstack/auth/_switch.html' %}
{% block submit %}
<input type="hidden" name="next" value="/" />
<div class="button">
<input id="home_login_btn" type="submit" value="Sign In">
</div>
{% endblock %}

View File

@@ -0,0 +1,26 @@
{% extends 'base.html' %}
{# present form to log in as different tenant #}
{% block sidebar %}
<div id="sidebar">
EMPTY_SIDEBAR
</div>
{% endblock %}
{% block main %}
<div id='page_header'>
<h2><span>Compute:</span> Switch to Tenant {{to_tenant}}</h2>
<p class='desc'><span>&mdash;</span> Login to OpenStack via Keystone auth.</p>
</div>
<div class='main_content'>
{% include "_messages.html" %}
<div class="dash_block" id="login_wrapper">
<div class='table_title narrow'>
<h3>Switch</h3>
</div>
{% include '_switch.html' %}
</div>
{% endblock %}