diff options
author | Clyhtsuriva Synck <clyhtsuriva> | 2020-03-01 14:18:05 +0100 |
---|---|---|
committer | Clyhtsuriva Synck <clyhtsuriva> | 2020-03-01 14:18:05 +0100 |
commit | 06ad4b73d54beb6f81d0b43d49f2a0701c87fcfb (patch) | |
tree | add0a5ceebaa19dcecd7240b661cd8ee96cb47c9 /web/fonctions.py | |
parent | 5071a27336700e4267325c038042565885ec6518 (diff) |
web update
Diffstat (limited to 'web/fonctions.py')
-rw-r--r-- | web/fonctions.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/fonctions.py b/web/fonctions.py new file mode 100644 index 0000000..1b18cc7 --- /dev/null +++ b/web/fonctions.py @@ -0,0 +1,16 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + +def baseHTML(title,body): + content=("""<!DOCTYPE html> +<html> + <head> + <title>"""+ title +"""</title> + <meta charset="UTF-8"> + <link rel="stylesheet" type="text/css" href="styde.css"> + </head> + <body>"""+ body +"""</body> +</html> + + """) + return content |