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

Test factory #33

Closed
Closed
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
eabdbb2
Installation des paquets
rezozero59 Aug 8, 2023
d01cee5
Premier essai avec Fetch, reponse OK
rezozero59 Aug 10, 2023
2ca4d88
suite
rezozero59 Aug 12, 2023
062bdc2
Works: Data ok, create element ok, append chil ok
rezozero59 Aug 14, 2023
84b46d3
Alternative test with foreach loop
rezozero59 Aug 15, 2023
3b36172
Création d'un fichier filter.js pour la gestion des filtres, et modif…
rezozero59 Aug 15, 2023
38da376
Filters: création des éléments de filtres, création des fonctions de …
rezozero59 Aug 16, 2023
d8d11d7
Display des filtres à continuer
rezozero59 Aug 16, 2023
e1be04a
Function displayWorks, évenements sur les boutons
rezozero59 Aug 17, 2023
8c0d158
Etape 1 terminée , filtres fonctionnels
rezozero59 Aug 17, 2023
55e455f
Style "login" css et login.html.
rezozero59 Aug 17, 2023
d19f973
Login Page: fetch "post" username and password to server
rezozero59 Aug 19, 2023
14893cf
Suite de la modification du fichier login.js
rezozero59 Aug 20, 2023
33ef5cc
Function checkToken à intégrer dans TOUTES les pages qui ont besoin d…
rezozero59 Aug 20, 2023
589676b
Import /export modules à apprendre
rezozero59 Aug 20, 2023
a4bc296
TEST refactorisation des fonctions de login.js
rezozero59 Aug 20, 2023
a62261b
Suite recherche erreur refactoring preventDefault
rezozero59 Aug 20, 2023
c52d647
"Refactoring" ok import/export des fonctions ok, message d'erreur sur…
rezozero59 Aug 21, 2023
e57077a
Suite refactoring
rezozero59 Aug 23, 2023
a7646f4
Test avec les fichiers main2.js et works2.js
rezozero59 Aug 28, 2023
80623fd
Login2.JS Factory Functions, module mains.js
rezozero59 Aug 28, 2023
b2ef541
FactoryFunction in login2.js OK, module export main.JS OK
rezozero59 Aug 28, 2023
2a758dd
error-message login page
rezozero59 Aug 28, 2023
e23deae
issues with admin-bar and login OK now
rezozero59 Aug 28, 2023
1031134
Btn-Filter Hidden in admin page
rezozero59 Aug 29, 2023
0813ac5
bandeau à traiter
rezozero59 Aug 30, 2023
a54ecd8
Style admin-bar suite
rezozero59 Aug 30, 2023
baf4185
Issue: margin bottom not working admin-bar
rezozero59 Aug 30, 2023
b44fa45
html & CSS "modifier"
rezozero59 Aug 30, 2023
502a8df
Corrections CSS
rezozero59 Aug 30, 2023
6bb9b83
Start modal
rezozero59 Aug 30, 2023
139a11c
next
rezozero59 Aug 30, 2023
2e0b6ab
Modale intégrée, importer les projets à éditer.
rezozero59 Sep 1, 2023
f5d89bd
Modale style CSS OK
rezozero59 Sep 1, 2023
c120bfc
Intérgration trash icon
rezozero59 Sep 1, 2023
f3c156a
Tests suppression projets et suppression des fichiers liés
rezozero59 Sep 1, 2023
0481aa7
Debug Delete
rezozero59 Sep 2, 2023
560c02f
Delete fonctionnel
rezozero59 Sep 2, 2023
9861f60
Main et modules exports à revoir et travailler
rezozero59 Sep 2, 2023
c17bc19
Debugging, main à reprendre
rezozero59 Sep 2, 2023
7cd01f8
Commit avant construction du formulaire d'upload
rezozero59 Sep 3, 2023
d13740c
detail
rezozero59 Sep 3, 2023
4e82958
Bug filtres en mode connecté
rezozero59 Sep 3, 2023
140cc23
Bug filtres CSS corrigé
rezozero59 Sep 4, 2023
2e91580
Debug affichage formulaire/gaelrie ok
rezozero59 Sep 4, 2023
2be7a1f
Quitter modal par click outside
rezozero59 Sep 4, 2023
09d0c8a
Test formdata, tester les différents chemins
rezozero59 Sep 4, 2023
72d89f0
Co-authored-by: Marco Guzman <[email protected]>
rezozero59 Sep 4, 2023
634621c
main V1 supp
rezozero59 Sep 4, 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
Prev Previous commit
Next Next commit
Style "login" css et login.html.
rezozero59 committed Aug 17, 2023
commit 55e455ffce0b0e60be82289f7f7297fd8221024b
52 changes: 50 additions & 2 deletions FrontEnd/assets/style.css
Original file line number Diff line number Diff line change
@@ -129,10 +129,11 @@ table {
}
/** end reset css**/
body {
max-width: 1140px;
max-width: 1440px;
margin: auto;
font-family: "Work Sans";
font-size: 14px;
background-color: #fffef8;
}
header {
display: flex;
@@ -164,6 +165,12 @@ h2 {
font-size: 30px;
color: #1d6154;
}

a {
text-decoration: none;
color: inherit;
}

nav ul {
display: flex;
align-items: center;
@@ -269,7 +276,7 @@ footer nav ul {
margin: 2em;
}

/******* JAVASCRIPT *********/
/******* JAVASCRIPT PROJETS *********/
.projets-section h2 {
text-align: center;
margin-bottom: 1rem;
@@ -292,3 +299,44 @@ footer nav ul {
.projets img {
width: 100%;
}

/********** login.html **********/

#login {
height: 50vh;
width: 25%;
margin: auto;
margin: 12rem auto;
display: flex;
flex-direction: column;
justify-content: center;
}

#login h2 {
text-align: center;
margin-bottom: 3rem;
}

#login form {
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}

#login input {
height: 50px;
font-size: 1.2em;
border: none;
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

#login label {
margin: 2em 0 1em 0;
text-align: left;
}

