Merged lp:~jakedahn/openstack-dashboard/templates-cleanup

This commit is contained in:
Devin Carlen 2011-01-24 10:11:56 -08:00
commit 936a09525e
7 changed files with 13 additions and 27 deletions

View File

@ -22,14 +22,6 @@
{% block nav_projects %}
<li><h3><a href="/">Projects</a></h3></li>
{% endblock %}
{% block nav_forum %}
<li><h3><a href="/forum">Forums</a></h3></li>
{% endblock %}
{% block nav_kb %}
<li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
{% endblock %}
</ul>
</div> <!-- end sidebar -->
{% endblock %}

View File

@ -21,14 +21,6 @@
{% block nav_projects %}
<li><h3><a href="/">Projects</a></h3></li>
{% endblock %}
{% block nav_forum %}
<li><h3><a href="/forum">Forums</a></h3></li>
{% endblock %}
{% block nav_kb %}
<li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
{% endblock %}
</ul>
</div> <!-- end sidebar -->
{% endblock %}

View File

@ -21,14 +21,6 @@
{% block nav_projects %}
<li><h3><a href="/">Projects</a></h3></li>
{% endblock %}
{% block nav_forum %}
<li><h3><a href="/forum">Forums</a></h3></li>
{% endblock %}
{% block nav_kb %}
<li><h3><a href="/kb/show/Start/">Knowledge Base</a></h3></li>
{% endblock %}
</ul>
</div> <!-- end sidebar -->
{% endblock %}

View File

@ -37,7 +37,6 @@
<div id="content_wrap">
{% block sidebar %}{% endblock %}
{% block region %}{% endblock %}
{% block forum_breadcrumbs %}{% endblock %}
<div id="content" class="{% block pageclass %}{% endblock %}">
{% block rootcontent %}{% endblock %}
</div><!-- end content -->

View File

@ -46,7 +46,7 @@
<input type="hidden" name="next" value="/" />
<div class="button">
<input id="home_login_btn" type="submit" value="Sign In">
<span id="forgot_password">or <a id="forgot_password_link" href="{% url auth_password_reset %}">Forgot Password?</a></span>
<span id="forgot_password"><a id="forgot_password_link" href="{% url auth_password_reset %}">Forgot Password?</a></span>
</div>
</fieldset>
</form>

View File

@ -0,0 +1,11 @@
{% extends "dashboard/base.html" %}
{% block title %} - Service Unavailable{% endblock %}
{% block pageclass %}unavailable{% endblock %}
{% block content %}
<div id="page_head">
<h2 id="page_heading">Service Unavailable</h2>
<p id="page_description">This service is temporarily unavailable, please check back soon.</p>
</div>
{% endblock %}

View File

@ -50,7 +50,7 @@ urlpatterns += patterns('django.views.generic.simple',
name='dashboard_permission_denied'),
url(r'^unavailable/$',
'direct_to_template',
{'template': 'django_nova/unavailable.html'},
{'template': 'unavailable.html'},
name='nova_unavailable'),
)