Permalink
Browse files

make it nicer for mobiles

  • Loading branch information...
1 parent 5765850 commit 1773e2a0a37d5175535cf6d34b6772557a1d8f1b @qzio committed Mar 31, 2013
Showing with 4 additions and 2 deletions.
  1. +2 −2 app.py
  2. +2 −0 templates/layout.html
View
4 app.py
@@ -34,13 +34,13 @@ def todos_for(email):
@app.route("/", methods=["GET"])
def start():
- return render_template("lists_create.html", title="Welcome, create your list")
+ return render_template("lists_create.html", title="Create your todo list")
@app.route("/lists/<namehash>", methods=["GET"])
def lists_show(namehash):
todolist = todo_by(namehash)
- return render_template("lists_show.html", title="Showing list {0}".format(namehash), todolist=todolist)
+ return render_template("lists_show.html", title="Showing list {0}".format(todolist.name), todolist=todolist)
@app.route("/lists", methods=["POST"])
View
2 templates/layout.html
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf8"/>
+ <meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>
Tododis | {{ title }}
</title>

0 comments on commit 1773e2a

Please sign in to comment.