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

Develop #24

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0e87ac2
feat afficher le backend sur la page
Katd3v May 11, 2023
69c6eb0
creation page ProjetApiDataProvider
Katd3v May 15, 2023
785ed1d
creation des categories avec css
Katd3v May 17, 2023
bac3918
creation des boutons du filtre
Katd3v May 18, 2023
66a9462
creation page evenListener
Katd3v May 19, 2023
18a1958
correction eventlistener
Katd3v May 19, 2023
bee92d6
création de la page HTML et CSS de Login
Katd3v May 21, 2023
ab7f51a
develop page login.js avec fetch et eventListener
Katd3v May 23, 2023
19abdcb
modification requete post
Katd3v May 23, 2023
5252cd6
correction page login.js
Katd3v May 24, 2023
c706ae4
correction des fonctions en static sur toutes les pages
Katd3v May 24, 2023
d1e38d3
correction function postUserLogin
Katd3v May 25, 2023
950766c
ajout éléments hidden dans index.html
Katd3v May 25, 2023
c1f9b98
ajout de la fonction listenToken
Katd3v May 25, 2023
90e1881
ajout de la modale html
Katd3v May 25, 2023
d74597f
correction nom des classes et id
Katd3v May 26, 2023
043c156
ajout de la modale html + CSS
Katd3v May 26, 2023
5616c84
création de la fonction displayModal + style CSS des projets dans la …
Katd3v May 26, 2023
475f416
correction et ajustement CSS de la modale
Katd3v May 28, 2023
0609da2
ajout de la deuxième modale html + CSS
Katd3v May 28, 2023
df83b5e
ajout eventLisner afin d'agir sur la modale : fonction dysplayModal
Katd3v May 29, 2023
c14b62a
ajout eventListener pour recuperer id au click
Katd3v May 30, 2023
f271b01
ajout fonctionalité sur deleteprojects + correction css modale
Katd3v May 31, 2023
5a3a15d
ajout fonction OpenModal, closeModal, removeProject et suppression fo…
Katd3v Jun 4, 2023
1355659
ajout fonction previewProject + saveProject
Katd3v Jun 5, 2023
a8e2907
ajout ModalBuiler.selectCategoryID + modification HTML formulaire + m…
Katd3v Jun 6, 2023
f1eb4b6
ajout saveProject + POST project
Katd3v Jun 6, 2023
73d0700
modification fonction previewProject + fonction saveProject
Katd3v Jun 8, 2023
d588653
ajout message d'erreur log + disabled
Katd3v Jun 9, 2023
4955e74
formData + methode POST
Katd3v Jun 11, 2023
72304b1
correction saveProject, et addNewProjects + ajout activeSubmit + corr…
Katd3v Jun 14, 2023
4508a43
ajout CSS errorMessage + errorLoging
Katd3v Jun 15, 2023
3ca0938
correction button submit + message erreur
Katd3v Jun 16, 2023
03184cb
correction style image modale
Katd3v Jun 16, 2023
19bb68e
correction css modale + correction message d'erreur loging
Katd3v Jun 18, 2023
bc547d5
amelioration methode saveProject
Katd3v Jun 21, 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 added .DS_Store
Binary file not shown.
Binary file added Backend/.DS_Store
Binary file not shown.
Binary file added Backend/database copy 2.sqlite
Binary file not shown.
Binary file modified Backend/database.sqlite
Binary file not shown.
Binary file added Backend/images/abajour-tahina1686757704872.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-tahina1686758855141.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.
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.
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/bar-lullaby-paris1686590530991.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/bar-lullaby-paris1686604899791.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/bar-lullaby-paris1686755967966.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/bar-lullaby-paris1686757753910.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.
Binary file added Backend/images/la-balisiere1686588138349.png
Binary file added Backend/images/la-balisiere1686593982031.png
Binary file added Backend/images/la-balisiere1686595926854.png
Binary file added Backend/images/la-balisiere1686755948020.png
Binary file added Backend/images/la-balisiere1686757732780.png
Binary file added Backend/images/la-balisiere1686759316692.png
Binary file added Backend/images/la-balisiere1686846597042.png
Binary file added Backend/images/la-balisiere1686846622420.png
Binary file added Backend/images/le-coteau-cassis1686588035938.png
Binary file added Backend/images/le-coteau-cassis1686594080240.png
Binary file added Backend/images/le-coteau-cassis1686755908929.png
Binary file added Backend/images/le-coteau-cassis1686757660007.png
Binary file added Backend/images/le-coteau-cassis1686757805456.png
Binary file added Backend/images/photo-9143881686588262044.jpg
Binary file added Backend/images/photo-9143881686588316381.jpg
Binary file added Backend/images/photo-9143881686588369673.jpg
Binary file added Backend/images/photo-9143881686589970340.jpg
Binary file added Backend/images/photo-9143881686757113767.jpg
Binary file added Backend/images/photo-lampe1686757498875.jpg
Binary file added Backend/images/villa-ferneze1686757717043.png
Binary file added FrontEnd/.DS_Store
Binary file not shown.
18 changes: 18 additions & 0 deletions FrontEnd/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import ApiDataProvider from "./src/ApiDataProvider.js";
import CardBuilder from "./src/CardBuilder.js";
import EventListener from "./src/EventListener.js";
import ModalBuilder from "./src/ModalBuilder.js";
import UserLogin from "./src/UserLogin.js";

EventListener.listen();
UserLogin.validToken();

ApiDataProvider.getCategories().then((categories) => {
CardBuilder.displayCategories(categories);
ModalBuilder.selectCategoryId();
});

ApiDataProvider.getProjects().then((projects) => {
CardBuilder.displayProjects(projects);
ModalBuilder.displayModalProjects(projects);
});
Binary file added FrontEnd/assets/.DS_Store
Binary file not shown.
Binary file added FrontEnd/assets/icons/.DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions FrontEnd/assets/icons/Move.svg
1 change: 1 addition & 0 deletions FrontEnd/assets/icons/arrow-left-long-solid.svg
1 change: 1 addition & 0 deletions FrontEnd/assets/icons/arrows-up-down-left-right-solid.svg
Binary file added FrontEnd/assets/icons/icons-image.png
Binary file added FrontEnd/assets/icons/pen-to-square white.png
1 change: 1 addition & 0 deletions FrontEnd/assets/icons/pen-to-square-regular.svg
11 changes: 11 additions & 0 deletions FrontEnd/assets/icons/trash-can-regular.svg
1 change: 1 addition & 0 deletions FrontEnd/assets/icons/trash-can-regular2.svg
Loading