From 861b0b5ce4fffd49ad2a68364e50279f4b386612 Mon Sep 17 00:00:00 2001 From: cly Date: Mon, 23 Mar 2020 15:34:38 +0100 Subject: style and db implementation --- web/website/index.py | 17 ++++++++++++++--- web/website/style.css | 5 +++++ 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'web/website') 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+=("""""") + content+=("""""" + +"""""" + str(i[1]) + """""" + +"""""" + str(i[2]) + """""" + +"""""" + str(i[3]) + """""" + +"""""" + str(i[4]) + """""" + +"""""") req.write(baseHTML("ATS-Project",""" -

ATS-Project

""" -+ content)) +

ATS-Project

+ + +""" ++ content + +""" +
HeureProtocoleSourceDestination
+""")) diff --git a/web/website/style.css b/web/website/style.css index e5b5672..6d0bd42 100644 --- a/web/website/style.css +++ b/web/website/style.css @@ -5,3 +5,8 @@ body { *{ color: white; } + +table,th,td { + border: 2px solid red; + text-align: center; +} -- cgit v1.2.3