diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
index 41fbd7c..83405db
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/.idea
/.project
/repositories/config.json
+*.idea
\ No newline at end of file
diff --git a/Dashboard.php b/Dashboard.php
new file mode 100755
index 0000000..9ba739c
--- /dev/null
+++ b/Dashboard.php
@@ -0,0 +1,41 @@
+
+
+
+
+
+ Tableau de bord
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/css/global.css b/css/global.css
new file mode 100755
index 0000000..03ba01c
--- /dev/null
+++ b/css/global.css
@@ -0,0 +1,185 @@
+*{ margin: 0; padding: 0; }
+
+a{
+ /* remove-a default properties */
+ text-decoration: none;
+ color: inherit;
+}
+
+
+
+body{
+ /* position */
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+
+ /* background */
+ background-color: #e8e8e8;
+
+ /* foreground */
+ font-size: 14px;
+ font-family: 'Open Sans', 'sans serif';
+ color: #000;
+}
+
+
+
+/* WRAPPER DE LA PAGE */
+#WRAPPER{
+ /* position */
+ display: block;
+ position: absolute;
+ top: 1em;
+ left: calc( 50% - 512px - 1em );
+ width: 1024px;
+ min-height: 50%;
+ margin: 2em;
+
+ /* border */
+ border: 1px solid #e2e2e2;
+ box-shadow: 0 0 5px #e2e2e2;
+
+ /* background */
+ background-color: #fff;
+}
+
+
+/* MENU DE LA PAGE */
+#WRAPPER > #MENU{
+ /* position */
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 225px;
+ height: 100%;
+
+ /* border */
+ border-right: 1px solid #e2e2e2;
+ border-bottom: 1px solid #e2e2e2;
+
+ /* background */
+ background-color: #fafafa;
+}
+
+
+/* LOGO DANS LE MENU */
+#WRAPPER > #MENU > #ICON{
+ /* position */
+ position: relative;
+ width: 100%;
+ height: 100px;
+
+ /* background */
+ background-color: red;
+}
+
+/* LES LIENS DU MENU */
+#WRAPPER > #MENU > a{
+ /* position */
+ display: inline-block;
+ position: relative;
+ width: calc( 100% - 3em );
+ padding-left: 3em;
+ padding-bottom: 1px;
+
+ /* background */
+ background-color: transparent;
+
+ /* foreground */
+ line-height: 2.5em;
+
+ /* extra */
+ cursor: pointer;
+}
+
+/* :hover / .active */
+#WRAPPER > #MENU > a:hover,
+#WRAPPER > #MENU > a.active{
+ background-color: #efefef !important;
+ color: #818181;
+}
+
+
+/* @first/@last */
+#WRAPPER > #MENU > a:nth-child(2){ margin-top: 1em; }
+#WRAPPER > #MENU > a:last-child{ margin-bottom: 1em; }
+
+
+/* icones associées aux liens */
+#WRAPPER > #MENU > a#consultations{
+ background: url(../src/consultation.svg) left 1em center no-repeat;
+ background-size: auto 1.5em;
+}
+
+#WRAPPER > #MENU > a#doctor{
+ background: url(../src/doctor.svg) left 1em center no-repeat;
+ background-size: auto 1.5em;
+}
+
+#WRAPPER > #MENU > a#dashboard{
+ background: url(../src/dashboard.svg) left 1em center no-repeat;
+ background-size: auto 1.5em;
+}
+
+
+
+
+/*************/
+/* CONTAINER */
+/*************/
+#WRAPPER > #CONTAINER{
+ /* position */
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 225px;
+ width: calc( 100% - 225px );
+ height: 100%;
+}
+
+
+/* FIL D'ARIANE */
+#WRAPPER > #CONTAINER > #BREADCRUMB{
+ /* position */
+ display: inline-block;
+ position: relative;
+ width: calc( 100% - 2*2em - 2*.6em );
+ margin: 2em;
+ padding: .6em;
+
+ /* background */
+ background-color: #eee;
+
+ /* foreground */
+ color: #333;
+}
+
+#WRAPPER > #CONTAINER > #BREADCRUMB a:hover{
+ text-decoration: underline;
+}
+
+/* chevrons */
+#WRAPPER > #CONTAINER > #BREADCRUMB a:before{
+ content: '';
+ /* position */
+ display: inline-block;
+ position: relative;
+ width: 1em;
+ height: .7em;
+
+ background: url(../src/right-arrow.svg) center center no-repeat;
+ background-size: 40% auto;
+}
+
+/* premier: maison au lien de chevron */
+#WRAPPER > #CONTAINER > #BREADCRUMB a:first-child:before{
+ margin-right: 1em;
+ height: 1em;
+ background-image: url(../src/home.svg);
+ background-size: auto 100%;
+}
diff --git a/globalstylesheet.css b/css/login.css
similarity index 100%
rename from globalstylesheet.css
rename to css/login.css
diff --git a/login.php b/login.php
new file mode 100755
index 0000000..6edee3f
--- /dev/null
+++ b/login.php
@@ -0,0 +1,72 @@
+
+
+ 1 && strlen($_POST['mail']) > 1 && strlen($_POST['password']) > 1 && strlen($_POST['co']) > 1; // si au moins 1 caractère
+ $usernameCheck = $postVariablesNEmpty && preg_match("/^[\w -]{3,10}$/i", $_POST['username']); // utilisateur -> "alphanum_- " -> 3 à 10 caractères
+ $mailCheck = $usernameCheck && preg_match("/^[\w\.-]+@[\w\.-]+\.[a-z]{2,4}$/i", $_POST['mail']); // mail -> bon format
+ $passwordCheck = $mailCheck && preg_match("/^[\w -]{8,50}$/i", $_POST['password']); // password -> "alphanum_- " -> 8 à 50 caractères
+ $coCheck = $passwordCheck && $_POST['co'] == 'Me connecter';
+
+if( $coCheck ){ // si toutes les valeurs sont correctes
+
+ $user = array(); // on définit l'utilisateur
+ $user['name'] = $_POST['username'];
+ $user['mail'] = $_POST['mail'];
+ $user['password'] = $_POST['password'];
+ $user['hash'] = sha1($_POST['password']);
+
+}
+
+
+// retourne VRAI si l'utilisateur est connecté
+function connected($user){ return ($user != null); }
+
+?>
+
+
+
+ Tests php
+
+
+
+
+
+
+
+
+
+
+
+ ";
+
+ /* AFFICHAGE D'ERREURS */
+ if( $postVariablesAreSet ){ // si formulaire soumis
+ if( !$postVariablesNEmpty )
+ echo 'Certains champs requis sont vides.';
+ elseif( !$usernameCheck )
+ echo 'Nom d\'utilisateur incorrect. (3 car. min)';
+ elseif( !$mailCheck )
+ echo 'Adresse mail incorrecte.';
+ elseif( !$passwordCheck )
+ echo 'Mot de passe incorrect. (8 car. min)';
+ elseif( connected($user) )
+ echo 'Vous êtes connectés.';
+ }
+
+ echo "";
+ echo "";
+ echo "";
+ echo "";
+ echo "";
+
+ ?>
+
+
+
+
\ No newline at end of file
diff --git a/repositories/exemple_config.json b/repositories/exemple_config.json
old mode 100644
new mode 100755
diff --git a/repositories/index.html b/repositories/index.html
old mode 100644
new mode 100755
diff --git a/src/consultation.svg b/src/consultation.svg
new file mode 100755
index 0000000..a45e261
--- /dev/null
+++ b/src/consultation.svg
@@ -0,0 +1,84 @@
+
+
+
+
diff --git a/src/dashboard.svg b/src/dashboard.svg
new file mode 100755
index 0000000..9b750e3
--- /dev/null
+++ b/src/dashboard.svg
@@ -0,0 +1,146 @@
+
+
+
+
diff --git a/src/home.svg b/src/home.svg
new file mode 100755
index 0000000..fa67b05
--- /dev/null
+++ b/src/home.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/right-arrow.svg b/src/right-arrow.svg
new file mode 100755
index 0000000..04e77dd
--- /dev/null
+++ b/src/right-arrow.svg
@@ -0,0 +1,71 @@
+
+
+
+