modifié: index.html

modifié:         superTornado.py
This commit is contained in:
sidya82 2014-02-27 16:48:04 +01:00
parent d8636de6ec
commit 9e129ad865
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</head>
<body>
<h2>Acces securise camera</h2>
<form action="/" method="post">
<form action="/login" method="post">
ID : <input type="text" name="id"><br/>
MDP : <input type="password" name="mdp"> <br/>
<input type="submit" value="Connexion">

View File

@ -13,6 +13,7 @@ class LoginHandler(tornado.web.RequestHandler):
application = tornado.web.Application([
(r"/", MainHandler),
(r"/login", MainHandler),
])
if __name__ == "__main__":