[MKDoc-commit] Timerange component

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Dec 2 12:54:35 GMT 2004


Log Message:
-----------
Timerange component

Tags:
----
mkdoc-1-6

Added Files:
-----------
    mkd/templates/component/timerange:
        en.html

-------------- next part --------------
--- /dev/null
+++ templates/component/timerange/en.html
@@ -0,0 +1,48 @@
+<!--?
+
+
+This template is used for rendering timerange components in documents. 
+
+?-->
+<div
+  class="timerange"
+  xmlns:petal="http://purl.org/petal/1.0/"
+>
+  <dl>
+    <dt
+      xml:lang="en"
+      lang="en"
+      dir="ltr"
+      petal:attributes="xml:lang self/language;
+                        lang     self/language;
+                        dir      self/direction;"
+      petal:content="self/title"
+    >
+      Timerange Title 
+    </dt>
+    <dd
+      xml:lang="en"
+      lang="en"
+      dir="ltr"
+    >
+      Starts
+        <strong
+          petal:content="self/to_datetime/strftime '%B %e, %Y %H:%M %Z'"
+        >
+          Start Time
+        </strong>
+    </dd>
+    <dd
+      xml:lang="en"
+      lang="en"
+      dir="ltr"
+    >
+      Ends
+        <strong
+          petal:content="self/from_datetime/strftime '%B %e, %Y %H:%M %Z'"
+        >
+          End Time
+        </strong>
+    </dd>
+  </dl>
+</div>


More information about the MKDoc-commit mailing list