aboutsummaryrefslogtreecommitdiff
path: root/www/html/filtrage.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/html/filtrage.py')
-rwxr-xr-xwww/html/filtrage.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/html/filtrage.py b/www/html/filtrage.py
new file mode 100755
index 0000000..1c294b2
--- /dev/null
+++ b/www/html/filtrage.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python3
+# -*- coding: utf-8 -*-
+
+import mod_python
+from fonctions import baseHTML, connexionBD, lien
+
+def index(req):
+ req.content_type="text/html"
+ content=str()
+
+#write the html page
+ req.write(baseHTML("ATS-Project","""
+<center><h1>Filtrage</h1></center>
+<b>Filtre</b>
+<input type="text" id="condition" onkeyup="cherche()">
+<div id="tab">
+</div>
+<script src="filtre.js"></script>
+"""))