Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin #35

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
11701b2
Initialisation du projet
morganhel Sep 7, 2023
e8c9674
Création de la page login
morganhel Sep 8, 2023
5fc0310
Intégration design page login
morganhel Sep 8, 2023
f1721e5
Modif input en button
morganhel Sep 10, 2023
098ee2a
Re button en input
morganhel Sep 10, 2023
69ce143
POST login et recup réponse API + token
morganhel Sep 10, 2023
193775e
fonction connecter avec reponse API
morganhel Sep 12, 2023
ca914d1
Verif validité email et mot de passe
morganhel Sep 12, 2023
ecb7ff2
Ajout des liens vers ancres menu nav
morganhel Sep 12, 2023
74296e0
Affichage des projets avec API
morganhel Sep 13, 2023
096313d
Restructuration gallery.js pour fonction addWorks avec arguments
morganhel Sep 13, 2023
70c4356
Affichage des filtres (non fonctionnels)
morganhel Sep 14, 2023
fe17675
Boutons filtres fonctionnels
morganhel Sep 14, 2023
b02a3e4
Effet bouton au clique
morganhel Sep 14, 2023
33bc3c1
Problème ancre nav
morganhel Sep 14, 2023
1c2c242
Cration bannière mode edition
morganhel Sep 14, 2023
b7e89d3
Refactoring page d'accueil
morganhel Sep 16, 2023
5eefa75
Mise en place élements administrateur
morganhel Sep 16, 2023
78f638f
Mise en place de la modal
morganhel Sep 22, 2023
3bd0912
ajout class="button" pour les 3 boutons du site
morganhel Sep 23, 2023
26dd593
Affichage galerie modale essai
morganhel Sep 26, 2023
f8ad1a1
Affichage modal + suppression des projet avec icone
morganhel Sep 26, 2023
19dc14e
Fin mise en place modal galerie
morganhel Oct 1, 2023
b610bdb
Mise en place 2è modal
morganhel Oct 2, 2023
da54248
Choix de la categorie
morganhel Oct 3, 2023
a4888af
essai preview
morganhel Oct 9, 2023
f3734dd
Merge branch 'OpenClassrooms-Student-Center:master' into Admin
morganhel Oct 9, 2023
bbc7a24
preview photo opérationnel
morganhel Oct 9, 2023
cae587d
fonction ajout d'un projet à API opérationnelle
morganhel Oct 9, 2023
d1535e0
Changement message erreur login
morganhel Oct 9, 2023
45e74a7
Fin mise en place modale 2
morganhel Oct 11, 2023
7802550
Début de refactoring -créa autre fichier pour modal 2
morganhel Oct 11, 2023
679a4d6
Commentaires code
morganhel Oct 12, 2023
de1ed4b
Valider login
morganhel Oct 12, 2023
8db7a50
renomme fonction DeleteProject
morganhel Oct 12, 2023
7ffa4fd
Merge branch 'master' into Admin
morganhel Oct 12, 2023
8c00eee
ok
morganhel Oct 12, 2023
0d13f25
Merge branch 'master' into Admin
morganhel Oct 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Backend/database.sqlite
Binary file not shown.
Binary file added Backend/images/abajour-tahina1697015221925.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/abajour-tahina1697028230489.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/abajour-tahina1697038969389.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/abajour-tahina1697058102069.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/abajour-tahina1697112390677.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/la-balisiere1697039023292.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/sophie-bluel1697038814973.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/sophie-bluel1697057985788.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/sophie-bluel1697058016352.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/villa-ferneze1696870987436.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/villa-ferneze1697028216403.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/villa-ferneze1697028218948.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/villa-ferneze1697028779705.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Backend/images/villa-ferneze1697038078478.png
Binary file added Backend/images/villa-ferneze1697038230478.png
Binary file added Backend/images/villa-ferneze1697038503725.png
Binary file added Backend/images/villa-ferneze1697058813100.png
Binary file added Backend/images/villa-ferneze1697058918239.png
Binary file added Backend/images/villa-ferneze1697058966634.png
Binary file added Backend/images/villa-ferneze1697059072415.png
Binary file added Backend/images/villa-ferneze1697059151436.png
Binary file added Backend/images/villa-ferneze1697059474202.png
Binary file added Backend/images/villa-ferneze1697059508012.png
Binary file added Backend/images/villa-ferneze1697059612228.png
Binary file added Backend/images/villa-ferneze1697059806148.png
Binary file added Backend/images/villa-ferneze1697060130723.png
Binary file added Backend/images/villa-ferneze1697111955281.png
263 changes: 260 additions & 3 deletions FrontEnd/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ footer, header, hgroup, menu, nav, section {
}
body {
line-height: 1;
background: rgba(255, 254, 248, 1);

}
ol, ul {
list-style: none;
Expand Down Expand Up @@ -58,6 +60,7 @@ header {
justify-content: space-between;
margin: 50px 0
}

section {
margin: 50px 0
}
Expand Down Expand Up @@ -95,9 +98,21 @@ nav li {
font-size: 1.2em;
}

li:hover {
/* enlever comportement par défaut du lien */
nav a {
text-decoration: none;
color:black;
}

/* change li par nav a pour hover */
nav a:hover{
color: #B1663C;
}

#login{
font-weight: 400;
}

#introduction {
display: flex;
align-items: center;
Expand Down Expand Up @@ -139,7 +154,7 @@ li:hover {
}
#contact {
width: 50%;
margin: auto;
margin: auto;
}
#contact > * {
text-align: center;
Expand All @@ -161,6 +176,7 @@ margin: auto;
border: none;
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

