Permalink
Browse files

Initial template for site

  • Loading branch information...
1 parent e3bd3c0 commit eb5dd5b301e61750af9b8e7ea89bd69c224148d1 @chilts chilts committed Dec 3, 2009
View
@@ -0,0 +1,36 @@
+application: kohacon
+version: v0-1
+runtime: python
+api_version: 1
+default_expiration: '1d'
+
+handlers:
+- url: /admin/remote
+ script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
+ login: admin
+
+- url: /admin/.*
+ script: admin.py
+ login: admin
+
+- upload: theme/*/s/* # all the files to upload
+ url: /s/([^/]+)/(.*) # the paths this handler will serve
+ static_files: theme/\1/s/\2 # where the files actually live (on the server)
+
+- url: /.*
+ script: kohacon.py
+
+skip_files:
+- ^(.*/)?app\.yaml
+- ^(.*/)?app\.yml
+- ^(.*/)?index\.yaml
+- ^(.*/)?index\.yml
+- ^(.*/)?#.*#
+- ^(.*/)?.*~
+- ^(.*/)?.*\.py[co]
+- ^(.*/)?.*/RCS/.*
+- ^(.*/)?\..*
+- store/.*
+- Makefile
+- README
+
View
@@ -0,0 +1,11 @@
+indexes:
+
+# AUTOGENERATED
+
+# This index.yaml is automatically updated whenever the dev_appserver
+# detects that a new type of query is run. If you want to manage the
+# index.yaml file manually, remove the above marker line (the line
+# saying "# AUTOGENERATED"). If you want to manage some indexes
+# manually, move them above the marker line. The index.yaml file is
+# automatically uploaded to the admin console when you next deploy
+# your application using appcfg.py.
View
@@ -0,0 +1,42 @@
+## ----------------------------------------------------------------------------
+# import standard modules
+import cgi
+import os
+import logging
+import re
+import urllib
+
+# Google specific modules
+from google.appengine.api import users
+from google.appengine.ext import webapp
+from google.appengine.ext.webapp.util import run_wsgi_app
+from google.appengine.ext import db
+from google.appengine.api import mail
+
+# local modules
+import webbase
+
+## ----------------------------------------------------------------------------
+
+class KohaCon(webbase.WebBase):
+ def get(self):
+ self.template( 'index.html', {}, 'discoverer' );
+
+## ----------------------------------------------------------------------------
+
+application = webapp.WSGIApplication(
+ [
+ ('/.*', KohaCon)
+ ],
+ debug = True
+)
+
+## ----------------------------------------------------------------------------
+
+def main():
+ run_wsgi_app(application)
+
+if __name__ == "__main__":
+ main()
+
+## ----------------------------------------------------------------------------
@@ -0,0 +1,46 @@
+{% extends "wrapper.html" %}
+
+{% block content %}
+
+ <!-- BEGIN content -->
+ <div id="content">
+ <!-- begin featured-posts -->
+ <div class="featured-img"> <a href="http://www.free-css.com/"><img src="/s/discoverer/featured-img.jpg" alt="" /></a>
+ <div class="text">
+ <h2><a href="http://www.free-css.com/">Lorem Ipsum Dolor Sit Amet</a></h2>
+ <p>Proin aliquam, orci nec scelerisque accumsan, nunc sem dignissim pede, nec malesuada sem ligula ac sapien. Etiam quis purus a libero lobortis viverra. Cum sociis natoque penatibus et magnis...</p>
+ </div>
+ </div>
+ <!-- end featured-posts -->
+ <!-- begin post -->
+ <div class="post">
+ <h2><a href="http://www.free-css.com/">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</a></h2>
+ <a href="http://www.free-css.com/"><img src="/s/discoverer/thumb01.jpg" alt="" /></a>
+ <p>Nullam ut eros. Praesent pellentesque. Sed lacinia suscipit sem. Proin lobortis risus ornare diam. Nulla libero. Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p>Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p><a href="http://www.free-css.com/">Continue Reading</a></p>
+ </div>
+ <!-- end post -->
+ <!-- begin post -->
+ <div class="post">
+ <h2><a href="http://www.free-css.com/">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</a></h2>
+ <a href="http://www.free-css.com/"><img src="/s/discoverer/thumb02.jpg" alt="" /></a>
+ <p>Nullam ut eros. Praesent pellentesque. Sed lacinia suscipit sem. Proin lobortis risus ornare diam. Nulla libero. Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p>Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p><a href="http://www.free-css.com/">Continue Reading</a></p>
+ </div>
+ <!-- end post -->
+ <!-- begin post -->
+ <div class="post">
+ <h2><a href="http://www.free-css.com/">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</a></h2>
+ <a href="http://www.free-css.com/"><img src="/s/discoverer/thumb01.jpg" alt="" /></a>
+ <p>Nullam ut eros. Praesent pellentesque. Sed lacinia suscipit sem. Proin lobortis risus ornare diam. Nulla libero. Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p>Duis egestas elementum risus. Aliquam gravida lectus non mauris placerat sollicitudin.</p>
+ <p><a href="http://www.free-css.com/">Continue Reading</a></p>
+ </div>
+ <!-- end post -->
+ <div class="navigation"> <a href="http://www.free-css.com/">Previous</a> <a href="http://www.free-css.com/">1</a> <a href="http://www.free-css.com/">2</a> <a href="http://www.free-css.com/">3</a> <a href="http://www.free-css.com/">4</a> <a href="http://www.free-css.com/">Next</a> </div>
+ </div>
+ <!-- END content -->
+
+{% endblock %}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1 @@
+
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit eb5dd5b

Please sign in to comment.