aboutsummaryrefslogtreecommitdiffstats
path: root/www/html/index.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xwww/html/index.py8
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>
"""))