[snowy] Add an explanatory index page
- From: Brad Taylor <btaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Add an explanatory index page
- Date: Mon, 25 May 2009 12:05:09 -0400 (EDT)
commit 41dac11db7b2498431dd18381f5be0e632efd9b1
Author: Brad Taylor <brad getcoded net>
Date: Mon May 25 11:35:41 2009 -0400
Add an explanatory index page
---
templates/index.html | 23 +++++++++++++++++++++++
urls.py | 2 ++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..ad937d9
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block content %}
+{% blocktrans %}
+<h1>Welcome to Snowy!</h1>
+<p>Snowy is Tomboy's best friend on the web. Snowy is an online service that
+allows you to view, edit and share the notes you create in Tomboy on your
+desktop computer. Powered by <a
+href="http://www.djangoproject.com">Django</a>, it features a REST-based API
+for synchronizing notes, an intuitive editor and moxie; lots of moxie.</p>
+
+<p>Thank you for your interest in Snowy. Snowy is currently under heavy
+development and is <strike>not ready</strike><b>REALLY</b> not ready for
+production use. Like any good K9 companion, Snowy will file your taxes
+improperly, reconsile with your ex-girlfriends and burn risotto if not watched
+carefully.</p>
+
+<p>If you want to house-train Snowy and teach him some new tricks, check out
+the TODO and start contributing. P.S., Have I told you how much you rock?</p>
+{% endblocktrans %}
+{% endblock %}
diff --git a/urls.py b/urls.py
index fe3b17f..c39ce8c 100644
--- a/urls.py
+++ b/urls.py
@@ -23,6 +23,8 @@ from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
+ (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}),
+
(r'^registration/', include('registration.urls')),
(r'^(?P<username>\w+)/notes/', include('snowy.notes.urls')),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]