Espace projet : mot de passe puis tableau de bord, charte graphique
- index.html devient l'espace projet : écran de mot de passe (même empreinte et même limite d'essais qu'avant) puis tableau de bord (Disponible / En construction), aux couleurs de la charte v1.1. - L'application passe dans app.html ; sans déverrouillage, elle renvoie vers index.html. tailwind.config.js lit app.html. - charte.html : charte graphique v1.1 (palette #8B9E90 / #2D2D2D / #F2F0E6, logo, icônes, animations), réservée comme app.html. Polices locales. - assets/icones-jobrunner/ : 15 icônes SVG (currentColor, sans cadre). - assets/img/logo-j.svg : logo J de la charte. - legal.html : lien « Retour à l'espace projet ». Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aucun fichier ne correspond à votre recherche
@@ -0,0 +1,68 @@
|
||||
/* Espace projet (index.html) : écran de mot de passe + tableau de bord. Couleurs et formes : charte v1.1. */
|
||||
:root{--fond:#F2F0E6;--sauge:#8B9E90;--texte:#2D2D2D;--carte:#F8F7F1;--filet:#E0DDD5;--doux:#6B6B6B;--chair:#E8D5C4}
|
||||
*{box-sizing:border-box}
|
||||
[hidden]{display:none!important}
|
||||
html,body{margin:0;background:var(--fond);color:var(--texte);font-family:Chillax,Outfit,'Plus Jakarta Sans',system-ui,sans-serif}
|
||||
a{color:inherit;text-decoration:none}
|
||||
|
||||
/* Écran de mot de passe */
|
||||
.verrou{min-height:100vh;display:grid;place-items:center;padding:16px;transition:opacity .4s}
|
||||
.verrou.sort{opacity:0}
|
||||
.verrou-carte{width:100%;max-width:340px;background:var(--carte);border:1px solid var(--filet);border-radius:22px;padding:28px 24px;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
|
||||
.verrou-carte h1{font-size:22px;font-weight:700;margin:6px 0 0}
|
||||
.verrou-carte p{margin:0;color:var(--doux);font-size:14px}
|
||||
.verrou-carte input{width:100%;font:inherit;font-size:15px;padding:12px 16px;border-radius:999px;border:1.5px solid var(--filet);background:var(--fond);color:var(--texte);outline:none;margin-top:6px}
|
||||
.verrou-carte input:focus{border-color:var(--sauge)}
|
||||
.verrou-carte button{width:100%;font:inherit;font-size:15px;font-weight:600;padding:12px;border:0;border-radius:999px;background:var(--sauge);color:var(--fond);cursor:pointer}
|
||||
.verrou-carte button:hover{background:var(--texte)}
|
||||
.verrou-carte button:disabled{opacity:.5;cursor:not-allowed}
|
||||
.verrou-carte .verrou-erreur{color:#A0554B;font-weight:600;font-size:13px}
|
||||
.verrou-carte .verrou-attente{color:var(--texte);font-weight:600;font-size:13px}
|
||||
.verrou-essais{width:100%;height:4px;border-radius:999px;background:var(--filet);overflow:hidden}
|
||||
.verrou-essais span{display:block;height:100%;width:0;background:#A0554B;transition:width .3s}
|
||||
|
||||
/* En-tête */
|
||||
.entete{max-width:1080px;margin:0 auto;padding:22px 16px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
|
||||
.entete .marque{display:flex;align-items:center;gap:10px;font-weight:700;font-size:24px;color:var(--sauge);-webkit-text-stroke:.6px var(--texte)}
|
||||
.entete .espace{font-size:13px;font-weight:600;color:var(--doux);padding:5px 12px;border:1.5px solid var(--filet);border-radius:999px}
|
||||
.entete .vide{flex:1}
|
||||
.entete button{font:inherit;font-size:14px;font-weight:600;background:none;border:1.5px solid var(--texte);border-radius:999px;padding:8px 16px;cursor:pointer;color:var(--texte)}
|
||||
.entete button:hover{background:var(--texte);color:var(--fond)}
|
||||
|
||||
main{max-width:1080px;margin:0 auto;padding:8px 16px 64px}
|
||||
.bonjour h1{font-size:clamp(28px,5vw,40px);font-weight:700;margin:12px 0 4px}
|
||||
.bonjour p{color:var(--doux);margin:0 0 36px}
|
||||
h2{font-size:15px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--doux);margin:0 0 14px;display:flex;align-items:center;gap:10px}
|
||||
h2 .compte{font-size:12px;letter-spacing:0;background:var(--carte);border:1px solid var(--filet);border-radius:999px;padding:2px 9px;text-transform:none}
|
||||
|
||||
/* Tuiles */
|
||||
.grille{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
|
||||
.grille.petite{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
|
||||
.grille>*{min-width:0}
|
||||
.tuile{position:relative;display:flex;flex-direction:column;gap:14px;background:var(--carte);border:1px solid var(--filet);border-radius:22px;padding:22px;min-height:190px;transition:transform .25s,box-shadow .25s,border-color .25s}
|
||||
a.tuile:hover,a.tuile:focus-visible{transform:translateY(-3px);border-color:var(--sauge);box-shadow:0 10px 24px -14px rgba(45,45,45,.35);outline:none}
|
||||
.tuile h3{font-size:20px;font-weight:600;margin:0}
|
||||
.tuile p{margin:0;color:var(--doux);font-size:14px;line-height:1.5}
|
||||
.tuile .bas{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600}
|
||||
.tuile .fleche{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--sauge);color:var(--fond);transition:transform .25s}
|
||||
a.tuile:hover .fleche{transform:translateX(4px)}
|
||||
|
||||
/* Icônes : cadre squircle en CSS */
|
||||
.ico{--t:56px;display:inline-grid;place-items:center;width:var(--t);height:var(--t);border:calc(var(--t)*.054) solid currentColor;border-radius:26%;color:var(--texte);flex-shrink:0}
|
||||
.ico svg{width:86%;height:86%}
|
||||
.dispo .ico{color:var(--sauge)}
|
||||
|
||||
.statut{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}
|
||||
.statut.ok{background:var(--sauge);color:var(--fond)}
|
||||
.statut.chantier{background:var(--chair);color:var(--texte)}
|
||||
.statut i{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
|
||||
|
||||
.construction .tuile{min-height:170px;background:transparent;border-style:dashed}
|
||||
.construction .ico{--t:48px;color:var(--doux)}
|
||||
.construction h3{font-size:17px}
|
||||
.construction .barre{height:6px;border-radius:999px;background:var(--filet);overflow:hidden}
|
||||
.construction .barre span{display:block;height:100%;width:0;background:var(--sauge);border-radius:inherit}
|
||||
|
||||
section+section{margin-top:44px}
|
||||
footer{max-width:1080px;margin:0 auto;padding:0 16px 32px;color:var(--doux);font-size:13px}
|
||||
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 49 L 50 24 L 76 49 V 74 H 61 V 61 C 61 55 57 51 50 51 C 43 51 39 55 39 61 V 74 H 24 Z" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 271 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 44.5 28 C 44.5 25 45 24 48 24 H 52 C 55 24 55.5 25 55.5 28 V 44.5 H 72 C 75 44.5 76 45 76 48 V 52 C 76 55 75 55.5 72 55.5 H 55.5 V 72 C 55.5 75 55 76 52 76 H 48 C 45 76 44.5 75 44.5 72 V 55.5 H 28 C 25 55.5 24 55 24 52 V 48 C 24 45 25 44.5 28 44.5 H 44.5 Z" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 439 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><g transform="rotate(45 50 50)"><rect x="45.5" y="41" width="9" height="38" rx="4.5" stroke-width="4"/><path d="M 31 27 C 31 24.5 33 23 35.5 23 H 66 C 68.5 23 70 24.5 70 27 V 37 C 70 39.5 68.5 41 66 41 H 38 C 34 41 31 38 31 34 Z" stroke-width="4"/></g></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 402 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 46 38 C 40 35 32 35 24 37 V 69 C 32 67 40 67 46 70 Z M 46 38 C 52 35 60 35 68 37 V 69 C 60 67 52 67 46 70" stroke-width="4"/><path d="M 28 45 L 41 44 M 28 52 L 41 51 M 28 59 L 41 58 M 51 44 L 57 45 M 51 51 L 57 52 M 51 58 L 57 59" stroke-width="3"/><path d="M 61 36 H 67 V 65 L 64 73 L 61 65 Z M 61 41 H 67 M 61 65 H 67" stroke-width="3"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 500 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 55 22 L 35 50 H 51 L 45 78 L 65 44 H 49 Z" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 224 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><rect x="25" y="28" width="50" height="34" rx="4" stroke-width="4"/><path d="M 19 62 H 81 L 79.5 67.5 C 79 69.5 77.5 71 75.5 71 H 24.5 C 22.5 71 21 69.5 20.5 67.5 Z" stroke-width="4"/><line x1="45" y1="66.5" x2="55" y2="66.5" stroke-width="3"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 394 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 38 28 L 44 34 L 50 26 L 56 34 L 62 28 V 41 C 62 48 57 52 50 52 C 43 52 38 48 38 41 Z" stroke-width="4"/><path d="M 50 52 V 77" stroke-width="4"/><path d="M 50 71 C 41 71 35 65 34 57 C 43 57 49 62 50 71 Z" stroke-width="3.5"/><path d="M 50 65 C 59 65 64 60 65 52 C 57 52 51 56 50 65 Z" stroke-width="3.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 466 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><line x1="72" y1="23" x2="51" y2="48" stroke-width="4.5"/><line x1="47" y1="46" x2="55" y2="53" stroke-width="5"/><path d="M 49 50 C 44 57 36 67 33 71 C 38 75 42 72 46 75 C 50 78 54 74 58 75 C 61 72 58 64 53 53 Z" stroke-width="4"/><path d="M 46 56 C 44 63 41 69 41 72 M 49 57 C 49 64 49 69 50 74" stroke-width="3"/><path d="M 35 22 V 32 M 30 27 H 40 M 26 39 V 47 M 22 43 H 30 M 68 62 V 69 M 64.5 65.5 H 71.5" stroke-width="3"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 578 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 34.5 61 C 33.5 63 31 66 28.5 68 C 32.5 67 35.5 65.5 36.5 63 C 41 64.5 46 65 51 65 C 64.5 65 74 56.5 74 46 C 74 35.5 64.5 27 51 27 C 37.5 27 28 35.5 28 46 C 28 52 30.5 57.5 34.5 61 Z" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 364 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 24 38 C 24 35 26.5 33 29.5 33 H 37 L 41 26 H 59 L 63 33 H 70.5 C 73.5 33 76 35 76 38 V 68 C 76 71 73.5 73 70.5 73 H 29.5 C 26.5 73 24 71 24 68 Z" stroke-width="4"/><circle cx="50" cy="53" r="13" stroke-width="4"/><circle cx="50" cy="53" r="6" stroke-width="3"/><circle cx="69" cy="41" r="1.6" fill="currentColor" stroke="none"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 489 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 50 24 C 50 24 32 46 32 59 C 32 69 40 77 50 77 C 60 77 68 69 68 59 C 68 46 50 24 50 24 Z" stroke-width="4.5"/><path d="M 40 59 C 40 66 44.5 70 50.5 70" stroke-width="3.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 332 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="36" r="9.5" stroke-width="4.5"/><path d="M 31.5 71.5 C 31.5 62 38 57 50 57 C 62 57 68.5 62 68.5 71.5 C 68.5 74 65.5 74 50 74 C 34.5 74 31.5 74 31.5 71.5 Z" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 346 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="45" cy="43" r="14.5" stroke-width="4.5"/><line x1="56" y1="53.5" x2="69" y2="66.5" stroke-width="4.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 265 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><circle cx="50" cy="50" r="26" stroke-width="4.5"/><polygon points="50,40 59.5,47 56,58 44,58 40.5,47" stroke-width="3.5"/><path d="M 50 40 V 24 M 59.5 47 L 74.5 42 M 56 58 L 65.5 70.5 M 44 58 L 34.5 70.5 M 40.5 47 L 25.5 42" stroke-width="3.5"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 396 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="14 14 72 72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M 22 41 H 28 M 19 48 H 27 M 22 55 H 28" stroke-width="4"/><path d="M 33 63 V 37 H 64 V 44 H 70 L 76 52 H 81 V 63 H 76 C 76 60 73.5 58 70 58 C 66.5 58 64 60 64 63 H 51 C 51 60 48.5 58 45 58 C 41.5 58 39 60 39 63 Z" stroke-width="4"/><path d="M 65 47 H 70 L 74 53 H 65 Z" stroke-width="3"/><circle cx="45" cy="63" r="5" stroke-width="4"/><circle cx="70" cy="63" r="5" stroke-width="4"/></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 543 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="420 60 545 650" role="img" aria-label="Jobrunner"><path fill="none" stroke="#2D2D2D" stroke-width="106" stroke-linecap="round" stroke-linejoin="round" d="M530 480 L530 550 A96 96 0 0 0 722 550 L722 255 A60 60 0 0 1 782 195 L806 195"/><polygon transform="translate(800 195)" points="0,-118 143,0 0,118" fill="#8B9E90" stroke="#2D2D2D" stroke-width="5" stroke-linejoin="round"/><path fill="none" stroke="#8B9E90" stroke-width="100" stroke-linecap="round" stroke-linejoin="round" d="M530 480 L530 550 A96 96 0 0 0 722 550 L722 255 A60 60 0 0 1 782 195 L806 195"/><g fill="#8B9E90" stroke="#2D2D2D" stroke-width="4" stroke-linejoin="round"><path d="M492 270 C530 235 590 205 635 198 C660 196 658 240 630 241 C580 243 530 252 492 270 Z"/><path d="M432 370 C480 310 560 268 628 258 C660 256 655 310 622 312 C560 316 490 335 432 370 Z"/></g></svg>
|
||||
|
Après Largeur: | Hauteur: | Taille: 890 B |
@@ -0,0 +1,67 @@
|
||||
// Espace projet : écran de mot de passe puis tableau de bord.
|
||||
// Repris de l'ancien verrou d'app.html (même mot de passe, même empreinte, même limite d'essais).
|
||||
// ⚠️ Protection de démonstration seulement : le mot de passe est lisible dans ce fichier.
|
||||
(function () {
|
||||
var CLE = 'jobrunner_dev_unlocked', ESSAIS = 'jr_dev_attempts', ATTENTE = 'jr_dev_cooldown';
|
||||
var MAX_ESSAIS = 5, DUREE_ATTENTE = 30000;
|
||||
var lire = function (k) { try { return sessionStorage.getItem(k); } catch (e) { return null; } };
|
||||
var ecrire = function (k, v) { try { sessionStorage.setItem(k, v); } catch (e) {} };
|
||||
var effacer = function (k) { try { sessionStorage.removeItem(k); } catch (e) {} };
|
||||
var $ = function (id) { return document.getElementById(id); };
|
||||
|
||||
// Empreinte djb2 salée (suffisante pour un prototype)
|
||||
function empreinte(p) {
|
||||
var s = p + ':jr-dev-salt-2026!', h = 5381;
|
||||
for (var i = 0; i < s.length; i++) { h = ((h << 5) + h) ^ s.charCodeAt(i); h = h >>> 0; }
|
||||
return h.toString(16);
|
||||
}
|
||||
var ATTENDUE = empreinte('acces.jobrunner26');
|
||||
|
||||
var essais = parseInt(lire(ESSAIS) || '0', 10), finAttente = parseInt(lire(ATTENTE) || '0', 10);
|
||||
|
||||
function afficher(deverrouille) {
|
||||
$('verrou').hidden = deverrouille;
|
||||
$('tableau').hidden = !deverrouille;
|
||||
if (!deverrouille) setTimeout(function () { $('verrou-mdp').focus(); }, 50);
|
||||
}
|
||||
|
||||
function compteARebours() {
|
||||
var bouton = $('verrou-bouton'), champ = $('verrou-mdp'), msg = $('verrou-attente');
|
||||
bouton.disabled = champ.disabled = true;
|
||||
$('verrou-erreur').hidden = true; msg.hidden = false;
|
||||
(function tic() {
|
||||
var reste = Math.ceil((finAttente - Date.now()) / 1000);
|
||||
if (reste <= 0) {
|
||||
bouton.disabled = champ.disabled = false; msg.hidden = true;
|
||||
$('verrou-essais').hidden = true; $('verrou-essais').firstElementChild.style.width = '0';
|
||||
champ.focus();
|
||||
} else { msg.textContent = 'Accès bloqué, réessayez dans ' + reste + ' s'; setTimeout(tic, 500); }
|
||||
})();
|
||||
}
|
||||
|
||||
$('verrou-form').addEventListener('submit', function (e) {
|
||||
e.preventDefault();
|
||||
if (Date.now() < finAttente) return;
|
||||
var champ = $('verrou-mdp');
|
||||
if (empreinte(champ.value) === ATTENDUE) {
|
||||
essais = 0; effacer(ESSAIS); effacer(ATTENTE); ecrire(CLE, 'true');
|
||||
$('verrou').classList.add('sort');
|
||||
setTimeout(function () { $('verrou').classList.remove('sort'); champ.value = ''; afficher(true); }, 400);
|
||||
return;
|
||||
}
|
||||
essais++; ecrire(ESSAIS, String(essais));
|
||||
$('verrou-erreur').hidden = false; champ.value = ''; champ.focus();
|
||||
$('verrou-essais').hidden = false;
|
||||
$('verrou-essais').firstElementChild.style.width = Math.min(essais / MAX_ESSAIS * 100, 100) + '%';
|
||||
if (essais >= MAX_ESSAIS) {
|
||||
finAttente = Date.now() + DUREE_ATTENTE; ecrire(ATTENTE, String(finAttente));
|
||||
essais = 0; ecrire(ESSAIS, '0');
|
||||
compteARebours();
|
||||
}
|
||||
});
|
||||
|
||||
$('deconnexion').addEventListener('click', function () { effacer(CLE); afficher(false); });
|
||||
|
||||
afficher(lire(CLE) === 'true');
|
||||
if (lire(CLE) !== 'true' && finAttente > Date.now()) compteARebours();
|
||||
})();
|
||||