aboutsummaryrefslogtreecommitdiff
path: root/www/html/filtrage.py
diff options
context:
space:
mode:
authorclyhtsuriva <clyhtsuriva@gmail.com>2020-05-07 10:17:10 +0200
committerclyhtsuriva <clyhtsuriva@gmail.com>2020-05-07 10:17:10 +0200
commitff54c8915dce54d5c4494c4b85270f45775bd4ee (patch)
tree941b72f4a8f343a792a409f6ade33413d7f881f2 /www/html/filtrage.py
parent56a2d1b4163bbe94e6d3e4a7c2ae8df37fbcd9b9 (diff)
ajout page syntaxe et filtrage + filtrage effectif
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>
+"""))