From 8f2965c05100c5f9521c696ed9a98e99b9253b62 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 11 Nov 2019 14:33:54 +0100 Subject: [PATCH] renamed the php files and added buttons in the welcome page --- add-produit.php => add-product.php | 0 list-cupboard.php => list-cupboards.php | 0 welcome.php | 22 ++++++++++++++++++---- 3 files changed, 18 insertions(+), 4 deletions(-) rename add-produit.php => add-product.php (100%) rename list-cupboard.php => list-cupboards.php (100%) diff --git a/add-produit.php b/add-product.php similarity index 100% rename from add-produit.php rename to add-product.php diff --git a/list-cupboard.php b/list-cupboards.php similarity index 100% rename from list-cupboard.php rename to list-cupboards.php diff --git a/welcome.php b/welcome.php index 122d1a7..de62370 100644 --- a/welcome.php +++ b/welcome.php @@ -2,29 +2,43 @@ require_once("./assets/php/utils.php"); // Check if the user is logged in, if not then redirect him to login page -if(!is_connected()){ +if (!is_connected()) { header("location: login.php"); exit; } ?> - + + Welcome +

Reset Your Password Sign Out of Your Account

+

+ List cupboards + List products +

+

+ Add cupboard + Add product +

+ \ No newline at end of file