From 20055cc57eee0b57f5da0bf14f0e340e1d866dcf Mon Sep 17 00:00:00 2001 From: Dupard Date: Thu, 9 Sep 2021 01:13:46 +0200 Subject: [PATCH] Base auth --- index.php | 13 ------------ js/register.js | 0 php/auth/login.php | 44 +++++++++++++++++++++++++++++++++++++--- php/auth/logout.php | 4 ++++ php/auth/register.php | 36 ++++++++++++++++++++++++++++++++ php/templates/header.php | 13 ++++++++++++ res/test.txt | 0 7 files changed, 94 insertions(+), 16 deletions(-) create mode 100644 js/register.js create mode 100644 res/test.txt diff --git a/index.php b/index.php index c40bf5c..af1bb45 100644 --- a/index.php +++ b/index.php @@ -1,17 +1,4 @@ - -

Coucou c'est le service d'aide aux BUT Info

diff --git a/js/register.js b/js/register.js new file mode 100644 index 0000000..e69de29 diff --git a/php/auth/login.php b/php/auth/login.php index 5fa3de4..9ef51e6 100644 --- a/php/auth/login.php +++ b/php/auth/login.php @@ -1,9 +1,47 @@ +
+ + + + + + +
+ + Pas de compte ? Inscrivez-vous ! + + diff --git a/php/auth/logout.php b/php/auth/logout.php index e69de29..a69a799 100644 --- a/php/auth/logout.php +++ b/php/auth/logout.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/php/auth/register.php b/php/auth/register.php index e69de29..654870b 100644 --- a/php/auth/register.php +++ b/php/auth/register.php @@ -0,0 +1,36 @@ + +
+ + + + + + + + +
+ + Déjà inscrit ? Connectez-vous ! + + diff --git a/php/templates/header.php b/php/templates/header.php index 5da65a0..6565027 100644 --- a/php/templates/header.php +++ b/php/templates/header.php @@ -5,3 +5,16 @@ AIidE + + diff --git a/res/test.txt b/res/test.txt new file mode 100644 index 0000000..e69de29