From 346b22ddf795f9a5a10ddc6b83bfa3bc15c8d30a Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 25 Jan 2010 01:00:18 +0100 Subject: Initial commit. --- templates/__init__.py | 3 +++ templates/base.tmpl | 22 ++++++++++++++++++++++ templates/paste.tmpl | 28 ++++++++++++++++++++++++++++ templates/view.tmpl | 22 ++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 templates/__init__.py create mode 100644 templates/base.tmpl create mode 100644 templates/paste.tmpl create mode 100644 templates/view.tmpl (limited to 'templates') diff --git a/templates/__init__.py b/templates/__init__.py new file mode 100644 index 0000000..1dd71e0 --- /dev/null +++ b/templates/__init__.py @@ -0,0 +1,3 @@ +from list import list +from paste import paste +from view import view diff --git a/templates/base.tmpl b/templates/base.tmpl new file mode 100644 index 0000000..55b420e --- /dev/null +++ b/templates/base.tmpl @@ -0,0 +1,22 @@ + + + + + $title + +#block head +#end block + + +
+ +
+#block content +#end block +
+
+ + diff --git a/templates/paste.tmpl b/templates/paste.tmpl new file mode 100644 index 0000000..0a201fe --- /dev/null +++ b/templates/paste.tmpl @@ -0,0 +1,28 @@ +#extends templates.base +#def head + +#end def +#def content +
+ +
+#end def diff --git a/templates/view.tmpl b/templates/view.tmpl new file mode 100644 index 0000000..898a08e --- /dev/null +++ b/templates/view.tmpl @@ -0,0 +1,22 @@ +#extends templates.base +#def head + +#end def +#def content +

New paste

+
+

$pastetitle

+
Pasted by $nick on $date#slurp +#if $syntax + as $syntax#slurp +#end if +. +
+ + $text +
+#end def -- cgit v1.2.3