#contact label {
margin: 2em 0 1em 0;
}
Expand All @@ -169,20 +185,261 @@ margin: auto;
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

input[type="submit"]{
.forget {
text-decoration: underline;
}

.login {
padding:150px;
}


.button{
border:none;
font-family: 'Syne';
font-weight: 700;
color: white;
background-color: #1D6154;
margin : 2em auto ;
width: 180px;
height:36px;
text-align: center;
border-radius: 60px ;
}

.button__off{
background-color: #A7A7A7;
}


footer nav ul {
display: flex;
justify-content: flex-end;
margin: 2em
}

/**** Bannière filtres ****/

.filters {
display: flex;
justify-content: center;
margin-bottom: 1em;
gap: 1em;
}

.filters__button{
font-family: 'Syne';
font-weight: 700;
font-size: 16px;
color: #1D6154;
background-color:rgba(255, 254, 248, 1);
height: 37px;
text-align: center;
padding:0 1em 0 1em;
border-radius: 60px;
border: 1px solid #1D6154;
}

.filters__buttonAll{
color: white;
background-color: #1D6154;
}

.filters__button:focus{
color: white;
background-color: #1D6154;}


/**** Mode edition ****/

.editionBanner{
display: none; /*flex;*/
align-items: center;
justify-content: center;
width:100%;
height: 59px;
background-color: black;
color: white;
gap: 21px;

}

.title{
display:flex;
justify-content:center;
align-items: baseline;
gap: 30px;
}

.editionButton{
display: none;
align-items: center;
justify-content: center;
gap: 10px;
cursor: pointer;
}


/**** MODAL ****/

.modal-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}


.overlay {

position: absolute;
width: 100%;
height: 100%;
background: #333333d3;
}



.modal {
width: 630px;
height: 688px;
border-radius: 10px;
background: rgba(255, 255, 255, 1);
position: absolute;
padding:40;
display: flex;
flex-direction: column;
align-items: center;
gap:50px;
}


.close-modal {
position: absolute;
top: 32px;
right: 32px;
cursor: pointer;
}

.modal-title {
font-family: Work Sans;
font-size: 26px;
font-weight: 400;
color: black;
margin-top: 60px;
}

.modal-content{
width: 420px;
height: 430px;
border-bottom: 1px solid rgba(179, 179, 179, 1);

}

.modal-gallery {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-column-gap: 8px;
padding-bottom: 60px;
}

.modal-gallery img{
width:100%;
}

.projet{
position :relative;

}

.button-delete{
width: 17px;
height: 17px;
position: absolute;
top:5px;
right:5px;
border:none;
background-color:black;
display:flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

.button-return {
position: absolute;
top: 32px;
left: 32px;
cursor: pointer;
}

.modal-form{
display:flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
}

.form__input{
display: flex;
flex-direction: column;
justify-content: space-between;
padding-bottom: 47px;
}

.form__inputImg{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 40px;
background-color: #E8F1F6;
margin-bottom: 10px;
border-radius: 5px;
height: 170px;
width: 100%;
}

.form__inputImg input{
display: none;
}

.form__inputImg i{
font-size: 76px;
color: #B9C5CC;
}

.form__inputImg label{
font-size: 14px;
font-weight: 500;
margin-top: 15px;
margin-bottom: 10px;
padding: 10px 25px;
border-radius: 20px;
background-color: #CBD6DC;
color: #306685;
}

.form__inputImg p{
font-size: 10px;
font-weight: 400;
color:#444444;

}

.preview {
display: none;
height: 100%;
width: 129px;
}

input[type="text"],
select {
padding: 15px;
border: none;
box-shadow: 0px 4px 14px 0px #0000002c;
}
Loading