Interfaccia, parte 2: Attività, Impostazioni, collegamento, Importa, doppioni, primo avvio ed errori di configurazione
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
90 files changed
+7825
-49
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// The first start (spec §10.3): not connected and an empty library. The demo always has a library, so the screen is
|
||||
// drawn here into the page body, as the library draws it when it finds nothing, with the header count of an empty one.
|
||||
const { welcome } = await import('/js/pages/welcome.js');
|
||||
const { t } = await import('/js/core/text.js');
|
||||
const body = document.querySelector('.corpo');
|
||||
body.replaceChildren(welcome());
|
||||
document.querySelector('.strumenti')?.setAttribute('hidden', '');
|
||||
const count = document.querySelector('.testa .quanti');
|
||||
if (count) count.textContent = t('libreria.quanti', { elementi: t('comune.elementi', { n: 0 }), account: t('comune.account', { n: 0 }) });
|
||||
await new Promise((r) => setTimeout(r, 300));
|
||||
return [document.querySelectorAll('.benvenuto .btn').length, count?.textContent];
|
||||
Reference in new issue
Block a user