Files
Febe/src/Febe.Web/wwwroot/js/pages/settings-about.js
T
Alby96andClaude Opus 5.5 e4dbc5ad68 Unione di funzione/decoder-hevc in funzione/senza-terzi (catena della 0.3.0)
Porta in senza-terzi tutta la catena: documenti ed esportazione, S4b,
codec delle immagini, H.264 e HEVC. Conflitti risolti tenendo le due parti:
CI e Dockerfile di senza-terzi (solo comandi, Febe processo 1, un carattere)
senza ffmpeg, che il ramo dei video ha tolto; categoria «da fare» di
riepilogo-prove.sh tenuta; decisioni.md con tutte le righe, prima quelle
della catena e poi quelle di C6; CLAUDE.md con le righe della CI di C6
senza ffmpeg; prove della pipeline con tutti e due i controlli.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 11:57:34 +01:00

35 lines
2.2 KiB
JavaScript

// Impostazioni, Informazioni: version and shell, where the guide is (the wiki of the repository), the folders, the
// statement on the risk for the account (spec §1, §15 «che cosa la guida deve dire»), the licenses of what Febe
// carries inside (SQLite, .NET, WebView2) and a line saying that font, icons and images (codecs, thumbnails, drawing)
// are Febe's own code, not third-party.
import { api } from '../core/api.js';
import { h, icon, fill, brand } from '../core/dom.js';
import { t } from '../core/text.js';
import { heading } from './settings.js';
export default async function about(page, box) {
const data = await api('/api/about', { signal: page.signal });
const components = t('impostazioni.informazioni.componenti');
fill(box,
h('div.sezione.informazioni',
h('div.marchio-grande', brand(), h('div', h('b', t('app.nome')), h('span.muto', `${t('impostazioni.informazioni.versione')} ${data.version} · ${t(`impostazioni.informazioni.vesti.${data.edition}`)}`)))),
h('div.sezione',
heading(t('impostazioni.informazioni.guida'), t('impostazioni.informazioni.guidaTesto')),
h('a.btn', { href: data.guide, target: '_blank', rel: 'noopener noreferrer' }, icon('external-link', 's'), t('impostazioni.informazioni.apriGuida'))),
h('div.sezione',
heading(t('impostazioni.informazioni.cartelle')),
h('dl.dati-db',
h('dt', t('impostazioni.informazioni.cartellaLibreria')), h('dd.dati', data.libraryFolder),
h('dt', t('impostazioni.informazioni.cartellaDati')), h('dd.dati', data.dataFolder))),
h('div.sezione',
heading(t('impostazioni.informazioni.rischioTitolo')),
h('div.avviso.ambra', icon('triangle-alert', 's'), h('span', t('impostazioni.informazioni.rischio')))),
h('div.sezione',
heading(t('impostazioni.informazioni.licenze'), t('impostazioni.informazioni.licenzeAiuto')),
h('ul.licenze', (Array.isArray(components) ? components : []).map((c) => h('li',
h('b', c.nome), h('span.muto', ` — ${c.testo}`),
c.file ? h('a', { href: c.file, target: '_blank', rel: 'noopener' }, t('impostazioni.informazioni.leggiLicenza')) : null))),
h('p.muto', t('impostazioni.informazioni.fattoInCasa'))));
}