Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
added basic html files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwparker committed Jun 13, 2009
1 parent b912fb5 commit 0fc068a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% extends "base.html" %}

{% block title %}Page not found{% endblock %}

{% block content %}
<h1>Page not found</h1>

<p>Sorry, but the requested page could not be found.</p>
{% endblock %}
23 changes: 23 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="/site_media/css/screen.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!--[if IE]>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection" />
<![endif]-->
</head>
<body>
<div class="container">
<ul>
<li><a href="/">index</a></li>
<li><a href="/admin/">admin</a></li>
<li><a href="/accounts/login/">login</a></li>
<li><a href="/accounts/logout/">logout</a></li>
</ul>
<h1>{% block h1 %}{% endblock %}</h1>
<div>{% block content %}{% endblock %}</div>
</div>
</body>
</html>
4 changes: 4 additions & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block title %}index page{% endblock %}
{% block content %}
{% endblock %}

0 comments on commit 0fc068a

Please sign in to comment.