# HG changeset patch # User Tero Marttila # Date 1241550471 -10800 # Node ID 17e1136cc2571921bf6d31693eb3db2027b0be51 # Parent 301725d72e29fb9cf9d06a7879f21de35901c98f license/copyright/footer diff -r 301725d72e29 -r 17e1136cc257 index.py --- a/index.py Tue May 05 21:52:30 2009 +0300 +++ b/index.py Tue May 05 22:07:51 2009 +0300 @@ -1,4 +1,20 @@ #!/usr/bin/python2.5 +# Copyright 2009 Tero Marttila +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + import werkzeug from werkzeug.exceptions import HTTPException @@ -81,6 +97,9 @@ TILE_SIZE = (100, 100) +SITE_URL = "http://qmsk.net/stuff/aaltologo/" +SOURCE_URL = "http://hg.qmsk.net/aaltologotin" + # enable debugging DEBUG = True @@ -549,6 +568,12 @@ div.param { padding: 3px; } + +div#footer { + text-align: center; + font-size: x-small; + font-style: italic; +} @@ -567,6 +592,9 @@ + """ % dict( img_url = img_url, @@ -574,6 +602,8 @@ form_fields = "\n".join( "\t%s" % opt.build_form(opts) for opt in options.options ), + site_url = SITE_URL, + source_url = SOURCE_URL, ), mimetype='text/html') def handle_request (req) :