summaryrefslogtreecommitdiff
path: root/.templates/editpage.tmpl
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2010-06-08 10:34:13 +0000
committerThomas Schwinge <thomas@schwinge.name>2010-06-08 15:14:05 +0000
commit6b1c0573eaff7d22f625452cfbfe2967c0647ea2 (patch)
tree1d127c03c80a354397f3d4b5b665d17510bcb933 /.templates/editpage.tmpl
parent424bec71b3adfa77d9874dd60b3d3f995a4ae1df (diff)
Update to ikiwiki b10d353490197b576ef7bf2e8bf8016039efbd2d.
Diffstat (limited to '.templates/editpage.tmpl')
-rw-r--r--.templates/editpage.tmpl25
1 files changed, 20 insertions, 5 deletions
diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl
index 45060ffe..53ce934e 100644
--- a/.templates/editpage.tmpl
+++ b/.templates/editpage.tmpl
@@ -1,4 +1,3 @@
-<br />
<TMPL_VAR JAVASCRIPT>
<TMPL_VAR MESSAGE>
<TMPL_VAR FORM-START>
@@ -7,19 +6,26 @@
<TMPL_VAR FIELD-FROM>
<TMPL_VAR FIELD-RCSINFO>
<TMPL_VAR FIELD-NEWFILE>
+<ol class="form">
<TMPL_IF NAME="PAGE_SELECT">
-Page location: <TMPL_VAR FIELD-PAGE>
-Page type: <TMPL_VAR FIELD-TYPE>
+<li>
+<label for="page" class="inline">Page location:</label><TMPL_VAR FIELD-PAGE>
+<label for="type" class="inline">Page type:</label><TMPL_VAR FIELD-TYPE>
+</li>
<TMPL_ELSE>
-<br />
<TMPL_VAR FIELD-PAGE>
<TMPL_VAR FIELD-TYPE>
</TMPL_IF>
+<li>
<TMPL_VAR FIELD-EDITCONTENT><br />
+</li>
<TMPL_IF NAME="CAN_COMMIT">
-Optional comment about this change:<br />
+<li>
+<label for="comments" class="block">Optional comment about this change:</label>
<TMPL_VAR FIELD-COMMENTS><br />
+</li>
</TMPL_IF>
+</ol>
<div class="copyright_assignment_notice">
@@ -66,3 +72,12 @@ if there are questions.</p>
<TMPL_VAR PAGE_PREVIEW>
</div>
</TMPL_IF>
+<TMPL_IF NAME="PAGE_DIFF">
+<hr />
+<div class="header">
+<span>Diff:</span>
+</div>
+<div id="diff">
+<TMPL_VAR PAGE_DIFF>
+</div>
+</TMPL_IF>