diff options
author | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-05-07 11:52:55 +0200 |
---|---|---|
committer | clyhtsuriva <clyhtsuriva@gmail.com> | 2020-05-07 11:52:55 +0200 |
commit | 5b0caf46c815a61bb2e6f02334264f9afc8a66f6 (patch) | |
tree | 6b528009b73a2ba913cc56b022d494923c108c51 /www/html/index.py | |
parent | ff54c8915dce54d5c4494c4b85270f45775bd4ee (diff) |
ajout fenetre flottante index.py
Diffstat (limited to 'www/html/index.py')
-rwxr-xr-x | www/html/index.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/html/index.py b/www/html/index.py index 958c5be..d483458 100755 --- a/www/html/index.py +++ b/www/html/index.py @@ -32,6 +32,8 @@ def index(req): #write the html page req.write(baseHTML("ATS-Project",""" <center><h1>ATS-Project</h1></center> +<div id="tip" style="display:block;"> +Pour voir le nombre de paquets en destination d'une adresse IP, cliquez sur cette derniere dans le tableau.<div id="ok" onclick="toggle_div(this,'tip');"><b>OK</b></div></div> <b>Filtre</b> <input type="text" id="condition" onkeyup="cherche()"> <div id="tab"> @@ -43,4 +45,10 @@ def index(req): </table></center> </div> <script src="filtre.js"></script> +<script> +function toggle_div(bouton, id) { + var div = document.getElementById(id); + div.style.display = "none"; +} +</script> """)) |