From cedf7dfd2eedf0af7a3e5d990b715bb5caea1e29 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Synck Date: Sun, 1 Mar 2020 14:56:37 +0100 Subject: initial files --- dut.html | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ img/IUTV.PNG | Bin 0 -> 4924 bytes img/P13.PNG | Bin 0 -> 1831 bytes question.txt | 2 + style.css | 52 +++++++++++++++++++ traitement.py | 27 ++++++++++ 6 files changed, 239 insertions(+) create mode 100644 dut.html create mode 100644 img/IUTV.PNG create mode 100644 img/P13.PNG create mode 100644 question.txt create mode 100644 style.css create mode 100644 traitement.py diff --git a/dut.html b/dut.html new file mode 100644 index 0000000..10e6c11 --- /dev/null +++ b/dut.html @@ -0,0 +1,158 @@ + + + + Département R&T de l'IUT de Villetaneuse + + + + + + + + +

Département R&T de l’IUT de Villetaneuse

+

Bienvenue sur le site web du département R&T de l'IUT de Villetaneuse. Voici le menu de cette page :

+ + + +

L'ENT

+ +

Programme du DUT R&T

+ +

Liens

+ +

Contact

+ + + diff --git a/img/IUTV.PNG b/img/IUTV.PNG new file mode 100644 index 0000000..bc28aba Binary files /dev/null and b/img/IUTV.PNG differ diff --git a/img/P13.PNG b/img/P13.PNG new file mode 100644 index 0000000..c7bfc36 Binary files /dev/null and b/img/P13.PNG differ diff --git a/question.txt b/question.txt new file mode 100644 index 0000000..39c5d0d --- /dev/null +++ b/question.txt @@ -0,0 +1,2 @@ +Adjutor;étudiant;Pourquoi les roses sont rouges ?;Mendon;autre;Est-ce que ça va ?; +Tasnim;lycéen;Comment regarder fairy tail en streaming ?; \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..c3a5be2 --- /dev/null +++ b/style.css @@ -0,0 +1,52 @@ +body { + background-color: Gray; + } +h1 { + text-align: center; + } +h1,h2 {color: darkblue; + } + a { + text-decoration: none; + } +a:hover + { + color: red; + } +.tab1 th { + color: white; + background-color: black; + padding:10px; +} +.tab2 th{ + color: white; + background-color: darkblue; + padding:10px; +} +.tab1 td{ + border: solid black; + padding:10px; + } +.tab2 td{ + border: solid darkblue; + padding:10px; + } +.list { + position : fixed; + right: 10px; + bottom: 10px; + background : darkblue; + border : solid black; +} +.list a { + color : white; + } +.list a:hover {color:green;} +input:focus { + background-color: cyan; +} +.menu { + position:fixed; + right: 10px; + top: 10px; +} diff --git a/traitement.py b/traitement.py new file mode 100644 index 0000000..ecceba2 --- /dev/null +++ b/traitement.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +#coding: utf-8 +def index(req): + req.content_type="text/html" + req.write(""" + + + Département R&T de l'IUT de Villetaneuse + + + + + """) + req.write("""

Contact

""") + if (req.form["nom"]==""): + req.write("Erreur : nom manquant!") + if (req.form["question"]==""): + req.write("Erreur : question manquante!") + else: + req.write("Merci " + req.form["nom"] + "! Votre message a bien été envoyé.") + f= open("/home/student/905/11802407/public_html/M1106/question.txt","a") + f.write(req.form["nom"] + ";" + req.form["statut"] + ";" + req.form["question"] + ";") + f.close + req.write("
Retour à l'acceuil
") + + req.write(""" + """) -- cgit v1.2.3