casweb/README | 3 +++ casweb/cas.py | 15 +++++++++++++++ 2 files changed, 18 insertions(+)
New commits: commit e6df97d8078f0e129f1116b92be82012d8e6fa6d Author: adam stokes astokes@fedoraproject.org Date: Wed Jan 27 13:57:18 2010 -0500
- web interface
diff --git a/casweb/README b/casweb/README new file mode 100644 index 0000000..1e84257 --- /dev/null +++ b/casweb/README @@ -0,0 +1,3 @@ +installation: +- see http://webpy.org/install for getting framework installed + and setup on webserver diff --git a/casweb/__init__.py b/casweb/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/casweb/cas.py b/casweb/cas.py new file mode 100644 index 0000000..f647dc5 --- /dev/null +++ b/casweb/cas.py @@ -0,0 +1,15 @@ +import web + +urls = ( + '/(.*)', 'index' +) +app = web.application(urls, globals()) + +class index: + def GET(self, name): + if not name: + name = 'World' + return 'Hello, ' + name + '!' + +app = web.application(urls, globals(), autoreload=False) +application = app.wsgifunc() diff --git a/casweb/templates/base.html b/casweb/templates/base.html new file mode 100644 index 0000000..e69de29
cas@lists.stg.fedorahosted.org