aboutsummaryrefslogtreecommitdiff
path: root/source/auth.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-10-12 08:29:51 +0200
committercedricbonhomme <devnull@localhost>2012-10-12 08:29:51 +0200
commit07168a4af90b167e4682b36c0eb6e90ee4d25781 (patch)
treee664aaca7285a6b17002856b0c1fff701f57d4dd /source/auth.py
parentAdded log.css (diff)
downloadnewspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.tar.gz
newspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.tar.bz2
newspipe-07168a4af90b167e4682b36c0eb6e90ee4d25781.zip
Improved css for the loggin page.
Diffstat (limited to 'source/auth.py')
-rwxr-xr-xsource/auth.py23
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()
bgstack15