summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2017-03-12 22:33:42 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2017-03-12 22:33:42 +0100
commit3e1a751ee6f62369f1478427bfb89d8109e5b8ed (patch)
tree52157374247a57461b7521e19e0a063c0c402053 /templates
parent22201057dd7b6a71334eb661ff6df11261a3cd22 (diff)
Updated templates to use HTML5 instead of XHTML.
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