[open-ils-commits] r43 - servres/trunk/conifer/templates

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 24 16:26:18 EST 2008


Author: artunit
Date: 2008-11-24 16:26:14 -0500 (Mon, 24 Nov 2008)
New Revision: 43

Added:
   servres/trunk/conifer/templates/instructors.xhtml
Log:


Added: servres/trunk/conifer/templates/instructors.xhtml
===================================================================
--- servres/trunk/conifer/templates/instructors.xhtml	                        (rev 0)
+++ servres/trunk/conifer/templates/instructors.xhtml	2008-11-24 21:26:14 UTC (rev 43)
@@ -0,0 +1,26 @@
+<?python
+title = 'Instructors'
+?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      xmlns:py="http://genshi.edgewall.org/">
+<xi:include href="master.xhtml"/>
+<xi:include href="paginate.xhtml"/>
+<head>
+  <title>${title}</title>
+  <script type="text/javascript">
+    <!-- !This ought to be in paginate.xhtml, not here. how to do? -->
+    $(function() { $('.pagetable').tablesorter(); });
+  </script>
+</head>
+<body>
+  <h1>${title}</h1>
+  <tr py:def="pageheader()">
+    <th>Name</th>
+  </tr>
+  <span py:def="pagerow(item)">
+    <td>${item.user.last_name}, ${item.user.first_name}</td>
+  </span>
+  ${pagetable(paginator, count, pagerow, pageheader)}
+</body>
+</html>



More information about the open-ils-commits mailing list