diff options
Diffstat (limited to 'web/website/index.py')
-rw-r--r-- | web/website/index.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/web/website/index.py b/web/website/index.py index 499d86f..131a82a 100644 --- a/web/website/index.py +++ b/web/website/index.py @@ -20,9 +20,20 @@ def index(req): #sql part for i in data : - content+=("""<ul><li>""" + str(i[1]) + str(i[2]) + str(i[3]) + str(i[4]) + """</li></ul>""") + content+=("""<tr>""" + +"""<td>""" + str(i[1]) + """</td>""" + +"""<td>""" + str(i[2]) + """</td>""" + +"""<td>""" + str(i[3]) + """</td>""" + +"""<td>""" + str(i[4]) + """</td>""" + +"""</tr>""") req.write(baseHTML("ATS-Project",""" -<center><h1>ATS-Project</h1></center>""" -+ content)) +<center><h1>ATS-Project</h1></center> +<table> +<tr><th>Heure</th><th>Protocole</th><th>Source</th><th>Destination</th></tr> +""" ++ content + +""" +</table> +""")) |