diff options
author | cedricbonhomme <devnull@localhost> | 2012-10-12 08:29:51 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-10-12 08:29:51 +0200 |
commit | 07168a4af90b167e4682b36c0eb6e90ee4d25781 (patch) | |
tree | e664aaca7285a6b17002856b0c1fff701f57d4dd /source/auth.py | |
parent | Added log.css (diff) | |
download | newspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.tar.gz newspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.tar.bz2 newspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.zip |
Improved css for the loggin page.
Diffstat (limited to 'source/auth.py')
-rwxr-xr-x | source/auth.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/source/auth.py b/source/auth.py index 255cf6a6..443c33ed 100755 --- a/source/auth.py +++ b/source/auth.py @@ -149,19 +149,22 @@ class AuthController(object): msg = "" return """<!DOCTYPE html>\n<html> <head> + <title>pyAggr3g470r - News aggregator</title> <link rel="stylesheet" type="text/css" href="/css/log.css" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> - <img src="/img/tuxrss.png" alt="pyAggr3g470r" /> - <div id="center"> - <div id="main"> - <form method="post" action="/auth/login"> - <input type="hidden" name="from_page" value="%(from_page)s" /> - %(msg)s<br /> - <input type="text" name="username" value="%(username)s" placeholder="Username" /><br /> - <input type="password" name="password" placeholder="Password" /><br /> - <input type="submit" value="Log in" /> - </div><!-- end #main --> + <div> + <div id="logform"> + <img src="/img/tuxrss.png" alt="pyAggr3g470r" /> + <form method="post" action="/auth/login"> + <input type="hidden" name="from_page" value="%(from_page)s" /> + %(msg)s<br /> + <input type="text" name="username" value="%(username)s" placeholder="Username" /><br /> + <input type="password" name="password" placeholder="Password" /><br /> + <input type="submit" value="Log in" /> + </form> + </div><!-- end #main --> </div><!-- end #center --> </body> </html>""" % locals() |