From 39a548fd2629f3b6383990264b2e331b3aea99fb Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 3 Nov 2007 03:45:10 -0400 Subject: Initial import for public release... Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd! --- templates/wiki/base.html | 30 ++++++++++++++++++++++++++++++ templates/wiki/edit.html | 22 ++++++++++++++++++++++ templates/wiki/home.html | 9 +++++++++ templates/wiki/page.html | 17 +++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 templates/wiki/base.html create mode 100644 templates/wiki/edit.html create mode 100644 templates/wiki/home.html create mode 100644 templates/wiki/page.html (limited to 'templates/wiki') diff --git a/templates/wiki/base.html b/templates/wiki/base.html new file mode 100644 index 0000000..90d9315 --- /dev/null +++ b/templates/wiki/base.html @@ -0,0 +1,30 @@ + + + +{% block title %}{% endblock %} + + +{% block content %} +

This is the base template. Extend it with the "extends" template tag.

+{% endblock %} + + \ No newline at end of file diff --git a/templates/wiki/edit.html b/templates/wiki/edit.html new file mode 100644 index 0000000..421a313 --- /dev/null +++ b/templates/wiki/edit.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} +{% block content %} +
+
+ Wiki Syntax +
+

Editing: {{ page.title }}

+
+ +

+ +

+ +
+ +
+{% endblock %} diff --git a/templates/wiki/home.html b/templates/wiki/home.html new file mode 100644 index 0000000..6c0fb6e --- /dev/null +++ b/templates/wiki/home.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block content %} +
+

Wiki Index

+{% for page in pages %} +

{{ page.title }}

+{% endfor %} +
+{% endblock %} diff --git a/templates/wiki/page.html b/templates/wiki/page.html new file mode 100644 index 0000000..e0e6ddd --- /dev/null +++ b/templates/wiki/page.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% load wikitags %} +{% block content %} +
+

{{ page.title }}

+
+{{ page.content|wikify }} +
+ + +
+ Last Author: {{ page.last_author.username }} +
+
+{% endblock %} -- cgit v1.2.3-24-g4f1b