diff options
Diffstat (limited to 'templates/wiki')
-rw-r--r-- | templates/wiki/base.html | 30 | ||||
-rw-r--r-- | templates/wiki/edit.html | 22 | ||||
-rw-r--r-- | templates/wiki/home.html | 9 | ||||
-rw-r--r-- | templates/wiki/page.html | 17 |
4 files changed, 0 insertions, 78 deletions
diff --git a/templates/wiki/base.html b/templates/wiki/base.html deleted file mode 100644 index 90d93156..00000000 --- a/templates/wiki/base.html +++ /dev/null @@ -1,30 +0,0 @@ -<html> -<head> - <style type='text/css'> -body { - background: #333; - color: #ddd; -} - -a { - color: #fff; -} - -div.body { - padding: 25px; - margin: 15px; - background: #444; -} - -div.controls { - padding: 20px; -} - </style> -<title>{% block title %}{% endblock %}</title> -</head> -<body> -{% block content %} -<h1>This is the base template. Extend it with the "extends" template tag.</h1> -{% endblock %} -</body> -</html>
\ No newline at end of file diff --git a/templates/wiki/edit.html b/templates/wiki/edit.html deleted file mode 100644 index 421a313f..00000000 --- a/templates/wiki/edit.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} -{% block content %} -<div class="greybox"> - <div style="float:right;font-size:x-small"> - <a href="http://daringfireball.net/projects/markdown/syntax/">Wiki Syntax</a> - </div> - <h2 class="title">Editing: {{ page.title }}</h2> - <form action="." method="post"> - <input name="title" value="{{ page.title }}" /> - <br /><br /> - <textarea name="content" cols="100" rows="32">{{ page.content }}</textarea> - <br /><br /> - <input type="submit" value="Save" /> - </form> - <!-- - <form action="/wiki/delete/" method="post"> - <input type="hidden" name="title" value="{{ page.title }}" /> - <input type="submit" value="Delete" /> - </form> - --> -</div> -{% endblock %} diff --git a/templates/wiki/home.html b/templates/wiki/home.html deleted file mode 100644 index 6c0fb6ef..00000000 --- a/templates/wiki/home.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} -{% block content %} -<div class="box"> - <h2 class="title">Wiki Index</h2> -{% for page in pages %} - <h3><a href='{{ page.title }}/'>{{ page.title }}</a></h3> -{% endfor %} -</div> -{% endblock %} diff --git a/templates/wiki/page.html b/templates/wiki/page.html deleted file mode 100644 index e0e6ddd9..00000000 --- a/templates/wiki/page.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} -{% load wikitags %} -{% block content %} -<div class="box"> - <h1 class="wiki">{{ page.title }}</h1> - <div class="wikibody"> -{{ page.content|wikify }} - </div> - - <div class="wikifoot_r"> - <a href='{{ page.editurl }}'>Edit this page</a> | <a href='/wiki/'>Wiki Index</a> - </div> - <div class="wikifoot_l"> - Last Author: {{ page.last_author.username }} - </div> -</div> -{% endblock %} |