modifié: index.html
modifié: superTornado.py
This commit is contained in:
parent
002ef00cf6
commit
27f20903e5
13
index.html
13
index.html
@ -1,19 +1,6 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!--style>
|
|
||||||
*{margin:0;padding:0;}
|
|
||||||
html{font-size:100%;}
|
|
||||||
body{background:#fff;color:#222;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;text-align:center;font-size:75%;}
|
|
||||||
h2{font-size:2em;margin-bottom:0.75em;}
|
|
||||||
.error{background:#FBE3E4;border:2px solid #FBC2C4;color:#8a1f11;margin-bottom:1em;text-align:center;width:332px;padding:6px;}
|
|
||||||
#login-logo{padding:40px 0;}
|
|
||||||
#login-form{background:#fff;border:1px solid #ccc;text-align:center;width:350px;-moz-border-radius:5px;-webkit-border-radius:5px;-moz-box-shadow:0 1px 3px #ddd;-webkit-box-shadow:0 1px 3px #ddd;margin:0 auto;padding:15px 15px 25px;}
|
|
||||||
#login-form h2{text-align:center;padding:5px 0;}
|
|
||||||
#login-form .field{width:335px;margin:15px 0;}
|
|
||||||
#login-form .field label{color:#777;display:block;font-size:1em;font-weight:700;margin-bottom:5px;text-align:left;}
|
|
||||||
#login-form .field input{border:1px solid #ccc;font-size:1.2em;width:100%;padding:5px;}
|
|
||||||
</style-->
|
|
||||||
<meta charset="ISO-8859-1" />
|
<meta charset="ISO-8859-1" />
|
||||||
<title>Page d'identification</title>
|
<title>Page d'identification</title>
|
||||||
<link rel="stylesheet" type="text/css" href="style/styles.css">
|
<link rel="stylesheet" type="text/css" href="style/styles.css">
|
||||||
|
@ -144,7 +144,8 @@ application = tornado.web.Application([
|
|||||||
(r"/unauthorized", UnauthorizedHandler),
|
(r"/unauthorized", UnauthorizedHandler),
|
||||||
(r"/disconnection", DisconnectionHandler),
|
(r"/disconnection", DisconnectionHandler),
|
||||||
(r"/socket", WSocketHandler),
|
(r"/socket", WSocketHandler),
|
||||||
(r"/style/(.*)", tornado.web.StaticFileHandler,{"path":"./style"},)],
|
(r"/style/(.*)", tornado.web.StaticFileHandler,{"path":"./style"},
|
||||||
|
(r"/images/(.*)", tornado.web.StaticFileHandler,{"path":"./images"},)],
|
||||||
cookie_secret="1213215656")
|
cookie_secret="1213215656")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Reference in New Issue
Block a user