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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 18 16:09:25 EST 2008


Author: gfawcett
Date: 2008-11-18 16:09:21 -0500 (Tue, 18 Nov 2008)
New Revision: 23

Added:
   servres/trunk/conifer/templates/welcome.xhtml
Log:
forgot to add templates/welcome.xhtml

Added: servres/trunk/conifer/templates/welcome.xhtml
===================================================================
--- servres/trunk/conifer/templates/welcome.xhtml	                        (rev 0)
+++ servres/trunk/conifer/templates/welcome.xhtml	2008-11-18 21:09:21 UTC (rev 23)
@@ -0,0 +1,22 @@
+<?python
+title = 'Welcome!'
+?>
+<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"/>
+<head>
+  <title>${title}</title>
+</head>
+<body>
+  <div style="float: right; margin: 0 24; background-color: #feb; padding: 24;">
+    <p><a href="/accounts/login/?next=/syrup/">Log in</a></p>
+    <p><a href="/public/search">Search the Reserves</a></p>
+  </div>
+  <h1>News</h1>
+  <div py:for="news in models.News.objects.all().order_by('-published')">
+    <h2>${news.subject}</h2>
+    <div>${news.body}</div>
+  </div>
+</body>
+</html>



More information about the open-ils-commits mailing list