aboutsummaryrefslogtreecommitdiff
path: root/source/auth.py
diff options
context:
space:
mode:
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