modifié: index.html
modifié: superTornado.py
This commit is contained in:
parent
d8636de6ec
commit
9e129ad865
@ -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">
|
||||
|
@ -13,6 +13,7 @@ class LoginHandler(tornado.web.RequestHandler):
|
||||
|
||||
application = tornado.web.Application([
|
||||
(r"/", MainHandler),
|
||||
(r"/login", MainHandler),
|
||||
])
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user