summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.tmpl8
-rw-r--r--templates/paste.tmpl8
-rw-r--r--templates/view.tmpl2
3 files changed, 8 insertions, 10 deletions
diff --git a/templates/base.tmpl b/templates/base.tmpl
index 55b420e..6374752 100644
--- a/templates/base.tmpl
+++ b/templates/base.tmpl
@@ -1,10 +1,8 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
<title>$title</title>
- <link rel="StyleSheet" href="/static/paste.css" type="text/css" />
+ <link rel="StyleSheet" href="/static/paste.css" type="text/css">
#block head
#end block
</head>
diff --git a/templates/paste.tmpl b/templates/paste.tmpl
index 941e624..e0fea2e 100644
--- a/templates/paste.tmpl
+++ b/templates/paste.tmpl
@@ -16,12 +16,12 @@
#end for
</select>
</li>
- <li><input type="text" name="nick" id="nick" value="$nick" /> <label for="remember_me"><input type="checkbox" name="remember_me" id="remember_me" #if $remembered#checked="true" #end if#/> Remember me</label></li>
- <li><input type="text" name="title" id="title" value="Untitled" /></li>
+ <li><input type="text" name="nick" id="nick" value="$nick"> <label for="remember_me"><input type="checkbox" name="remember_me" id="remember_me" #if $remembered#checked="true" #end if#/> Remember me</label></li>
+ <li><input type="text" name="title" id="title" value="Untitled"></li>
<li><textarea rows="15" cols="80" name="text" id="text"></textarea></li>
<li>
- <input type="submit" id="pastesubmit" name="type" value="Paste" />
- <input type="submit" id="pastesubmit2" name="type" value="Preview" />
+ <input type="submit" id="pastesubmit" name="type" value="Paste">
+ <input type="submit" id="pastesubmit2" name="type" value="Preview">
</li>
</ul>
</form>
diff --git a/templates/view.tmpl b/templates/view.tmpl
index 267e87f..445a1ad 100644
--- a/templates/view.tmpl
+++ b/templates/view.tmpl
@@ -1,6 +1,6 @@
#extends templates.base
#def head
- <link rel="StyleSheet" href="/highlight_stylesheet" type="text/css" />
+ <link rel="StyleSheet" href="/highlight_stylesheet" type="text/css">
<script type="text/javascript" src="/static/view.js"></script>
#end def
#def content