horizon/openstack_dashboard/templates/404.html
Lin Hua Cheng 5d32caf3af Update Horizon for Django 1.5 compatibility
Changes made:
- Changed template url tags: {% url myview %} to {% url myview %}
- Import json instead of django.utils.simplejson
- Import django.utils.encoding.force_unicode instead of
  django.utils.translation.force_unicode
- Fixed error in tables/base.py for CheckboxInput, pass a callable
  check_test. Django 1.5 does not silently fail on this now.
- Set SECRET_KEY in test/settingspy, Django 1.5 refuse to start if it
  is not set.
- Added notes about ALLOWED_HOSTS when running Horizon in Production

Fixes bug 1147329

Change-Id: I6ac1e81498f41141dea99760922991feb310a326
2013-04-30 20:54:39 -07:00

29 lines
820 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% load url from future %}
{% block title %} - {% trans "Page Not Found" %}{% endblock %}
{% block content %}
<div id="right_content">
<div id="page_head">
<h2 id="page_heading">{% trans "The page you were looking for doesn't exist" %}</h2>
<p id="page_description">{% trans "You may have mistyped the address or the page may have moved." %}</p>
</div>
</div>
{% endblock %}
{% block sidebar %}
<div id="sidebar">
<ul id="navigation">
{% block nav_home %}
<li><h3><a href="{% url 'index' %}">{% trans "Home" %}</a></h3></li>
{% endblock %}
{% block nav_projects %}
<li><h3><a href="{% url 'index' %}">{% trans "Projects" %}</a></h3></li>
{% endblock %}
</ul>
</div> <!-- end sidebar -->
{% endblock %}