#forgot-password {
text-align: center;
margin-top: 1rem;
}
6 changes: 3 additions & 3 deletions FrontEnd/index.html
Original file line number Diff line number Diff line change
@@ -12,16 +12,16 @@
/>
<meta name="description" content="" />
<link rel="stylesheet" href="./assets/style.css" />
<script src="travaux.js" defer></script>
<script src="works.js" defer></script>
</head>
<body>
<header>
<h1>Sophie Bluel <span>Architecte d'inteérieur</span></h1>
<nav>
<ul>
<li>projets</li>
<li><a href="index.html">projets</a></li>
<li>contact</li>
<li>login</li>
<li><a href="login.html" alt="login">login</a></li>
<li><img src="./assets/icons/instagram.png" alt="Instagram" /></li>
</ul>
</nav>
51 changes: 51 additions & 0 deletions FrontEnd/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>Sophie Bluel - Architecte d'intérieur - login</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Work+Sans&display=swap"
rel="stylesheet"
/>
<meta name="description" content="" />
<link rel="stylesheet" href="./assets/style.css" />
<script src="works.js" defer></script>
</head>
<body>
<header>
<h1>Sophie Bluel <span>Architecte d'inteérieur</span></h1>
<nav>
<ul>
<li><a href="index.html">projets</a></li>
<li>contact</li>
<li><a href="login.html" alt="login">login</a></li>
<li><img src="./assets/icons/instagram.png" alt="Instagram" /></li>
</ul>
</nav>
</header>
<!-- FORMULAIRE à intégrer -->
<main>
<div id="login">
<h2>Log In</h2>
<form action="#" method="post">
<label for="login-input">E-mail</label>
<input type="email" id="login-email" name="email" required />
<label for="login-input">Mot de passe</label>
<input type="password" id="login-password" name="password" required />
<input type="submit" value="Se connecter" />
</form>
<a href="#" id="forgot-password">Mot de passe oublié</a>
</div>
</main>
<footer>
<nav>
<ul>
<li>Mentions Légales</li>
</ul>
</nav>
</footer>
</body>
</html>
101 changes: 0 additions & 101 deletions FrontEnd/travaux copie.js

This file was deleted.

File renamed without changes.