From: Jérôme Benoit Date: Tue, 9 Jan 2018 13:06:24 +0000 (+0100) Subject: Only allow GET and POST HTTP request and die otherwise. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=65fc0194b3ae059f212c577db4f4a8fec43069d6;p=Project_webapp.git Only allow GET and POST HTTP request and die otherwise. Fix the form handling while at it. Signed-off-by: Jérôme Benoit --- diff --git a/config.php b/config.php index dd03f8f..35fc43c 100644 --- a/config.php +++ b/config.php @@ -1,6 +1,7 @@ 'http://localhost/~fraggle/airpolytech', 'host' => 'localhost', 'username' => 'fraggle', 'password' => '$Love79!', diff --git a/footer.html b/footer.html index 70960fb..e06db19 100644 --- a/footer.html +++ b/footer.html @@ -1,5 +1,5 @@ diff --git a/formlogin.php b/formlogin.php index 99db023..f3b8765 100644 --- a/formlogin.php +++ b/formlogin.php @@ -1,9 +1,9 @@ - diff --git a/header.php b/header.php index e81db37..ac394bf 100644 --- a/header.php +++ b/header.php @@ -1,5 +1,18 @@ + + diff --git a/login.php b/login.php index f797a7e..e976fc9 100644 --- a/login.php +++ b/login.php @@ -1,4 +1,5 @@ -
+ +

Email :

Mot de passe :

diff --git a/styles/airpolytech.css b/styles/airpolytech.css index 3093507..00dd294 100644 --- a/styles/airpolytech.css +++ b/styles/airpolytech.css @@ -6,6 +6,21 @@ body { margin: 8px; } +a, a:link a:active { + text-decoration: none; + color: #B11508; +} + +a:visited { + text-decoration: none; + color: #B11508; +} + +a:hover { + text-decoration: none; + color: #909090; +} + #footer { text-align: center; }