eggification
[photoprint.git] / Products / photoprint / skins / order_printing_list_template.pt
diff --git a/Products/photoprint/skins/order_printing_list_template.pt b/Products/photoprint/skins/order_printing_list_template.pt
new file mode 100644 (file)
index 0000000..5f7688d
--- /dev/null
@@ -0,0 +1,45 @@
+<html metal:use-macro="here/main_template/macros/master"
+      xmlns:tal="http://xml.zope.org/namespaces/tal"
+      xmlns:metal="http://xml.zope.org/namespaces/metal"
+      xmlns:i18n="http://xml.zope.org/namespaces/i18n">
+  <head>
+    <title>order printing list</title>
+    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
+    <link metal:fill-slot="base"
+          rel="alternate" type="application/rss+xml"
+          tal:attributes="title here/title_or_id;
+                          href string:${here/absolute_url}/order_printing_list/xml" />
+    
+  </head>
+  <body i18n:domain="photoprint">
+    <div metal:fill-slot="main_no_tabs" tal:omit-tag="">
+      RSS :
+      <input type="text"
+             tal:define="rss string:${context/absolute_url}/order_printing_list/xml"
+             tal:attributes="value rss; size python:len(rss)"/>
+      <table class="listing" cellspacing="0">
+        <tr>
+          <th i18n:translate="">Image</th>
+          <th i18n:translate="">File</th>
+          <th i18n:translate="">Format / type</th>
+          <th i18n:translate="">Quantity</th>
+        </tr>
+        <tr  tal:repeat="i options/infos" tal:attributes="class python:repeat['i'].odd() and 'odd' or 'even'">
+          <td>
+            <a tal:attributes="href i/url">
+              <img tal:attributes="src i/thumbUrl;
+                                   alt i/title;
+                                   height i/thumbHeight;
+                                   width  i/thumbWidth"/>
+            </a>
+          </td>
+          <td tal:content="i/id">image id</td>
+          <td tal:content="i/title" class="num">job title</td>
+          <td tal:content="i/quantity" class="num" style="border-right:1px solid black">quantity</td>
+        </tr>
+      </table>
+      
+      
+    </div>
+  </body>
+</html>