add examples of email.tmpl, mailbox.css in examples directory, move template dir
authorDavid Bremner <bremner@unb.ca>
Mon, 1 Sep 2008 21:54:39 +0000 (18:54 -0300)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Sep 2008 22:29:37 +0000 (19:29 -0300)
examples/email.tmpl [moved from templates/email.tmpl with 100% similarity]
examples/mailbox.css [new file with mode: 0644]
test/templates/email.tmpl [new file with mode: 0644]
test/templates/page.tmpl [moved from templates/page.tmpl with 100% similarity]
test/test.setup

similarity index 100%
rename from templates/email.tmpl
rename to examples/email.tmpl
diff --git a/examples/mailbox.css b/examples/mailbox.css
new file mode 100644 (file)
index 0000000..d4f7ad0
--- /dev/null
@@ -0,0 +1,15 @@
+
+
+div.mailmessage{
+    border-top: 1px solid;
+    margin-top: 1%
+
+}
+.headername {
+font-weight: bold;
+  }
+
+.emailthreadindent{
+position: relative;
+left: 5%;
+}
\ No newline at end of file
diff --git a/test/templates/email.tmpl b/test/templates/email.tmpl
new file mode 100644 (file)
index 0000000..8508fd2
--- /dev/null
@@ -0,0 +1,16 @@
+<div class="mailmessage">
+  <div class="mailheaders">
+    <TMPL_LOOP NAME="HEADERS">
+      <span class="headername"><TMPL_VAR NAME="HEADERNAME"></span>:
+      <span class="headerval">
+       <TMPL_VAR NAME="VAL">
+      </span>
+      <br>
+    </TMPL_LOOP>
+  </div><!--.mailheaders-->
+
+  <div class="mailbody">
+    <TMPL_VAR NAME="BODY">
+  </div><!--.mailbody-->
+
+</div><!--.mailmessage-->
similarity index 100%
rename from templates/page.tmpl
rename to test/templates/page.tmpl
index 7b16fb98d76989ea205fb77c4a9eea09813580dd..002093989b05bdd2903bccdd9544e4433b6db764 100644 (file)
@@ -16,7 +16,7 @@ use IkiWiki::Setup::Standard {
 
        url => "file:///tmp/postaltest-wiki/",
        #cgiurl => "http://example.org/wiki/ikiwiki.cgi",
-       templatedir => $ENV{PWD}."/../templates",
+       templatedir => $ENV{PWD}."/templates",
        #underlaydir => "/usr/share/ikiwiki/basewiki",
 
        # Subversion stuff.