diff --git a/cmdb b/cmdb index 63caa76..572e881 160000 --- a/cmdb +++ b/cmdb @@ -1 +1 @@ -Subproject commit 63caa769a0646db22b4a8381742a456739f95ddb +Subproject commit 572e88120e4a6060456b06cae0ecd3f3c9c67393 diff --git a/password-generator/password_generator.html b/password-generator/password_generator.html index aee520e..9d11c55 100644 --- a/password-generator/password_generator.html +++ b/password-generator/password_generator.html @@ -73,6 +73,7 @@ .psw-txt b{display:block;font-size:13px;color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .psw-txt small{display:block;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:7px;padding-top:14px;border-top:1px solid var(--border)} + .db-status{font-size:11px;color:var(--muted);padding:4px 8px;word-break:break-word;line-height:1.5} /* ---------- main ---------- */ main{flex:1;padding:30px 36px;max-width:1100px;min-width:0} @@ -243,6 +244,7 @@
PréférencesRéglages du générateur
+
chargement…
@@ -766,6 +768,10 @@ function applyAdFromMap(map){ }else AD_CFG = null; } function renderAdStatus(){ + const status = document.getElementById('dbStatus'); + if(status) status.textContent = !SERVER_MODE + ? '● Base locale (localStorage)' + : pushing ? '⇅ Enregistrement…' : '● Base partagée (v' + dbVersion + ')'; const hint = document.getElementById('adHint'); if(hint) hint.textContent = AD_CFG ? '' : 'Recherche AD indisponible : configurez l’AD dans Préférences CMDB (base partagée).'; @@ -1076,14 +1082,14 @@ function renderEmailHtml(src, ctx){ const color = m[1] || '#5b9cf5', buf = []; for(i++; i < lines.length && !/^:::\s*$/.test(lines[i]); i++) buf.push(lines[i]); i++; - html += '
' + inline(buf.join('
')) + '
'; + html += '
' + inline(buf.join('
')) + '
'; continue; } if(/^```/.test(line)){ const buf = []; for(i++; i < lines.length && !/^```/.test(lines[i]); i++) buf.push(lines[i]); i++; - html += '
' + buf.join('\n') + '
'; + html += '
' + buf.join('\n') + '
'; continue; } if(m = line.match(/^!\[([^\]]*)\]\(([^)]+)\)\s*$/)){