From 1ef55833399d4a95560153f0d280f2efd77af2e2 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Wed, 20 May 2020 10:36:49 +0200 Subject: espacement tableau --- www/html/bilan.py | 6 ++++-- www/html/style.css | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/www/html/bilan.py b/www/html/bilan.py index 735959b..29d42b0 100755 --- a/www/html/bilan.py +++ b/www/html/bilan.py @@ -37,7 +37,7 @@ def index(req): conn.commit() total_uneheure=str(cur.fetchone()[0]) # - cur.execute("SELECT ip_destination, COUNT(ip_destination) FROM paquet GROUP BY ip_destination") + cur.execute("SELECT ip_destination, COUNT(ip_destination) FROM paquet GROUP BY ip_destination DESC") conn.commit() each_ip_dest=cur.fetchall() # @@ -75,9 +75,11 @@ def index(req):
  • Nombre total de ports destination differents : """+total_port_dst+"""

  • - +
    """+str(ipdst)+""" +
    IP destinationRecurrence
    + """+str(portdst)+"""
    Port destinationReccurrence
    diff --git a/www/html/style.css b/www/html/style.css index d0d0de1..ae32cf5 100755 --- a/www/html/style.css +++ b/www/html/style.css @@ -80,3 +80,11 @@ th{ background-color:#D42471; color:#000000; } + +.inlineTable{ + display: inline-table; +} + +.floatTable{ + float: left; +} -- cgit v1.2.3