diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e9d2fa5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,13 @@ +kind: pipeline +name: JTT_CRM_Pipeline + +trigger: + event: + - push + +steps: +- name: start + image: node + commands: + - npm install + - npm start diff --git a/src/pages/Admin.js b/src/pages/Admin.js index a83d08b..fc4aecf 100644 --- a/src/pages/Admin.js +++ b/src/pages/Admin.js @@ -8,16 +8,16 @@ const Admin = () => {
Admin
+Admin
{auth === ""?'':auth === "Failed"?'Authentification Failed':'User Unknown'}
+ Mot de passe oublié ? +{auth === ""?'':auth === "Failed"?'Authentification Echoué':'Utilisateur inconnu'}
- Mot de passe oublié ? ); } diff --git a/src/styles/components/_admin.scss b/src/styles/components/_admin.scss index b79c831..c357bf5 100644 --- a/src/styles/components/_admin.scss +++ b/src/styles/components/_admin.scss @@ -1,26 +1,36 @@ .page_admin { display: flex; flex-direction: row; + flex-basis: 100%; + height: 100vh; + position:fixed; .nav_bar_verticale { display: flex; flex-direction: column; width: 200px; - height: 753px; - border: 5px white inset; + height: 735px; + background: rgba(255, 255, 255, 0.143); + box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); + backdrop-filter: blur(3px); + -webkit-backdrop-filter: blur(1.5px); + border-radius: 15px; + border: 1px solid rgba(255, 255, 255, 0.18); + margin: 10px; + .create_user { - padding: 30px; + padding: 5px; align-self: center; } .modify_user { - padding: 30px; + padding: 5px; align-self: center; } .delete_user { - padding: 30px; + padding: 5px; align-self: center; } @@ -32,39 +42,29 @@ position: relative; width: 180px; height: 100px; - border-radius: 30px; + border-radius: 10px; font-size: 13.5px; font-weight: bold; transition: 1s box-shadow; cursor: pointer; border: none; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); - background-color: white; - } - - - .bouton:hover { - box-shadow: 0, 5px, 35px, 0 rgba(0, 0, 0, 1); - color: white; - background-color: black; - } + background-color: rgba(163, 163, 163, 0.371); + border: 1px solid rgba(255,255,255,0.1); + backdrop-filter: blur(30px); + color: rgb(255, 255, 255); + cursor: pointer; + font-size: 17px; - .bouton:hover::before, - .bouton:hover::after { - content: ''; - display: block; - position: absolute; - z-index: -1; - width: 100%; - height: 100%; - background: black; - border-radius: 30px; - animation: 0.5s jiggle infinite; - } + &:hover{ + box-shadow: 0, 5px, 35px, 0 rgba(0, 0, 0, 1); + color: white; + background-color: rgba(114, 114, 114, 0.371); + } - .bouton:hover::after { - background: black; - animation: 1s jiggle infinite; + &:active{ + background-color:rgba(68, 68, 68, 0.972); + } } } @@ -84,19 +84,12 @@ .Formulaire{ display: flex; flex-direction: column; + border-radius: 30px; margin: 100px; padding: 30px; align-items: center; } - .form{ - align-self: center; - flex-direction: row; - font-weight: bold; - font-size: 80px; - margin: 20px; - } - .texte { align-self: center; font-weight: bold; @@ -134,12 +127,12 @@ &:active { background-color: rgba(68, 68, 68, 0.972); } - } - .texte_barre{ - display: flex; - width: 400px; - } + .bouton_submit{ + display: flex; + flex-direction: row; + } + } } diff --git a/src/styles/components/_compte.scss b/src/styles/components/_compte.scss index 1f312ed..d9c3cc6 100644 --- a/src/styles/components/_compte.scss +++ b/src/styles/components/_compte.scss @@ -91,7 +91,7 @@ body { flex-direction: row; justify-content: space-between; width: auto; - height: 86%; + height: 82%; .nav_bar_verticale { display: flex; @@ -109,7 +109,7 @@ body { .Compte { display: flex; flex-direction: column; - width: 94.3%; + width: 94%; height: auto; background: rgba(255, 255, 255, 0.3);