diff --git a/public/assets-bi.html b/public/assets-bi.html index 507bb15..9d1350b 100644 --- a/public/assets-bi.html +++ b/public/assets-bi.html @@ -565,7 +565,7 @@ let body = `

Metodologia di scoring rilevanza NIS2 (requisito GV.OC-04). Soglia rilevanza: ≥${grid.threshold} punti. - Il punteggio aggiorna automaticamente anche la criticita dell'asset.

`; + Il punteggio aggiorna automaticamente anche la criticita del bene.

`; for (const [key, def] of Object.entries(grid.grid)) { const sel = prev && prev[key] ? prev[key].value : ''; @@ -634,7 +634,7 @@ try { const result = await api.getAsset(id); if (!result.success || !result.data) { - showNotification('Asset non trovato.', 'error'); + showNotification('Bene non trovato.', 'error'); return; } @@ -719,17 +719,17 @@ ` }); } catch (e) { - showNotification('Errore nel caricamento dell\'asset.', 'error'); + showNotification('Errore nel caricamento del bene.', 'error'); } } // ── Create Asset Modal ────────────────────────────────── function showCreateAssetModal() { - showAssetModal('Nuovo Asset', {}, async function(data) { + showAssetModal('Nuovo bene', {}, async function(data) { try { const result = await api.createAsset(data); if (result.success) { - showNotification('Asset registrato con successo!', 'success'); + showNotification('Bene registrato con successo!', 'success'); closeModal(); loadAssets(); } else { @@ -746,15 +746,15 @@ try { const result = await api.getAsset(id); if (!result.success || !result.data) { - showNotification('Asset non trovato.', 'error'); + showNotification('Bene non trovato.', 'error'); return; } - showAssetModal('Modifica Asset', result.data, async function(data) { + showAssetModal('Modifica bene', result.data, async function(data) { try { const res = await api.updateAsset(id, data); if (res.success) { - showNotification('Asset aggiornato con successo!', 'success'); + showNotification('Bene aggiornato con successo!', 'success'); closeModal(); loadAssets(); } else { @@ -910,7 +910,7 @@ function openImportModal(){ Core ERP,software,critical,financial,false,8,true Web Portal,service,high,personal,true,3,true">
`; - showModal('Importa Asset', body, { + showModal('Importa beni', body, { size:'lg', footer:` ` diff --git a/public/assets.html b/public/assets.html index 507bb15..9d1350b 100644 --- a/public/assets.html +++ b/public/assets.html @@ -565,7 +565,7 @@ let body = `

Metodologia di scoring rilevanza NIS2 (requisito GV.OC-04). Soglia rilevanza: ≥${grid.threshold} punti. - Il punteggio aggiorna automaticamente anche la criticita dell'asset.

`; + Il punteggio aggiorna automaticamente anche la criticita del bene.

`; for (const [key, def] of Object.entries(grid.grid)) { const sel = prev && prev[key] ? prev[key].value : ''; @@ -634,7 +634,7 @@ try { const result = await api.getAsset(id); if (!result.success || !result.data) { - showNotification('Asset non trovato.', 'error'); + showNotification('Bene non trovato.', 'error'); return; } @@ -719,17 +719,17 @@ ` }); } catch (e) { - showNotification('Errore nel caricamento dell\'asset.', 'error'); + showNotification('Errore nel caricamento del bene.', 'error'); } } // ── Create Asset Modal ────────────────────────────────── function showCreateAssetModal() { - showAssetModal('Nuovo Asset', {}, async function(data) { + showAssetModal('Nuovo bene', {}, async function(data) { try { const result = await api.createAsset(data); if (result.success) { - showNotification('Asset registrato con successo!', 'success'); + showNotification('Bene registrato con successo!', 'success'); closeModal(); loadAssets(); } else { @@ -746,15 +746,15 @@ try { const result = await api.getAsset(id); if (!result.success || !result.data) { - showNotification('Asset non trovato.', 'error'); + showNotification('Bene non trovato.', 'error'); return; } - showAssetModal('Modifica Asset', result.data, async function(data) { + showAssetModal('Modifica bene', result.data, async function(data) { try { const res = await api.updateAsset(id, data); if (res.success) { - showNotification('Asset aggiornato con successo!', 'success'); + showNotification('Bene aggiornato con successo!', 'success'); closeModal(); loadAssets(); } else { @@ -910,7 +910,7 @@ function openImportModal(){ Core ERP,software,critical,financial,false,8,true Web Portal,service,high,personal,true,3,true">
`; - showModal('Importa Asset', body, { + showModal('Importa beni', body, { size:'lg', footer:` `