modifié: index.html
renommé: styles.css -> style/styles.css modifié: superTornado.py
This commit is contained in:
parent
e53839392d
commit
049814cbd5
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
<!--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%;}
|
||||
@ -13,9 +13,10 @@
|
||||
#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>
|
||||
</style-->
|
||||
<meta charset="ISO-8859-1" />
|
||||
<title>Page d'identification</title>
|
||||
<link rel="stylesheet" type="text/css" href="style/styles.css">
|
||||
<script type="text/javascript">
|
||||
// Si aucun login et mot de passe n'ont été saisis alors :
|
||||
function checkForm(form) {
|
||||
|
@ -7,11 +7,9 @@ import time
|
||||
import base64
|
||||
import socket
|
||||
from urllib import urlopen
|
||||
|
||||
|
||||
|
||||
from tornado.ioloop import PeriodicCallback
|
||||
|
||||
|
||||
from session import *
|
||||
from loadConf import *
|
||||
from login import *
|
||||
@ -146,6 +144,7 @@ application = tornado.web.Application([
|
||||
(r"/unauthorized", UnauthorizedHandler),
|
||||
(r"/disconnection", DisconnectionHandler),
|
||||
(r"/socket", WSocketHandler),],
|
||||
static_path=os.path.join(root, 'style')
|
||||
cookie_secret="1213215656")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user