From a9fb61e83a7611adb6161e16af8580aa1e06f505 Mon Sep 17 00:00:00 2001 From: Colin Davis Date: Wed, 6 Jul 2011 18:14:09 +0000 Subject: [PATCH] fixes --- templates/root.html | 70 +++++++++++++++++++++++++++++++-------------- webfront.py | 2 +- 2 files changed, 49 insertions(+), 23 deletions(-) diff --git a/templates/root.html b/templates/root.html index 3835890..98ff301 100644 --- a/templates/root.html +++ b/templates/root.html @@ -122,7 +122,7 @@ $(document).ready(function(){ + logo @@ -162,7 +162,7 @@ $(document).ready(function(){
- You! + You!
@@ -171,11 +171,11 @@ $(document).ready(function(){
How cool is this?
-

That guy to your left there? He was specially generated Just for you.
+

That guy to your left there? He was specially generated from your IP addressJust for you.
Try on your phone, and I bet you get someone different!

@@ -195,7 +195,11 @@ $(document).ready(function(){
-1 star1 star1 star1 star1 star +1 star1 star1 star1 star1 star
@@ -210,7 +214,11 @@ $(document).ready(function(){
-1 star1 star1 star1 star1 star +1 star1 star1 star1 star1 star
@@ -246,11 +254,17 @@ $(document).ready(function(){ {% set c4 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "3.png" %} {% set c5 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "4.png" %} -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • @@ -274,11 +288,17 @@ $(document).ready(function(){ {% set c4 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "3.png?set=set2" %} {% set c5 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "4.png?set=set2" %} -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • @@ -302,11 +322,17 @@ $(document).ready(function(){ {% set c4 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "3.png?set=set3" %} {% set c5 = '/' + ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(5)) + "4.png?set=set3" %} -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • -
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • +
  • Some great title
  • @@ -400,7 +426,7 @@ $(document).ready(function(){
    Multiple designs -

    Want robots from a specific set? Use Robohash.org/Collection1/whatever.png.
    Try out Collection1, Collection2, Collection3, see which best decorate your site.

    +

    Want robots from a specific set? Use Robohash.org/whatever.png?set=set1.
    Try out Collection1, Collection2, Collection3, see which best decorate your site.

    diff --git a/webfront.py b/webfront.py index 1ac4b12..9209560 100755 --- a/webfront.py +++ b/webfront.py @@ -161,7 +161,7 @@ def main(): (r"/(.*)", ImgHandler), ], **settings) - http_server = tornado.httpserver.HTTPServer(application) + http_server = tornado.httpserver.HTTPServer(application,xheaders=True) http_server.listen(options.port) tornado.ioloop.IOLoop.instance().start()