diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 07:24:03 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 07:24:03 +0000 |
commit | 5591d621b90855beeb5460f0ac11279d19835699 (patch) | |
tree | ed8dea922eece54aad4b6f3e9da8597e894c2481 /templates | |
parent | ce48f18a3b63ca82a835c151093b8bede5c856c1 (diff) | |
download | ikiwiki-5591d621b90855beeb5460f0ac11279d19835699.tar ikiwiki-5591d621b90855beeb5460f0ac11279d19835699.tar.gz |
css support
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blogpost.tmpl | 16 | ||||
-rw-r--r-- | templates/editpage.tmpl | 10 | ||||
-rw-r--r-- | templates/inlinepagetitle.tmpl | 2 | ||||
-rw-r--r-- | templates/misc.tmpl | 6 | ||||
-rw-r--r-- | templates/page.tmpl | 43 | ||||
-rw-r--r-- | templates/recentchanges.tmpl | 12 |
6 files changed, 58 insertions, 31 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl index 8e4bb6a7d..22253d60b 100644 --- a/templates/blogpost.tmpl +++ b/templates/blogpost.tmpl @@ -1,9 +1,9 @@ -<hr /> -<form action="<TMPL_VAR CGIURL>" method="GET"> -<input type="hidden" name="do" value="blog"> -<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>"> -<input type="hidden" name="subpage" value="1"> -Add a new post titled: <input name=title size=40> -<input type="submit" value="Edit"> +<form action="<TMPL_VAR CGIURL>" method="get"> +<div id="blogform"> +<input type="hidden" name="do" value="blog" /> +<input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" /> +<input type="hidden" name="subpage" value="1" /> +Add a new post titled: <input name="title" size="40" /> +<input type="submit" value="Edit" /> +</div> </form> -<hr /> diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index f77f45036..1733483d3 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -1,7 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> -<head><title><TMPL_VAR FORM-TITLE></title></head> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR FORM-TITLE></title> +<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" /> +</head> <body> <TMPL_IF NAME="PAGE_CONFLICT"> <p> @@ -31,8 +35,12 @@ Optional comment about this change:<br /> <TMPL_VAR FORM-END> <hr /> <TMPL_IF NAME="PAGE_PREVIEW"> +<div id="header"> <h1>Page preview:</h1> +</div> +<div id="content"> <TMPL_VAR PAGE_PREVIEW> +</div> <TMPL_ELSE> <TMPL_VAR HELPONFORMATTINGLINK> </TMPL_IF> diff --git a/templates/inlinepagetitle.tmpl b/templates/inlinepagetitle.tmpl index 06af446ef..91f34b1d3 100644 --- a/templates/inlinepagetitle.tmpl +++ b/templates/inlinepagetitle.tmpl @@ -1,4 +1,4 @@ <p> -<TMPL_VAR PAGELINK><br> +<TMPL_VAR PAGELINK><br /> <i>(posted <TMPL_VAR CTIME>)</i> </p> diff --git a/templates/misc.tmpl b/templates/misc.tmpl index 3e78c3162..98d60d703 100644 --- a/templates/misc.tmpl +++ b/templates/misc.tmpl @@ -1,7 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> -<head><title><TMPL_VAR TITLE></title></head> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR TITLE></title> +<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" /> +</head> <body> <h1> diff --git a/templates/page.tmpl b/templates/page.tmpl index e22169323..8b018ddfb 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -1,57 +1,66 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> -<head><title><TMPL_VAR TITLE></title></head> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR TITLE></title> +<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" /> +</head> <body> +<div id="header"> <h1> <TMPL_LOOP NAME="PARENTLINKS"> <a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/ </TMPL_LOOP> <TMPL_VAR TITLE> </h1> +</div> -<p> +<div id="actions"> +<ul> <TMPL_IF NAME="EDITURL"> -<a href="<TMPL_VAR EDITURL>">Edit</a> +<li><a href="<TMPL_VAR EDITURL>">Edit</a></li> </TMPL_IF> <TMPL_IF NAME="RECENTCHANGESURL"> -<a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a> +<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> </TMPL_IF> <TMPL_IF NAME="HISTORYURL"> -<a href="<TMPL_VAR HISTORYURL>">History</a> +<li><a href="<TMPL_VAR HISTORYURL>">History</a></li> </TMPL_IF> <TMPL_IF NAME="PREFSURL"> -<a href="<TMPL_VAR PREFSURL>">Preferences</a> +<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li> </TMPL_IF> -<TMPL_VAR DISCUSSIONLINK><br /> -</p> +<li><TMPL_VAR DISCUSSIONLINK><br /></li> +</ul> +</div> -<hr /> +<div id="content"> <TMPL_VAR CONTENT> -<hr /> +</div> +<div id="backlinks"> <TMPL_IF NAME="BACKLINKS"> -<p>Links: +Links: <TMPL_LOOP NAME="BACKLINKS"> <a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> </TMPL_LOOP> -</p> </TMPL_IF> +</div> -<p> -<i> +<div id="footer"> +<span id="pageinfo"> <!-- from <TMPL_VAR NAME=WIKINAME> --> Last edited <TMPL_VAR NAME=MTIME> +</span> <TMPL_IF NAME="RSSURL"> -; <a type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> +<a class="rssbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> </TMPL_IF> -</i> -</p> +</div> </body> </html> diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl index 4ab53b892..9836e1f2a 100644 --- a/templates/recentchanges.tmpl +++ b/templates/recentchanges.tmpl @@ -1,15 +1,20 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> -<head><title><TMPL_VAR TITLE></title></head> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR TITLE></title> +<link rel="stylesheet" href="<TMPL_VAR STYLEURL>" type="text/css" /> +</head> <body> +<div id="header"> <h1> <TMPL_VAR INDEXLINK>/ <TMPL_VAR TITLE> </h1> +</div> -<hr /> - +<div id="content"> <ul> <TMPL_LOOP NAME="CHANGELOG"> <li> <!-- <TMPL_VAR NAME="REV"> --> @@ -32,6 +37,7 @@ </li> </TMPL_LOOP> </ul> +</div> <!-- from <TMPL_VAR NAME=WIKINAME> --> |