forgot to add templates/welcome.xhtml
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 18 Nov 2008 21:09:21 +0000 (21:09 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 18 Nov 2008 21:09:21 +0000 (21:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@23 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/templates/welcome.xhtml [new file with mode: 0644]

diff --git a/conifer/templates/welcome.xhtml b/conifer/templates/welcome.xhtml
new file mode 100644 (file)
index 0000000..2c96436
--- /dev/null
@@ -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>