From eaad19c63de8f74b2308b259e5d074f1efab3fa4 Mon Sep 17 00:00:00 2001
From: Yannis Devos <yannis.devos.etu@univ-lille.fr>
Date: Thu, 6 Mar 2025 17:54:53 +0100
Subject: [PATCH] un peu de style

---
 create.html                     | 17 ++++++++++-------
 css/form.css                    | 21 +++++++++++++++++++++
 index.html                      | 19 +++++++++++--------
 {db => sql}/createTables.sql    |  0
 {db => sql}/data.sql            |  0
 {db => sql}/testingRequests.sql |  0
 6 files changed, 42 insertions(+), 15 deletions(-)
 create mode 100644 css/form.css
 rename {db => sql}/createTables.sql (100%)
 rename {db => sql}/data.sql (100%)
 rename {db => sql}/testingRequests.sql (100%)

diff --git a/create.html b/create.html
index ca54611..3223a90 100644
--- a/create.html
+++ b/create.html
@@ -1,15 +1,18 @@
 <!DOCTYPE html>
-<html lang="en">
+<html lang="fr">
 <head>
     <meta charset="UTF-8">
     <title>Create Account</title>
+    <link rel="stylesheet" href="./css/form.css">
 </head>
 <body>
-    <h1>Sign up</h1>
-<form action="http://localhost:8080/s4a021-web-backend/SignUp" method="post">
-    <input name="login" type="text" placeholder="username">
-    <input name="pwd" type="password" placeholder="password">
-    <button type="submit">Create my Account</button>
-</form>
+    <div class="form">
+        <h1>REGISTER</h1>
+        <form action="http://localhost:8080/s4a021-web-backend/SignUp" method="post">
+            <input name="login" type="text" placeholder="username">
+            <input name="pwd" type="password" placeholder="password">
+            <button type="submit">Create my Account !</button>
+        </form>
+    </div>
 </body>
 </html>
\ No newline at end of file
diff --git a/css/form.css b/css/form.css
new file mode 100644
index 0000000..56268ef
--- /dev/null
+++ b/css/form.css
@@ -0,0 +1,21 @@
+body{
+    color: white;
+    background-color: #232323;
+    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
+}
+
+body{
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    height: 90vh;
+}
+
+.form{
+    text-align: center;
+}
+
+form{
+    display: flex;
+    flex-direction: column;
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index 2ca066a..f034766 100644
--- a/index.html
+++ b/index.html
@@ -1,19 +1,22 @@
 <!doctype html>
-<html lang="en">
+<html lang="fr">
 <head>
     <meta charset="UTF-8">
     <meta name="viewport"
           content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <link rel="stylesheet" href="css/form.css">
     <title>Connexion</title>
 </head>
 <body>
-    <h1>Connexion</h1>
-<form action="http://localhost:8080/s4a021-web-backend/LogIn" method="post">
-    <input name="login" type="text" placeholder="username">
-    <input name="pwd" type="password" placeholder="password">
-    <button type="submit">Connexion</button>
-    <p><i>New user ? Click <a href="./create.html">here</a> to create an account</i></p>
-</form>
+    <div class="form">
+        <h1>LOGIN</h1>
+        <form action="http://localhost:8080/s4a021-web-backend/LogIn" method="post">
+            <input name="login" type="text" placeholder="username">
+            <input name="pwd" type="password" placeholder="password">
+            <button type="submit">Let's go !</button>
+            <p><i>New user ? Click <a href="./create.html">here</a> to create an account</i></p>
+        </form>
+    </div>
 </body>
 </html>
\ No newline at end of file
diff --git a/db/createTables.sql b/sql/createTables.sql
similarity index 100%
rename from db/createTables.sql
rename to sql/createTables.sql
diff --git a/db/data.sql b/sql/data.sql
similarity index 100%
rename from db/data.sql
rename to sql/data.sql
diff --git a/db/testingRequests.sql b/sql/testingRequests.sql
similarity index 100%
rename from db/testingRequests.sql
rename to sql/testingRequests.sql
-- 
GitLab