diff options
Diffstat (limited to 'web/website')
-rw-r--r-- | web/website/fonctions.py | 2 | ||||
-rw-r--r-- | web/website/style.css | 2 | ||||
-rw-r--r-- | web/website/test.py | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/web/website/fonctions.py b/web/website/fonctions.py index 1b18cc7..c968351 100644 --- a/web/website/fonctions.py +++ b/web/website/fonctions.py @@ -7,7 +7,7 @@ def baseHTML(title,body): <head> <title>"""+ title +"""</title> <meta charset="UTF-8"> - <link rel="stylesheet" type="text/css" href="styde.css"> + <link rel="stylesheet" type="text/css" href="style.css"> </head> <body>"""+ body +"""</body> </html> diff --git a/web/website/style.css b/web/website/style.css index 69f4ad1..e5b5672 100644 --- a/web/website/style.css +++ b/web/website/style.css @@ -2,6 +2,6 @@ body { background-color:#000000; } -p{ +*{ color: white; } diff --git a/web/website/test.py b/web/website/test.py index 4da1d58..6ff289c 100644 --- a/web/website/test.py +++ b/web/website/test.py @@ -6,4 +6,6 @@ import fonctions def index(req): req.content_type="text/html" - req.write(fonctions.baseHTML("Test","This is a test page.")) + req.write(fonctions.baseHTML("Test",""" +This is a test page.</p> +""")) |