i18n (en/de), simple-ansicht, settings-politur, projekt-löschen
- Sprachsystem: public/i18n.js + public/lang.js (en Default, de), Sprach-Dropdown in Einstellungen → Allgemein; komplette UI zweisprachig (HTML + app.js), Datum/Zahlen locale-abhängig. Server-Fehlermeldungen bleiben deutsch. - Einfache Ansicht: Scroll-Fix, Layout-Umschalter (Kacheln/Kompakt/Liste), Sortierung, Backup-fällig-Pille. - Credits: © Michael Media + Discord (Einstellungen → Über, README). - Settings poliert: Icon-Chip-Überschriften + dezente Unterabschnitte, kompaktere Abstände, General sinnvoll geordnet. - Projekt löschen: Button in Aktionen (Danger Zone) + Endpoint POST /api/projects/:name/delete mit Guards (nur echter Unterordner, nie _Tools/Root, blockiert bei Scan/Backup), doppelte Bestätigung. Backup bleibt unberührt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
10
README.md
10
README.md
@@ -43,6 +43,11 @@ Oben rechts schaltest du zwischen zwei Ansichten um (gilt für diesen PC, bleibt
|
|||||||
Release-ZIP, Generator und mehr.
|
Release-ZIP, Generator und mehr.
|
||||||
|
|
||||||
### Überblick
|
### Überblick
|
||||||
|
- **Beim Start** zeigt ein Ladebalken in der Mitte, wie weit das Einlesen ist (Schritt 1: Projekte mit Git,
|
||||||
|
Technik, Größen · Schritt 2: letzte Änderungen), mit Anzahl und geschätzter Restzeit. „Schon mal loslegen“
|
||||||
|
blendet ihn aus, das Einlesen läuft dann im Hintergrund weiter.
|
||||||
|
- Die **Kopfzeile** passt sich der Fensterbreite an: wird es eng, verschwinden zuerst die Beschriftungen, dann
|
||||||
|
Nebensächliches – nichts ragt mehr aus dem Fenster.
|
||||||
- **Board** mit Spalten *Idee · Aktiv · Pausiert · Fertig · Archiviert* – Karten per Drag & Drop verschieben.
|
- **Board** mit Spalten *Idee · Aktiv · Pausiert · Fertig · Archiviert* – Karten per Drag & Drop verschieben.
|
||||||
Umschalter *Karten | Liste* für eine kompakte Zeilen-Ansicht.
|
Umschalter *Karten | Liste* für eine kompakte Zeilen-Ansicht.
|
||||||
- **Galerie** mit Vorschaubildern (das App-Icon oder ein Bild aus dem Projekt wird automatisch gefunden).
|
- **Galerie** mit Vorschaubildern (das App-Icon oder ein Bild aus dem Projekt wird automatisch gefunden).
|
||||||
@@ -96,6 +101,7 @@ Einstellungen → Allgemein → **Fenster**: „Beim Schließen im Hintergrund w
|
|||||||
### Mehrere Projektordner
|
### Mehrere Projektordner
|
||||||
Oben links neben dem Logo ist ein Auswahlmenü:
|
Oben links neben dem Logo ist ein Auswahlmenü:
|
||||||
- **Klick auf einen Namen** zeigt nur diesen Ordner, **Häkchen** zeigen mehrere gleichzeitig.
|
- **Klick auf einen Namen** zeigt nur diesen Ordner, **Häkchen** zeigen mehrere gleichzeitig.
|
||||||
|
- **Keinen anzeigen (leer)** blendet alle Ordner aus – das Dashboard bleibt leer, bis du wieder einen wählst.
|
||||||
- **Ordner hinzufügen…** bzw. **Mehrere Ordner einlesen…** (übergeordneten Ordner wählen, Unterordner ankreuzen).
|
- **Ordner hinzufügen…** bzw. **Mehrere Ordner einlesen…** (übergeordneten Ordner wählen, Unterordner ankreuzen).
|
||||||
|
|
||||||
Sind mehrere Ordner sichtbar, steht auf jeder Karte, aus welchem sie stammt.
|
Sind mehrere Ordner sichtbar, steht auf jeder Karte, aus welchem sie stammt.
|
||||||
@@ -269,3 +275,7 @@ Direktlinks: `#gallery`, `#list`, `#tasks`, `#activity`, `#storage`, `#board/<Pr
|
|||||||
|
|
||||||
Icons: [Lucide](https://lucide.dev) (ISC-Lizenz). Die Release-exe enthält Node.js (MIT) und Express (MIT),
|
Icons: [Lucide](https://lucide.dev) (ISC-Lizenz). Die Release-exe enthält Node.js (MIT) und Express (MIT),
|
||||||
siehe `THIRD-PARTY.txt` im entpackten Programmordner.
|
siehe `THIRD-PARTY.txt` im entpackten Programmordner.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
© 2026 Michael Media · Discord: https://discord.gg/Ej4JPmCZva
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ function load() {
|
|||||||
current = withActive({
|
current = withActive({
|
||||||
roots,
|
roots,
|
||||||
activeRoots: Array.isArray(saved?.activeRoots) ? saved.activeRoots : [saved?.activeRoot],
|
activeRoots: Array.isArray(saved?.activeRoots) ? saved.activeRoots : [saved?.activeRoot],
|
||||||
|
noneShown: saved?.noneShown === true,
|
||||||
itchProfile: typeof saved?.itchProfile === 'string' ? saved.itchProfile : d.itchProfile,
|
itchProfile: typeof saved?.itchProfile === 'string' ? saved.itchProfile : d.itchProfile,
|
||||||
features: featuresFrom(saved?.features, typeof saved?.itchProfile === 'string' ? saved.itchProfile : d.itchProfile),
|
features: featuresFrom(saved?.features, typeof saved?.itchProfile === 'string' ? saved.itchProfile : d.itchProfile),
|
||||||
backup,
|
backup,
|
||||||
@@ -140,7 +141,9 @@ function load() {
|
|||||||
function withActive(s) {
|
function withActive(s) {
|
||||||
const want = new Set((s.activeRoots ?? [s.activeRoot]).filter(Boolean))
|
const want = new Set((s.activeRoots ?? [s.activeRoot]).filter(Boolean))
|
||||||
let active = s.roots.filter((r) => want.has(r.id))
|
let active = s.roots.filter((r) => want.has(r.id))
|
||||||
if (!active.length && s.roots[0]) active = [s.roots[0]]
|
// noneShown: deliberately no folder shown (empty dashboard); else at least the first
|
||||||
|
if (s.noneShown) active = []
|
||||||
|
else if (!active.length && s.roots[0]) active = [s.roots[0]]
|
||||||
const { activeRoot: _, ...rest } = s
|
const { activeRoot: _, ...rest } = s
|
||||||
return { ...rest, activeRoots: active.map((r) => r.id), activeRoot: active[0]?.id ?? '', projectsRoot: active[0]?.path ?? '' }
|
return { ...rest, activeRoots: active.map((r) => r.id), activeRoot: active[0]?.id ?? '', projectsRoot: active[0]?.path ?? '' }
|
||||||
}
|
}
|
||||||
@@ -224,8 +227,10 @@ function save(input) {
|
|||||||
activeRoots = [roots[i].id]
|
activeRoots = [roots[i].id]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const sel = withActive({ roots, activeRoots })
|
// "no folder shown" stays until a folder is chosen again
|
||||||
const projectsRoot = sel.projectsRoot
|
const noneShown = !!s.noneShown && !(Array.isArray(input.activeRoots) && input.activeRoots.length)
|
||||||
|
const sel = withActive({ roots, activeRoots, noneShown })
|
||||||
|
const projectsRoot = sel.projectsRoot || (noneShown ? roots[0]?.path : '')
|
||||||
if (!projectsRoot || !isDir(projectsRoot)) throw new Error('Der Projektordner existiert nicht.')
|
if (!projectsRoot || !isDir(projectsRoot)) throw new Error('Der Projektordner existiert nicht.')
|
||||||
let targets = s.backup.targets
|
let targets = s.backup.targets
|
||||||
if (Array.isArray(input.targets)) {
|
if (Array.isArray(input.targets)) {
|
||||||
@@ -265,6 +270,7 @@ function save(input) {
|
|||||||
const next = withActive({
|
const next = withActive({
|
||||||
roots,
|
roots,
|
||||||
activeRoots: sel.activeRoots,
|
activeRoots: sel.activeRoots,
|
||||||
|
noneShown,
|
||||||
itchProfile,
|
itchProfile,
|
||||||
features: { ...(s.features ?? featuresFrom(null, itchProfile)), ...(typeof input.features?.itch === 'boolean' ? { itch: input.features.itch } : {}) },
|
features: { ...(s.features ?? featuresFrom(null, itchProfile)), ...(typeof input.features?.itch === 'boolean' ? { itch: input.features.itch } : {}) },
|
||||||
backup: {
|
backup: {
|
||||||
@@ -292,10 +298,16 @@ function setActive(ids) {
|
|||||||
const s = get()
|
const s = get()
|
||||||
const list = (Array.isArray(ids) ? ids : [ids]).map(String)
|
const list = (Array.isArray(ids) ? ids : [ids]).map(String)
|
||||||
const sel = s.roots.filter((x) => list.includes(x.id))
|
const sel = s.roots.filter((x) => list.includes(x.id))
|
||||||
|
// [] = show no folder at all (empty dashboard, chosen in the dropdown)
|
||||||
|
if (!list.filter(Boolean).length) {
|
||||||
|
current = withActive({ ...s, activeRoots: [], noneShown: true })
|
||||||
|
persist(current)
|
||||||
|
return current
|
||||||
|
}
|
||||||
if (!sel.length) throw new Error('Projektordner nicht gefunden.')
|
if (!sel.length) throw new Error('Projektordner nicht gefunden.')
|
||||||
const gone = sel.find((r) => !isDir(r.path))
|
const gone = sel.find((r) => !isDir(r.path))
|
||||||
if (gone) throw new Error(`Projektordner nicht erreichbar: ${gone.path}`)
|
if (gone) throw new Error(`Projektordner nicht erreichbar: ${gone.path}`)
|
||||||
current = withActive({ ...s, activeRoots: sel.map((r) => r.id) })
|
current = withActive({ ...s, activeRoots: sel.map((r) => r.id), noneShown: false })
|
||||||
persist(current)
|
persist(current)
|
||||||
return current
|
return current
|
||||||
}
|
}
|
||||||
|
|||||||
1027
public/app.js
1027
public/app.js
File diff suppressed because it is too large
Load Diff
55
public/i18n.js
Normal file
55
public/i18n.js
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/* Dashboard i18n. Dictionaries live in lang.js (window.LANG = { en: {...}, de: {...} }).
|
||||||
|
Loaded before app.js, so app.js can use the global t(). Default language: English.
|
||||||
|
|
||||||
|
t(key, vars) -> translated string; {name} placeholders filled from vars
|
||||||
|
I18N.apply(root) fills [data-i18n] (text), [data-i18n-html], [data-i18n-title], [data-i18n-placeholder]
|
||||||
|
I18N.set(code) switch language, remember it, re-apply, notify listeners
|
||||||
|
I18N.get() current language code
|
||||||
|
I18N.langs { code: 'Native name' } for the picker
|
||||||
|
I18N.locale() matching BCP-47 locale for Date/number formatting
|
||||||
|
I18N.onChange(fn) run fn(code) after every switch (used to re-render dynamic parts)
|
||||||
|
|
||||||
|
Add a language: add its dictionary in lang.js and a row in LANGS below. */
|
||||||
|
(function () {
|
||||||
|
'use strict';
|
||||||
|
const LANGS = { en: 'English', de: 'Deutsch' };
|
||||||
|
const LOCALE = { en: 'en-US', de: 'de-DE' };
|
||||||
|
const DEFAULT = 'en';
|
||||||
|
const dict = () => (typeof window !== 'undefined' && window.LANG) || {};
|
||||||
|
const saved = (() => { try { return localStorage.getItem('dash.lang'); } catch { return null; } })();
|
||||||
|
let lang = saved && dict()[saved] ? saved : DEFAULT;
|
||||||
|
const listeners = [];
|
||||||
|
|
||||||
|
function t(key, vars) {
|
||||||
|
let s = dict()[lang]?.[key] ?? dict()[DEFAULT]?.[key] ?? key;
|
||||||
|
if (vars) for (const [k, v] of Object.entries(vars)) s = s.split('{' + k + '}').join(String(v));
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
function apply(root) {
|
||||||
|
root = root || document;
|
||||||
|
for (const el of root.querySelectorAll('[data-i18n]')) el.textContent = t(el.dataset.i18n);
|
||||||
|
for (const el of root.querySelectorAll('[data-i18n-html]')) el.innerHTML = t(el.dataset.i18nHtml);
|
||||||
|
for (const el of root.querySelectorAll('[data-i18n-title]')) el.title = t(el.dataset.i18nTitle);
|
||||||
|
for (const el of root.querySelectorAll('[data-i18n-placeholder]')) el.placeholder = t(el.dataset.i18nPlaceholder);
|
||||||
|
document.documentElement.lang = lang;
|
||||||
|
}
|
||||||
|
function set(code) {
|
||||||
|
if (!dict()[code] || code === lang) return;
|
||||||
|
lang = code;
|
||||||
|
try { localStorage.setItem('dash.lang', code); } catch {}
|
||||||
|
apply();
|
||||||
|
for (const fn of listeners) { try { fn(code); } catch (e) { console.error(e); } }
|
||||||
|
}
|
||||||
|
|
||||||
|
window.I18N = {
|
||||||
|
t, apply, set,
|
||||||
|
get: () => lang,
|
||||||
|
langs: LANGS,
|
||||||
|
locale: () => LOCALE[lang] || 'en-US',
|
||||||
|
onChange: (fn) => listeners.push(fn),
|
||||||
|
};
|
||||||
|
window.t = t;
|
||||||
|
|
||||||
|
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', () => apply());
|
||||||
|
else apply();
|
||||||
|
})();
|
||||||
@@ -85,7 +85,6 @@
|
|||||||
#search { padding: 8px 12px 8px 32px; border: 1px solid var(--border); border-radius: 9px; font-size: 13px; width: 240px; background: var(--surface); outline: none; }
|
#search { padding: 8px 12px 8px 32px; border: 1px solid var(--border); border-radius: 9px; font-size: 13px; width: 240px; background: var(--surface); outline: none; }
|
||||||
#search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
#search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||||||
.seg.theme button { padding: 6px 10px; }
|
.seg.theme button { padding: 6px 10px; }
|
||||||
@media (max-width: 1600px) { .seg.theme button span { display: none; } }
|
|
||||||
.iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
|
.iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
|
||||||
.iconbtn:hover { color: var(--text); border-color: var(--border-strong); }
|
.iconbtn:hover { color: var(--text); border-color: var(--border-strong); }
|
||||||
|
|
||||||
@@ -251,6 +250,8 @@
|
|||||||
.card-sec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
|
.card-sec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 14px; }
|
||||||
.card-sec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
.card-sec h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
||||||
.card-sec h4 .i { color: var(--accent); }
|
.card-sec h4 .i { color: var(--accent); }
|
||||||
|
.dangerzone { border-color: var(--red); background: var(--red-soft); }
|
||||||
|
.dangerzone .hint { color: var(--red); opacity: .95; }
|
||||||
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 13px; }
|
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 13px; }
|
||||||
.kv > div:nth-child(odd) { color: var(--muted); }
|
.kv > div:nth-child(odd) { color: var(--muted); }
|
||||||
.kv > div { word-break: break-word; }
|
.kv > div { word-break: break-word; }
|
||||||
@@ -284,6 +285,10 @@
|
|||||||
.toolbar { padding: 10px 22px 0; }
|
.toolbar { padding: 10px 22px 0; }
|
||||||
main { flex: 1 1 auto; min-height: 0; padding: 10px 22px 14px; overflow: hidden; container-type: inline-size; container-name: main; }
|
main { flex: 1 1 auto; min-height: 0; padding: 10px 22px 14px; overflow: hidden; container-type: inline-size; container-name: main; }
|
||||||
.view.active { height: 100%; }
|
.view.active { height: 100%; }
|
||||||
|
/* simple/home page: fixed bar on top, only the grid scrolls */
|
||||||
|
#home.active { display: flex; flex-direction: column; }
|
||||||
|
#home .homebar { flex: 0 0 auto; }
|
||||||
|
#home #homeGrid { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
|
||||||
/* activity page */
|
/* activity page */
|
||||||
#activity.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
|
#activity.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
|
||||||
.heatscroll { overflow-x: auto; padding-bottom: 4px; }
|
.heatscroll { overflow-x: auto; padding-bottom: 4px; }
|
||||||
@@ -583,7 +588,28 @@
|
|||||||
.hpill:hover { color: var(--text); border-color: var(--accent); }
|
.hpill:hover { color: var(--text); border-color: var(--accent); }
|
||||||
.hpill.active { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; font-weight: 600; }
|
.hpill.active { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; font-weight: 600; }
|
||||||
.hpill .n { font-size: 11px; opacity: .75; font-variant-numeric: tabular-nums; }
|
.hpill .n { font-size: 11px; opacity: .75; font-variant-numeric: tabular-nums; }
|
||||||
|
.hpill.due { color: var(--yellow, #f59e0b); }
|
||||||
|
.hpill.due.active { background: color-mix(in srgb, var(--yellow, #f59e0b) 18%, transparent); color: var(--yellow, #f59e0b); }
|
||||||
|
.homebar .hctl { margin-left: auto; display: flex; gap: 8px; align-items: center; }
|
||||||
|
.homebar .hctl select { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
|
||||||
|
.hseg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
|
||||||
|
.hseg button { font: inherit; border: 0; background: var(--surface); color: var(--muted); cursor: pointer; padding: 6px 10px; display: inline-flex; align-items: center; }
|
||||||
|
.hseg button:hover { color: var(--text); }
|
||||||
|
.hseg button.active { background: var(--accent-soft); color: var(--accent-text); }
|
||||||
|
.hseg button + button { border-left: 1px solid var(--border); }
|
||||||
#homeGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
|
#homeGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
|
||||||
|
#homeGrid.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
|
||||||
|
#homeGrid.compact .htile { padding: 12px; gap: 7px; }
|
||||||
|
#homeGrid.compact .htile .hicon { width: 40px; height: 40px; flex-basis: 40px; font-size: 15px; }
|
||||||
|
#homeGrid.compact .htile .hdesc { -webkit-line-clamp: 1; min-height: 0; }
|
||||||
|
#homeGrid.list { grid-template-columns: 1fr; gap: 8px; }
|
||||||
|
#homeGrid.list .htile { flex-direction: row; align-items: center; padding: 10px 16px; gap: 16px; }
|
||||||
|
#homeGrid.list .htile .hhead { flex: 1 1 40%; min-width: 0; }
|
||||||
|
#homeGrid.list .htile .hicon { width: 38px; height: 38px; flex-basis: 38px; font-size: 14px; border-radius: 10px; }
|
||||||
|
#homeGrid.list .htile .hdesc { flex: 2 1 0; min-height: 0; margin: 0; -webkit-line-clamp: 2; }
|
||||||
|
#homeGrid.list .htile .hfoot { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
|
||||||
|
#homeGrid.list .hgroup { padding: 2px 0; }
|
||||||
|
@container main (max-width: 680px) { #homeGrid.list .htile .hdesc { display: none; } }
|
||||||
.htile { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; min-width: 0; }
|
.htile { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s, box-shadow .12s; min-width: 0; }
|
||||||
.htile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
|
.htile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
|
||||||
.htile .hhead { display: flex; gap: 12px; align-items: center; min-width: 0; }
|
.htile .hhead { display: flex; gap: 12px; align-items: center; min-width: 0; }
|
||||||
@@ -598,7 +624,10 @@
|
|||||||
.htile .hfoot .when { font-size: 12px; color: var(--muted); }
|
.htile .hfoot .when { font-size: 12px; color: var(--muted); }
|
||||||
.htile .hfoot .qsg { margin-left: auto; }
|
.htile .hfoot .qsg { margin-left: auto; }
|
||||||
.htile .hdue { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow, #f59e0b); flex: 0 0 8px; }
|
.htile .hdue { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow, #f59e0b); flex: 0 0 8px; }
|
||||||
.featrow { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); cursor: pointer; }
|
.appwin { display: flex; flex-direction: column; gap: 10px; }
|
||||||
|
.featrow { display: flex !important; gap: 9px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); cursor: pointer; transition: border-color .12s, background .12s; }
|
||||||
|
.featrow:hover { border-color: var(--border-strong); }
|
||||||
|
.featrow:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
|
||||||
.featrow input { margin-top: 3px; }
|
.featrow input { margin-top: 3px; }
|
||||||
.featrow b { display: inline-flex; gap: 5px; align-items: center; }
|
.featrow b { display: inline-flex; gap: 5px; align-items: center; }
|
||||||
/* favorites */
|
/* favorites */
|
||||||
@@ -615,6 +644,33 @@
|
|||||||
.htile:hover .favbtn.ontile, .favbtn.ontile.on { opacity: 1; }
|
.htile:hover .favbtn.ontile, .favbtn.ontile.on { opacity: 1; }
|
||||||
.hgroup { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
|
.hgroup { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
|
||||||
.hgroup:first-child { margin-top: 0; }
|
.hgroup:first-child { margin-top: 0; }
|
||||||
|
.nonebox { display: flex; gap: 16px; align-items: center; margin: 12vh auto 0; max-width: 560px; padding: 22px 24px; border: 1px dashed var(--border); border-radius: 16px; background: var(--surface); color: var(--text); }
|
||||||
|
.nonebox[hidden] { display: none; }
|
||||||
|
.nonebox > .i { color: var(--muted); flex: 0 0 auto; }
|
||||||
|
.nonebox .btn { margin-left: auto; flex: 0 0 auto; }
|
||||||
|
body:has(#noneBox:not([hidden])) main > .view { display: none !important; }
|
||||||
|
/* start screen with progress */
|
||||||
|
.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); transition: opacity .25s; }
|
||||||
|
.boot[hidden] { display: none; }
|
||||||
|
.boot.done { opacity: 0; }
|
||||||
|
.bootcard { width: min(440px, calc(100vw - 32px)); padding: 28px 28px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
|
||||||
|
.bootcard .logo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 6px; }
|
||||||
|
.bootstep { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
|
||||||
|
.bootlabel { font-size: 15px; font-weight: 600; }
|
||||||
|
.bootbar { width: 100%; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 8px; }
|
||||||
|
.bootbar > div { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s ease; }
|
||||||
|
.bootmeta { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||||
|
.bootcard .btn { margin-top: 8px; font-size: 12px; }
|
||||||
|
/* header compaction levels (set by fitHeader when it does not fit) */
|
||||||
|
body.hc1 .seg#tabs button .tl { display: none; }
|
||||||
|
body.hc1 .seg#tabs button { padding: 6px 10px; }
|
||||||
|
body.hc1 .seg.theme button span { display: none; }
|
||||||
|
body.hc2 .brand .count, body.hc2 #btnBackup .bsub { display: none; }
|
||||||
|
body.hc2 .searchbox { max-width: 170px; min-width: 90px; }
|
||||||
|
body.hc3 #btnNew > span, body.hc3 #btnBackup > span:not(.bsub) { display: none; }
|
||||||
|
body.hc3 .topbar { gap: 8px; }
|
||||||
|
body.hc4 #themeSeg { display: none; }
|
||||||
|
body.hc4 .brand h1 { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||||
.pdesc { font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
|
.pdesc { font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
|
||||||
.pdesc.muted { color: var(--muted); font-style: italic; }
|
.pdesc.muted { color: var(--muted); font-style: italic; }
|
||||||
.pdesc-edit textarea { width: 100%; min-height: 120px; resize: vertical; font: inherit; font-size: 13px; line-height: 1.5; }
|
.pdesc-edit textarea { width: 100%; min-height: 120px; resize: vertical; font: inherit; font-size: 13px; line-height: 1.5; }
|
||||||
@@ -663,11 +719,20 @@
|
|||||||
.sptabs button.active .tabn { background: var(--accent-soft); color: var(--accent-text); }
|
.sptabs button.active .tabn { background: var(--accent-soft); color: var(--accent-text); }
|
||||||
.sptabs button.has-err { color: var(--red); }
|
.sptabs button.has-err { color: var(--red); }
|
||||||
.sptabs button.has-err::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
|
.sptabs button.has-err::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
|
||||||
#spanel .pbody { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
|
#spanel .pbody { display: flex; flex-direction: column; gap: 15px; padding-top: 14px; }
|
||||||
.spane { display: flex; flex-direction: column; gap: 12px; }
|
.spane { display: flex; flex-direction: column; gap: 11px; }
|
||||||
.spane[hidden] { display: none; }
|
.spane[hidden] { display: none; }
|
||||||
.sphead h4 { margin: 0; font-size: 14px; }
|
.sphead h4 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
|
||||||
.sphead p { margin: 2px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
|
/* accent icon chip makes each section instantly recognizable */
|
||||||
|
.sphead h4 .i { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); box-sizing: border-box; flex: 0 0 auto; }
|
||||||
|
.sphead p { margin: 3px 0 0 30px; font-size: 12px; color: var(--muted); line-height: 1.5; }
|
||||||
|
/* a sub-section inside a pane: hairline divider + a quiet uppercase label (subordinate to the main header) */
|
||||||
|
.sphead.sep { margin-top: 2px; padding-top: 13px; border-top: 1px solid var(--border); }
|
||||||
|
.sphead.sep h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); gap: 7px; }
|
||||||
|
.sphead.sep h4 .i { width: 14px; height: 14px; padding: 0; background: transparent; color: var(--muted); border-radius: 0; }
|
||||||
|
.sphead.sep p { margin-left: 21px; }
|
||||||
|
/* separate stacked field groups (backup pane) with the same hairline */
|
||||||
|
.spane > .spfield + .spfield { margin-top: 1px; padding-top: 13px; border-top: 1px solid var(--border); }
|
||||||
.slist { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
|
.slist { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
|
||||||
.slist:empty { display: none; }
|
.slist:empty { display: none; }
|
||||||
.sitem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 12px; background: var(--surface); }
|
.sitem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 10px 10px 12px; background: var(--surface); }
|
||||||
@@ -698,7 +763,7 @@
|
|||||||
.ibtn:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--muted); }
|
.ibtn:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--muted); }
|
||||||
body.no-picker .ibtn.pickbtn { display: none; }
|
body.no-picker .ibtn.pickbtn { display: none; }
|
||||||
.spfield { display: flex; flex-direction: column; gap: 6px; }
|
.spfield { display: flex; flex-direction: column; gap: 6px; }
|
||||||
.spfield > label { font-size: 12px; font-weight: 600; color: var(--muted); }
|
.spfield > label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
|
||||||
.remindrow { font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
.remindrow { font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||||||
.remindrow input { width: 64px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; outline: none; }
|
.remindrow input { width: 64px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; outline: none; }
|
||||||
.remindrow input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
.remindrow input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||||||
@@ -724,6 +789,10 @@
|
|||||||
.spstatus a { color: inherit; font-weight: 600; }
|
.spstatus a { color: inherit; font-weight: 600; }
|
||||||
#spanel .kv { grid-template-columns: 150px minmax(0, 1fr); }
|
#spanel .kv { grid-template-columns: 150px minmax(0, 1fr); }
|
||||||
#spError { margin: 0 20px 10px; }
|
#spError { margin: 0 20px 10px; }
|
||||||
|
.about { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
|
||||||
|
.about .anm { color: var(--text); font-weight: 600; }
|
||||||
|
.about .ver { font-size: 11px; background: var(--surface-3); color: var(--muted); padding: 1px 7px; border-radius: 9px; }
|
||||||
|
.about a.btn { margin-left: auto; }
|
||||||
#spanel .pfoot { align-items: center; }
|
#spanel .pfoot { align-items: center; }
|
||||||
#spanel .pfoot .btn { flex: 0 0 auto; padding: 8px 14px; }
|
#spanel .pfoot .btn { flex: 0 0 auto; padding: 8px 14px; }
|
||||||
.spdirty { font-size: 12px; color: var(--yellow); display: flex; align-items: center; gap: 6px; visibility: hidden; }
|
.spdirty { font-size: 12px; color: var(--yellow); display: flex; align-items: center; gap: 6px; visibility: hidden; }
|
||||||
@@ -782,42 +851,53 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div class="boot" id="boot" hidden>
|
||||||
|
<div class="bootcard">
|
||||||
|
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
|
||||||
|
<div class="bootstep" id="bootStep" data-i18n="boot.start">Starting …</div>
|
||||||
|
<div class="bootlabel" id="bootLabel" data-i18n="boot.reading">Reading projects</div>
|
||||||
|
<div class="bootbar"><div id="bootBar"></div></div>
|
||||||
|
<div class="bootmeta"><span id="bootCount"></span><span id="bootEta"></span></div>
|
||||||
|
<button class="btn ghost" type="button" id="bootSkip" data-i18n="boot.skip">Get started now</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
|
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
|
||||||
<div class="rootpick">
|
<div class="rootpick">
|
||||||
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" title="Projektordner wechseln">
|
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" data-i18n-title="root.switch" title="Switch project folder">
|
||||||
<h1 id="rootName">Projekte</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
|
<h1 id="rootName" data-i18n="root.projects">Projects</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
|
||||||
</button>
|
</button>
|
||||||
<div class="count" id="count"></div>
|
<div class="count" id="count"></div>
|
||||||
<div class="rootmenu" id="rootMenu" role="listbox" hidden></div>
|
<div class="rootmenu" id="rootMenu" role="listbox" hidden></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="seg" id="tabs">
|
<div class="seg" id="tabs">
|
||||||
<button data-view="home" class="simple-only" title="Alle Projekte als Kacheln"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl">Projekte</span></button>
|
<button data-view="home" class="simple-only" data-i18n-title="tab.home.title" title="All projects as tiles"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl" data-i18n="tab.home">Projects</span></button>
|
||||||
<button data-view="board" class="active adv" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl">Board</span></button>
|
<button data-view="board" class="active adv" data-i18n-title="tab.board.title" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl" data-i18n="tab.board">Board</span></button>
|
||||||
<button data-view="gallery" class="adv" title="Galerie"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl">Galerie</span></button>
|
<button data-view="gallery" class="adv" data-i18n-title="tab.gallery.title" title="Gallery"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl" data-i18n="tab.gallery">Gallery</span></button>
|
||||||
<button data-view="list" class="adv" title="Liste"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl">Liste</span></button>
|
<button data-view="list" class="adv" data-i18n-title="tab.list.title" title="List"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl" data-i18n="tab.list">List</span></button>
|
||||||
<button data-view="tasks" title="Aufgaben"><svg class="i"><use href="/icons.svg#list-checks"/></svg><span class="tl">Aufgaben</span><span class="tabn" id="taskCount"></span></button>
|
<button data-view="tasks" data-i18n-title="tab.tasks.title" title="Tasks"><svg class="i"><use href="/icons.svg#list-checks"/></svg><span class="tl" data-i18n="tab.tasks">Tasks</span><span class="tabn" id="taskCount"></span></button>
|
||||||
<button data-view="activity" title="Woran wurde wann gearbeitet"><svg class="i"><use href="/icons.svg#activity"/></svg><span class="tl">Aktivität</span></button>
|
<button data-view="activity" data-i18n-title="tab.activity.title" title="What was worked on, and when"><svg class="i"><use href="/icons.svg#activity"/></svg><span class="tl" data-i18n="tab.activity">Activity</span></button>
|
||||||
<button data-view="storage" title="Speicherplatz: wer belegt wie viel"><svg class="i"><use href="/icons.svg#hard-drive"/></svg><span class="tl">Speicher</span></button>
|
<button data-view="storage" data-i18n-title="tab.storage.title" title="Storage: who uses how much"><svg class="i"><use href="/icons.svg#hard-drive"/></svg><span class="tl" data-i18n="tab.storage">Storage</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="searchbox">
|
<div class="searchbox">
|
||||||
<svg class="i"><use href="/icons.svg#search"/></svg>
|
<svg class="i"><use href="/icons.svg#search"/></svg>
|
||||||
<input id="search" type="text" placeholder="Projekte, Tags, Notizen…">
|
<input id="search" type="text" data-i18n-placeholder="search.placeholder" placeholder="Projects, tags, notes…">
|
||||||
</div>
|
</div>
|
||||||
<button class="btn" id="btnNew" title="Neues Projekt anlegen oder ein vorhandenes klonen"><svg class="i"><use href="/icons.svg#plus"/></svg><span>Neu</span></button>
|
<button class="btn" id="btnNew" data-i18n-title="btn.new.title" title="Create a new project or clone an existing one"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="btn.new">New</span></button>
|
||||||
<button class="btn" id="btnBackup" title="Alle Projekte auf die MyCloud sichern"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span>Backup</span><span class="bsub" id="backupSub"></span></button>
|
<button class="btn" id="btnBackup" data-i18n-title="btn.backup.title" title="Back up all projects to MyCloud"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="btn.backup">Backup</span><span class="bsub" id="backupSub"></span></button>
|
||||||
<button class="iconbtn" id="btnSettings" title="Einstellungen: Projektordner und Backup-Ziel"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
|
<button class="iconbtn" id="btnSettings" data-i18n-title="btn.settings.title" title="Settings: project folders and backup target"><svg class="i"><use href="/icons.svg#settings"/></svg></button>
|
||||||
<div class="seg theme" id="modeSeg" title="Ansicht: einfach (ruhig, das Wichtigste) oder erweitert (alles)">
|
<div class="seg theme" id="modeSeg" data-i18n-title="mode.title" title="View: simple or advanced">
|
||||||
<button data-ui="simple" title="Einfache Ansicht – nur das Wichtigste"><svg class="i"><use href="/icons.svg#square"/></svg><span>Einfach</span></button>
|
<button data-ui="simple" data-i18n-title="mode.simple.title" title="Simple view – only the essentials"><svg class="i"><use href="/icons.svg#square"/></svg><span data-i18n="mode.simple">Simple</span></button>
|
||||||
<button data-ui="advanced" title="Erweiterte Ansicht – alle Funktionen"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span>Erweitert</span></button>
|
<button data-ui="advanced" data-i18n-title="mode.advanced.title" title="Advanced view – all features"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="mode.advanced">Advanced</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="seg theme" id="themeSeg" title="Darstellung">
|
<div class="seg theme" id="themeSeg" data-i18n-title="theme.title" title="Appearance">
|
||||||
<button data-mode="light" title="Hell"><svg class="i"><use href="/icons.svg#sun"/></svg><span>Hell</span></button>
|
<button data-mode="light" data-i18n-title="theme.light" title="Light"><svg class="i"><use href="/icons.svg#sun"/></svg><span data-i18n="theme.light">Light</span></button>
|
||||||
<button data-mode="system" title="Wie Windows"><svg class="i"><use href="/icons.svg#monitor"/></svg><span>System</span></button>
|
<button data-mode="system" data-i18n-title="theme.system.title" title="Match Windows"><svg class="i"><use href="/icons.svg#monitor"/></svg><span data-i18n="theme.system">System</span></button>
|
||||||
<button data-mode="dark" title="Dunkel"><svg class="i"><use href="/icons.svg#moon"/></svg><span>Dunkel</span></button>
|
<button data-mode="dark" data-i18n-title="theme.dark" title="Dark"><svg class="i"><use href="/icons.svg#moon"/></svg><span data-i18n="theme.dark">Dark</span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="updbanner" id="updBanner" hidden>
|
<div class="updbanner" id="updBanner" hidden>
|
||||||
@@ -832,32 +912,37 @@
|
|||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<div class="chipfilters" id="chipfilters"></div>
|
<div class="chipfilters" id="chipfilters"></div>
|
||||||
<div style="flex:1"></div>
|
<div style="flex:1"></div>
|
||||||
<div class="seg" id="boardMode" title="Darstellung im Board">
|
<div class="seg" id="boardMode" data-i18n-title="board.layout.title" title="Board layout">
|
||||||
<button data-mode="cards" class="active" title="Karten mit Details"><svg class="i sm"><use href="/icons.svg#layout-dashboard"/></svg><span class="bm-l">Karten</span></button>
|
<button data-mode="cards" class="active" data-i18n-title="board.cards.title" title="Cards with details"><svg class="i sm"><use href="/icons.svg#layout-dashboard"/></svg><span class="bm-l" data-i18n="board.cards">Cards</span></button>
|
||||||
<button data-mode="rows" title="Kompakte Liste – eine Zeile pro Projekt"><svg class="i sm"><use href="/icons.svg#rows-3"/></svg><span class="bm-l">Liste</span></button>
|
<button data-mode="rows" data-i18n-title="board.rows.title" title="Compact list – one row per project"><svg class="i sm"><use href="/icons.svg#rows-3"/></svg><span class="bm-l" data-i18n="board.rows">List</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="sel" id="selStatusWrap"><svg class="i sm"><use href="/icons.svg#funnel"/></svg>
|
<div class="sel" id="selStatusWrap"><svg class="i sm"><use href="/icons.svg#funnel"/></svg>
|
||||||
<select id="fltStatus">
|
<select id="fltStatus">
|
||||||
<option value="all">Alle Status</option>
|
<option value="all" data-i18n="flt.status.all">All statuses</option>
|
||||||
<option value="idea">Idee</option>
|
<option value="idea" data-i18n="status.idea">Idea</option>
|
||||||
<option value="active">Aktiv</option>
|
<option value="active" data-i18n="status.active">Active</option>
|
||||||
<option value="paused">Pausiert</option>
|
<option value="paused" data-i18n="status.paused">Paused</option>
|
||||||
<option value="done">Fertig</option>
|
<option value="done" data-i18n="status.done">Done</option>
|
||||||
<option value="archived">Archiviert</option>
|
<option value="archived" data-i18n="status.archived">Archived</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="sel" id="selSortWrap"><svg class="i sm"><use href="/icons.svg#arrow-up-down"/></svg>
|
<div class="sel" id="selSortWrap"><svg class="i sm"><use href="/icons.svg#arrow-up-down"/></svg>
|
||||||
<select id="fltSort">
|
<select id="fltSort">
|
||||||
<option value="mtime">Zuletzt geändert</option>
|
<option value="mtime" data-i18n="flt.sort.mtime">Last changed</option>
|
||||||
<option value="name">Name (A–Z)</option>
|
<option value="name" data-i18n="flt.sort.name">Name (A–Z)</option>
|
||||||
<option value="priority">Priorität</option>
|
<option value="priority" data-i18n="flt.sort.priority">Priority</option>
|
||||||
<option value="size">Größe</option>
|
<option value="size" data-i18n="flt.sort.size">Size</option>
|
||||||
<option value="clean">Aufräumbar</option>
|
<option value="clean" data-i18n="flt.sort.clean">Cleanable</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<div class="nonebox" id="noneBox" hidden>
|
||||||
|
<svg class="i xl"><use href="/icons.svg#folder-open"/></svg>
|
||||||
|
<div><b data-i18n="none.title">No project folder shown</b><br><span class="hint" style="margin:0" data-i18n="none.hint">Choose one or more folders at the top left, next to the logo.</span></div>
|
||||||
|
<button class="btn primary" type="button" id="noneOpen"><svg class="i"><use href="/icons.svg#chevron-down"/></svg><span data-i18n="none.choose">Choose folder</span></button>
|
||||||
|
</div>
|
||||||
<div id="home" class="view">
|
<div id="home" class="view">
|
||||||
<div class="homebar" id="homeBar"></div>
|
<div class="homebar" id="homeBar"></div>
|
||||||
<div id="homeGrid"></div>
|
<div id="homeGrid"></div>
|
||||||
@@ -870,18 +955,18 @@
|
|||||||
<div class="stkpis" id="acKpis"></div>
|
<div class="stkpis" id="acKpis"></div>
|
||||||
<section class="stcard">
|
<section class="stcard">
|
||||||
<div class="sthead">
|
<div class="sthead">
|
||||||
<h4 class="sth">Aktivität im letzten Jahr <span class="hint" style="font-weight:400;margin:0" id="acPending"></span></h4>
|
<h4 class="sth"><span data-i18n="act.year">Activity over the past year</span> <span class="hint" style="font-weight:400;margin:0" id="acPending"></span></h4>
|
||||||
<div class="stlegend" id="acLegend"></div>
|
<div class="stlegend" id="acLegend"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="heatscroll"><div class="heat" id="acHeat" role="grid" aria-label="Aktive Projekte pro Tag"></div></div>
|
<div class="heatscroll"><div class="heat" id="acHeat" role="grid" data-i18n-title="act.perDay" aria-label="Active projects per day"></div></div>
|
||||||
<div class="hint">Ein Tag zählt, wenn an ihm Dateien zuletzt geändert oder Commits gemacht wurden. Dateien zeigen nur ihre <i>letzte</i> Änderung – Commits ergänzen die Geschichte.</div>
|
<div class="hint" data-i18n-html="act.hint">A day counts when files were last changed or commits were made on it. Files show only their <i>last</i> change – commits fill in the history.</div>
|
||||||
<div class="sttip" id="acTip" hidden></div>
|
<div class="sttip" id="acTip" hidden></div>
|
||||||
</section>
|
</section>
|
||||||
<div class="acgrid">
|
<div class="acgrid">
|
||||||
<section class="stcard"><h4 class="sth" id="acDayTitle">Tag</h4><div id="acDay"></div></section>
|
<section class="stcard"><h4 class="sth" id="acDayTitle" data-i18n="act.day">Day</h4><div id="acDay"></div></section>
|
||||||
<section class="stcard"><h4 class="sth">Zuletzt aktiv</h4>
|
<section class="stcard"><h4 class="sth" data-i18n="act.recent">Recently active</h4>
|
||||||
<div class="seg" id="acRange" style="width:max-content;margin-bottom:10px">
|
<div class="seg" id="acRange" style="width:max-content;margin-bottom:10px">
|
||||||
<button data-range="7" class="active">7 Tage</button><button data-range="30">30 Tage</button><button data-range="90">90 Tage</button>
|
<button data-range="7" class="active" data-i18n="act.range7">7 days</button><button data-range="30" data-i18n="act.range30">30 days</button><button data-range="90" data-i18n="act.range90">90 days</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="acTop"></div></section>
|
<div id="acTop"></div></section>
|
||||||
</div>
|
</div>
|
||||||
@@ -893,21 +978,21 @@
|
|||||||
<div class="stgrid">
|
<div class="stgrid">
|
||||||
<section class="stcard stmapcard">
|
<section class="stcard stmapcard">
|
||||||
<div class="sthead">
|
<div class="sthead">
|
||||||
<nav class="stcrumbs" id="stCrumbs" aria-label="Ebene"></nav>
|
<nav class="stcrumbs" id="stCrumbs" data-i18n-title="st.level" aria-label="Level"></nav>
|
||||||
<div class="stlegend" id="stLegend"></div>
|
<div class="stlegend" id="stLegend"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="treemap" id="stTree" role="img" aria-label="Treemap der Projektgrößen"></div>
|
<div class="treemap" id="stTree" role="img" data-i18n-title="st.treemap" aria-label="Treemap of project sizes"></div>
|
||||||
<div class="sttip" id="stTip" hidden></div>
|
<div class="sttip" id="stTip" hidden></div>
|
||||||
</section>
|
</section>
|
||||||
<section class="stcard stside">
|
<section class="stcard stside">
|
||||||
<h4 class="sth">Größte Projekte</h4>
|
<h4 class="sth" data-i18n="st.largest">Largest projects</h4>
|
||||||
<div id="stTop"></div>
|
<div id="stTop"></div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<section class="stcard">
|
<section class="stcard">
|
||||||
<div class="sthead">
|
<div class="sthead">
|
||||||
<h4 class="sth">Größte Speicherfresser <span class="hint" style="font-weight:400;margin:0">– Ordner, die sich neu erzeugen lassen</span></h4>
|
<h4 class="sth"><span data-i18n="st.hogs">Biggest space hogs</span> <span class="hint" style="font-weight:400;margin:0" data-i18n="st.hogs.hint">– folders that can be regenerated</span></h4>
|
||||||
<div class="stdel"><span id="stSel" class="hint" style="margin:0"></span><button class="btn danger" id="stDelete" type="button" disabled><svg class="i"><use href="/icons.svg#trash"/></svg>Ausgewählte löschen</button></div>
|
<div class="stdel"><span id="stSel" class="hint" style="margin:0"></span><button class="btn danger" id="stDelete" type="button" disabled><svg class="i"><use href="/icons.svg#trash"/></svg><span data-i18n="st.deleteSelected">Delete selected</span></button></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tablewrap"><table class="list sttable" id="stHogs"></table></div>
|
<div class="tablewrap"><table class="list sttable" id="stHogs"></table></div>
|
||||||
</section>
|
</section>
|
||||||
@@ -916,14 +1001,14 @@
|
|||||||
<div id="tasks" class="view">
|
<div id="tasks" class="view">
|
||||||
<div class="taskbarTop">
|
<div class="taskbarTop">
|
||||||
<div class="seg" id="taskMode">
|
<div class="seg" id="taskMode">
|
||||||
<button data-mode="open" class="active"><svg class="i sm"><use href="/icons.svg#circle"/></svg>Offen</button>
|
<button data-mode="open" class="active"><svg class="i sm"><use href="/icons.svg#circle"/></svg><span data-i18n="task.open">Open</span></button>
|
||||||
<button data-mode="done"><svg class="i sm"><use href="/icons.svg#circle-check"/></svg>Erledigt</button>
|
<button data-mode="done"><svg class="i sm"><use href="/icons.svg#circle-check"/></svg><span data-i18n="task.done">Done</span></button>
|
||||||
<button data-mode="all"><svg class="i sm"><use href="/icons.svg#list"/></svg>Alle</button>
|
<button data-mode="all"><svg class="i sm"><use href="/icons.svg#list"/></svg><span data-i18n="task.all">All</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="taskadd">
|
<div class="taskadd">
|
||||||
<select id="taskProject" title="Projekt"></select>
|
<select id="taskProject" data-i18n-title="task.project" title="Project"></select>
|
||||||
<input type="text" id="taskNew" placeholder="Neue Aufgabe… (Enter)">
|
<input type="text" id="taskNew" data-i18n-placeholder="task.newEnter" placeholder="New task… (Enter)">
|
||||||
<button class="btn primary" id="taskNewBtn"><svg class="i"><use href="/icons.svg#plus"/></svg>Hinzufügen</button>
|
<button class="btn primary" id="taskNewBtn"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="task.add">Add</span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="taskGroups"></div>
|
<div id="taskGroups"></div>
|
||||||
@@ -938,18 +1023,18 @@
|
|||||||
<h3 style="display:flex;align-items:center;gap:6px"><span id="panelTitle"></span><span id="pFav"></span></h3>
|
<h3 style="display:flex;align-items:center;gap:6px"><span id="panelTitle"></span><span id="pFav"></span></h3>
|
||||||
<div class="sub" id="panelSub"></div>
|
<div class="sub" id="panelSub"></div>
|
||||||
</div>
|
</div>
|
||||||
<button class="iconbtn close" id="btnClose" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
<button class="iconbtn close" id="btnClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="pquick">
|
<div class="pquick">
|
||||||
<button class="btn" id="btnOpenFolder"><svg class="i"><use href="/icons.svg#folder-open"/></svg>Explorer</button>
|
<button class="btn" id="btnOpenFolder"><svg class="i"><use href="/icons.svg#folder-open"/></svg><span data-i18n="panel.explorer">Explorer</span></button>
|
||||||
<button class="btn" id="btnVsCode"><svg class="i"><use href="/icons.svg#code-xml"/></svg>VS Code</button>
|
<button class="btn" id="btnVsCode"><svg class="i"><use href="/icons.svg#code-xml"/></svg><span data-i18n="panel.vscode">VS Code</span></button>
|
||||||
<button class="btn adv" id="btnClone" title="Kopie dieses Projekts als neues Projekt anlegen"><svg class="i"><use href="/icons.svg#copy-plus"/></svg>Klonen</button>
|
<button class="btn adv" id="btnClone" data-i18n-title="panel.clone.title" title="Create a copy of this project as a new project"><svg class="i"><use href="/icons.svg#copy-plus"/></svg><span data-i18n="panel.clone">Clone</span></button>
|
||||||
<button class="btn adv" id="btnMove" title="Projektordner umbenennen oder in einen anderen Projektordner verschieben"><svg class="i"><use href="/icons.svg#folder-pen"/></svg>Umbenennen…</button>
|
<button class="btn adv" id="btnMove" data-i18n-title="panel.rename.title" title="Rename the project folder or move it to another project folder"><svg class="i"><use href="/icons.svg#folder-pen"/></svg><span data-i18n="panel.rename">Rename…</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="seg" id="ptabs">
|
<div class="seg" id="ptabs">
|
||||||
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg>Bearbeiten</button>
|
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg><span data-i18n="panel.edit">Edit</span></button>
|
||||||
<button data-sec="info"><svg class="i"><use href="/icons.svg#info"/></svg>Info</button>
|
<button data-sec="info"><svg class="i"><use href="/icons.svg#info"/></svg><span data-i18n="panel.info">Info</span></button>
|
||||||
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg>Aktionen</button>
|
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg><span data-i18n="panel.actions">Actions</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="pbody">
|
<div class="pbody">
|
||||||
<div id="sec-info" class="psec"></div>
|
<div id="sec-info" class="psec"></div>
|
||||||
@@ -957,50 +1042,50 @@
|
|||||||
<div id="sec-edit" class="psec active field">
|
<div id="sec-edit" class="psec active field">
|
||||||
<div class="grid2">
|
<div class="grid2">
|
||||||
<div>
|
<div>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#flag"/></svg>Status</label>
|
<label><svg class="i sm"><use href="/icons.svg#flag"/></svg><span data-i18n="panel.status">Status</span></label>
|
||||||
<select id="fStatus">
|
<select id="fStatus">
|
||||||
<option value="idea">Idee</option>
|
<option value="idea" data-i18n="status.idea">Idea</option>
|
||||||
<option value="active">Aktiv</option>
|
<option value="active" data-i18n="status.active">Active</option>
|
||||||
<option value="paused">Pausiert</option>
|
<option value="paused" data-i18n="status.paused">Paused</option>
|
||||||
<option value="done">Fertig</option>
|
<option value="done" data-i18n="status.done">Done</option>
|
||||||
<option value="archived">Archiviert</option>
|
<option value="archived" data-i18n="status.archived">Archived</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="adv">
|
<div class="adv">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#signal"/></svg>Priorität</label>
|
<label><svg class="i sm"><use href="/icons.svg#signal"/></svg><span data-i18n="panel.priority">Priority</span></label>
|
||||||
<select id="fPriority">
|
<select id="fPriority">
|
||||||
<option value="low">Niedrig</option>
|
<option value="low" data-i18n="prio.low">Low</option>
|
||||||
<option value="medium">Mittel</option>
|
<option value="medium" data-i18n="prio.medium">Medium</option>
|
||||||
<option value="high">Hoch</option>
|
<option value="high" data-i18n="prio.high">High</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="adv" style="display:contents">
|
<div class="adv" style="display:contents">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#tags"/></svg>Tags (mit Komma getrennt)</label>
|
<label><svg class="i sm"><use href="/icons.svg#tags"/></svg><span data-i18n="panel.tags">Tags (comma-separated)</span></label>
|
||||||
<input type="text" id="fTags" placeholder="spiel, android, tool…">
|
<input type="text" id="fTags" data-i18n-placeholder="panel.tags.ph" placeholder="game, android, tool…">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#image"/></svg>Bild / Icon (Pfad im Projekt, optional)</label>
|
<label><svg class="i sm"><use href="/icons.svg#image"/></svg><span data-i18n="panel.image">Image / icon (path in the project, optional)</span></label>
|
||||||
<input type="text" id="fThumb" placeholder="assets/icon.png">
|
<input type="text" id="fThumb" placeholder="assets/icon.png">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#square-terminal"/></svg>Eigener Start-Befehl (läuft sichtbar in einer Konsole)</label>
|
<label><svg class="i sm"><use href="/icons.svg#square-terminal"/></svg><span data-i18n="panel.start">Custom start command (runs visibly in a console)</span></label>
|
||||||
<input type="text" id="fStart" placeholder="npm run dev">
|
<input type="text" id="fStart" placeholder="npm run dev">
|
||||||
</div>
|
</div>
|
||||||
<div class="feat-itch adv" style="display:contents">
|
<div class="feat-itch adv" style="display:contents">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg>itch.io-Seite (leer = automatisch erkennen, „-“ = nicht veröffentlicht)</label>
|
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg><span data-i18n="panel.itch">itch.io page (empty = detect automatically, "-" = not published)</span></label>
|
||||||
<input type="text" id="fItch" placeholder="https://name.itch.io/spielname">
|
<input type="text" id="fItch" placeholder="https://name.itch.io/spielname">
|
||||||
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
|
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
|
||||||
</div>
|
</div>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg>Notizen</label>
|
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg><span data-i18n="panel.notes">Notes</span></label>
|
||||||
<textarea id="fNotes" placeholder="Was fehlt noch, nächste Schritte…"></textarea>
|
<textarea id="fNotes" data-i18n-placeholder="panel.notes.ph" placeholder="What's still missing, next steps…"></textarea>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#list-checks"/></svg>Aufgaben</label>
|
<label><svg class="i sm"><use href="/icons.svg#list-checks"/></svg><span data-i18n="panel.tasks">Tasks</span></label>
|
||||||
<ul id="taskList"></ul>
|
<ul id="taskList"></ul>
|
||||||
<div id="taskAddRow">
|
<div id="taskAddRow">
|
||||||
<input type="text" id="taskInput" placeholder="Neue Aufgabe…">
|
<input type="text" id="taskInput" data-i18n-placeholder="panel.task.ph" placeholder="New task…">
|
||||||
<button class="btn primary" id="btnAddTask"><svg class="i"><use href="/icons.svg#plus"/></svg></button>
|
<button class="btn primary" id="btnAddTask"><svg class="i"><use href="/icons.svg#plus"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pfoot">
|
<div class="pfoot">
|
||||||
<button class="btn" id="btnCancel">Abbrechen</button>
|
<button class="btn" id="btnCancel" data-i18n="common.cancel">Cancel</button>
|
||||||
<button class="btn primary" id="btnSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</button>
|
<button class="btn primary" id="btnSave"><svg class="i"><use href="/icons.svg#save"/></svg><span data-i18n="common.save">Save</span></button>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
@@ -1011,7 +1096,7 @@
|
|||||||
<h3>Backup</h3>
|
<h3>Backup</h3>
|
||||||
<div class="sub hint" id="bpTarget"></div>
|
<div class="sub hint" id="bpTarget"></div>
|
||||||
</div>
|
</div>
|
||||||
<button class="iconbtn close" id="btnCloseBackup" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
<button class="iconbtn close" id="btnCloseBackup" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="pbody" id="bpBody"></div>
|
<div class="pbody" id="bpBody"></div>
|
||||||
</aside>
|
</aside>
|
||||||
@@ -1020,210 +1105,223 @@
|
|||||||
<div class="phead">
|
<div class="phead">
|
||||||
<div class="avatar lg" style="--c:linear-gradient(135deg,#6366f1,#8b5cf6)"><svg class="i xl"><use href="/icons.svg#settings"/></svg></div>
|
<div class="avatar lg" style="--c:linear-gradient(135deg,#6366f1,#8b5cf6)"><svg class="i xl"><use href="/icons.svg#settings"/></svg></div>
|
||||||
<div style="min-width:0">
|
<div style="min-width:0">
|
||||||
<h3 id="spTitle">Einstellungen</h3>
|
<h3 id="spTitle" data-i18n="set.title">Settings</h3>
|
||||||
<div class="sub hint" id="spSub">Gilt für das ganze Dashboard</div>
|
<div class="sub hint" id="spSub" data-i18n="set.sub">Applies to the whole dashboard</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="iconbtn close" id="btnCloseSettings" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
<button class="iconbtn close" id="btnCloseSettings" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="sptabs"><div class="seg" id="spTabs" role="tablist">
|
<div class="sptabs"><div class="seg" id="spTabs" role="tablist">
|
||||||
<button class="active" data-stab="folders" role="tab"><svg class="i"><use href="/icons.svg#folders"/></svg>Projektordner<span class="tabn" id="spnFolders"></span></button>
|
<button class="active" data-stab="folders" role="tab"><svg class="i"><use href="/icons.svg#folders"/></svg><span data-i18n="set.tab.folders">Project folders</span><span class="tabn" id="spnFolders"></span></button>
|
||||||
<button data-stab="backup" role="tab"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg>Backup<span class="tabn" id="spnTargets"></span></button>
|
<button data-stab="backup" role="tab"><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="set.tab.backup">Backup</span><span class="tabn" id="spnTargets"></span></button>
|
||||||
<button data-stab="itch" role="tab"><svg class="i"><use href="/icons.svg#rocket"/></svg>itch.io</button>
|
<button data-stab="itch" role="tab"><svg class="i"><use href="/icons.svg#rocket"/></svg>itch.io</button>
|
||||||
<button data-stab="general" role="tab"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg>Allgemein</button>
|
<button data-stab="general" role="tab"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="set.tab.general">General</span></button>
|
||||||
</div></div>
|
</div></div>
|
||||||
<div class="pbody">
|
<div class="pbody">
|
||||||
<div id="spWelcome" class="msg info" style="display:none;margin:0">
|
<div id="spWelcome" class="msg info" style="display:none;margin:0">
|
||||||
<svg class="i lg"><use href="/icons.svg#sparkles"/></svg>
|
<svg class="i lg"><use href="/icons.svg#sparkles"/></svg>
|
||||||
<div><b>Willkommen!</b> Wähle den Ordner, in dem alle deine Projekte liegen – jeder Unterordner wird ein Projekt.
|
<div data-i18n-html="set.welcome"><b>Welcome!</b> Choose the folder that holds all your projects – every subfolder becomes a project. You can set a backup target now or later on the “Backup” tab.</div>
|
||||||
Ein Backup-Ziel kannst du jetzt oder später im Reiter „Backup“ festlegen.</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section class="spane" data-spane="folders">
|
<section class="spane" data-spane="folders">
|
||||||
<div class="sphead"><h4>Projektordner</h4><p>Ordner, deren Unterordner als Projekte erscheinen. Mindestens einer.</p></div>
|
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#folders"/></svg><span data-i18n="set.folders.h">Project folders</span></h4><p data-i18n="set.folders.p">Folders whose subfolders appear as projects. At least one.</p></div>
|
||||||
<div class="slist" id="fRoots"></div>
|
<div class="slist" id="fRoots"></div>
|
||||||
<div class="rowbtns">
|
<div class="rowbtns">
|
||||||
<button class="btn" id="fAddRoot" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg>Ordner hinzufügen</button>
|
<button class="btn" id="fAddRoot" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="set.addFolder">Add folder</span></button>
|
||||||
<button class="btn" id="fImportOpen" type="button"><svg class="i"><use href="/icons.svg#folder-plus"/></svg>Mehrere einlesen…</button>
|
<button class="btn" id="fImportOpen" type="button"><svg class="i"><use href="/icons.svg#folder-plus"/></svg><span data-i18n="set.importSeveral">Import several…</span></button>
|
||||||
<button class="btn" id="fNestedOpen" type="button" title="Projekte suchen, die eine Ebene tiefer liegen (z. B. in einem Sammelordner)"><svg class="i"><use href="/icons.svg#folder-tree"/></svg>Projekte in Unterordnern…</button>
|
<button class="btn" id="fNestedOpen" type="button" data-i18n-title="set.nested.title" title="Find projects one level deeper (e.g. in a collection folder)"><svg class="i"><use href="/icons.svg#folder-tree"/></svg><span data-i18n="set.nested">Projects in subfolders…</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="importbox" id="fImport" hidden>
|
<div class="importbox" id="fImport" hidden>
|
||||||
<div class="hint" style="margin:0 0 6px">Übergeordneten Ordner wählen – seine Unterordner werden als Projektordner angeboten.</div>
|
<div class="hint" style="margin:0 0 6px" data-i18n="set.import.hint">Choose a parent folder – its subfolders are offered as project folders.</div>
|
||||||
<div class="pickrow">
|
<div class="pickrow">
|
||||||
<input type="text" id="fImportPath" placeholder="z. B. D:\Arbeit">
|
<input type="text" id="fImportPath" data-i18n-placeholder="set.path.ph" placeholder="e.g. D:\Work">
|
||||||
<button class="btn pickbtn" data-for="fImportPath" data-title="Übergeordneten Ordner wählen"><svg class="i"><use href="/icons.svg#folder-search"/></svg>Durchsuchen…</button>
|
<button class="btn pickbtn" data-for="fImportPath" data-title="Choose parent folder"><svg class="i"><use href="/icons.svg#folder-search"/></svg><span data-i18n="common.browse">Browse…</span></button>
|
||||||
<button class="btn" type="button" id="fImportList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
<button class="btn" type="button" id="fImportList"><svg class="i"><use href="/icons.svg#list"/></svg><span data-i18n="common.show">Show</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div id="fImportBody"></div>
|
<div id="fImportBody"></div>
|
||||||
</div>
|
</div>
|
||||||
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg>Wie funktioniert das?</summary><div>Jeder Unterordner eines Projektordners ist ein Projekt. Welche Ordner gerade angezeigt werden, wählst du oben links neben dem Logo. Der erste Ordner ist der Hauptordner: er wird direkt ins Backup-Ziel gesichert, jeder weitere in einen Unterordner mit seinem Namen. Entfernen nimmt den Ordner nur aus der Liste – auf der Platte wird nichts gelöscht.</div></details>
|
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg><span data-i18n="set.folders.help.q">How does this work?</span></summary><div data-i18n="set.folders.help.a">Every subfolder of a project folder is a project. You choose which folders are shown at the top left next to the logo. The first folder is the main folder: it is backed up straight into the backup target, each further one into a subfolder named after it. Removing takes the folder out of the list only – nothing is deleted on disk.</div></details>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="spane" data-spane="backup" hidden>
|
<section class="spane" data-spane="backup" hidden>
|
||||||
<div class="sphead"><h4>Backup-Ziele</h4><p>Externe Platte, NAS oder anderes Laufwerk – optional, mehrere möglich.</p></div>
|
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#hard-drive-upload"/></svg><span data-i18n="set.targets.h">Backup targets</span></h4><p data-i18n="set.targets.p">External disk, NAS or another drive – optional, several possible.</p></div>
|
||||||
<div class="slist" id="fTargets"></div>
|
<div class="slist" id="fTargets"></div>
|
||||||
<div class="rowbtns"><button class="btn" id="fAddTarget" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg>Ziel hinzufügen</button></div>
|
<div class="rowbtns"><button class="btn" id="fAddTarget" type="button"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="set.addTarget">Add target</span></button></div>
|
||||||
<div class="spfield">
|
<div class="spfield">
|
||||||
<label for="fExInput">Nicht sichern</label>
|
<label for="fExInput" data-i18n="set.exclude">Don't back up</label>
|
||||||
<div class="xchips" id="fExDirs"><input id="fExInput" placeholder="Ordnername + Enter" autocomplete="off"></div>
|
<div class="xchips" id="fExDirs"><input id="fExInput" data-i18n-placeholder="set.exclude.ph" placeholder="Folder name + Enter" autocomplete="off"></div>
|
||||||
<div class="hint" style="margin:0">Werden überall übersprungen, weil sie sich neu erzeugen lassen.</div>
|
<div class="hint" style="margin:0" data-i18n="set.exclude.hint">Skipped everywhere, because they can be regenerated.</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spfield">
|
<div class="spfield">
|
||||||
<label for="fRemind">Erinnerung</label>
|
<label for="fRemind" data-i18n="set.remind">Reminder</label>
|
||||||
<div class="remindrow">Backup fällig, wenn ein Projekt geändert wurde und das letzte Backup älter ist als
|
<div class="remindrow"><span data-i18n="set.remind.pre">Backup due when a project changed and the last backup is older than</span>
|
||||||
<input type="number" id="fRemind" min="1" max="365" step="1"> Tage</div>
|
<input type="number" id="fRemind" min="1" max="365" step="1"> <span data-i18n="set.remind.days">days</span></div>
|
||||||
<div class="hint" style="margin:0">Solche Projekte zeigt der Filter „Backup fällig“; einmal am Tag erscheint ein Hinweis.</div>
|
<div class="hint" style="margin:0" data-i18n="set.remind.hint">The “Backup due” filter shows such projects; a notice appears once a day.</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spfield">
|
<div class="spfield">
|
||||||
<label for="fAutoInt">Automatisch sichern</label>
|
<label for="fAutoInt" data-i18n="set.auto">Automatic backup</label>
|
||||||
<div class="remindrow">
|
<div class="remindrow">
|
||||||
<select id="fAutoInt" class="autosel">
|
<select id="fAutoInt" class="autosel">
|
||||||
<option value="off">Aus</option>
|
<option value="off" data-i18n="set.auto.off">Off</option>
|
||||||
<option value="start">Bei jedem Start</option>
|
<option value="start" data-i18n="set.auto.start">On every start</option>
|
||||||
<option value="hourly">Stündlich</option>
|
<option value="hourly" data-i18n="set.auto.hourly">Hourly</option>
|
||||||
<option value="daily">Täglich</option>
|
<option value="daily" data-i18n="set.auto.daily">Daily</option>
|
||||||
<option value="weekly">Wöchentlich</option>
|
<option value="weekly" data-i18n="set.auto.weekly">Weekly</option>
|
||||||
</select>
|
</select>
|
||||||
<span id="fAutoDayWrap">am <select id="fAutoDay" class="autosel">
|
<span id="fAutoDayWrap"><span data-i18n="set.auto.on">on</span> <select id="fAutoDay" class="autosel">
|
||||||
<option value="1">Montag</option><option value="2">Dienstag</option><option value="3">Mittwoch</option><option value="4">Donnerstag</option>
|
<option value="1" data-i18n="day.1">Monday</option><option value="2" data-i18n="day.2">Tuesday</option><option value="3" data-i18n="day.3">Wednesday</option><option value="4" data-i18n="day.4">Thursday</option>
|
||||||
<option value="5">Freitag</option><option value="6">Samstag</option><option value="0">Sonntag</option></select></span>
|
<option value="5" data-i18n="day.5">Friday</option><option value="6" data-i18n="day.6">Saturday</option><option value="0" data-i18n="day.0">Sunday</option></select></span>
|
||||||
<span id="fAutoTimeWrap">um <input type="time" id="fAutoTime"> Uhr</span>
|
<span id="fAutoTimeWrap"><span data-i18n="set.auto.at">at</span> <input type="time" id="fAutoTime"> <span data-i18n="set.auto.oclock"></span></span>
|
||||||
<span id="fAutoTargetWrap">auf <select id="fAutoTarget" class="autosel"></select></span>
|
<span id="fAutoTargetWrap"><span data-i18n="set.auto.to">to</span> <select id="fAutoTarget" class="autosel"></select></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="spstatus" id="spAuto"></div>
|
<div class="spstatus" id="spAuto"></div>
|
||||||
<div class="hint" style="margin:0">Sichert alle Projektordner – solange das Dashboard läuft, auch im Hintergrund (Symbol neben der Uhr, siehe Allgemein → Fenster). Ein verpasster Termin (PC aus) wird beim nächsten Start nachgeholt; ist das Ziel nicht erreichbar, folgt nach 30 Minuten ein neuer Versuch.</div>
|
<div class="hint" style="margin:0" data-i18n="set.auto.hint">Backs up all project folders – while the dashboard runs, including in the background (icon next to the clock, see General → Window). A missed slot (PC off) is caught up on the next start; if the target is unreachable, a new attempt follows after 30 minutes.</div>
|
||||||
</div>
|
</div>
|
||||||
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg>Wohin wird gesichert?</summary><div>Jedes Projekt landet im Ziel in einem gleichnamigen Unterordner. Der Hauptordner geht direkt ins Ziel, jeder weitere Projektordner in einen Unterordner mit seinem Namen. Jedes Ziel hat seinen eigenen Backup-Stand; <code>backup-projekte.bat</code> sichert auf das erste. Im Backup wird nie etwas gelöscht.</div></details>
|
<details class="more"><summary><svg class="i sm"><use href="/icons.svg#info"/></svg><span data-i18n="set.targets.help.q">Where does it back up to?</span></summary><div data-i18n-html="set.targets.help.a">Each project lands in the target in a subfolder of the same name. The main folder goes straight into the target, each further project folder into a subfolder named after it. Each target has its own backup state; <code>backup-projekte.bat</code> backs up to the first. Nothing is ever deleted in the backup.</div></details>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="spane" data-spane="itch" hidden>
|
<section class="spane" data-spane="itch" hidden>
|
||||||
<div class="sphead"><h4>itch.io</h4><p>Für die Anzeige „veröffentlicht“ auf den Karten. Leer lassen = keine itch.io-Anzeige.</p></div>
|
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#rocket"/></svg><span>itch.io</span></h4><p data-i18n="set.itch.p">For the “published” badge on the cards. Leave empty = no itch.io display.</p></div>
|
||||||
<div class="spfield">
|
<div class="spfield">
|
||||||
<label for="fItchProfile">Öffentliches Profil</label>
|
<label for="fItchProfile" data-i18n="set.itch.profile">Public profile</label>
|
||||||
<div class="pickrow">
|
<div class="pickrow">
|
||||||
<input type="text" id="fItchProfile" placeholder="https://name.itch.io">
|
<input type="text" id="fItchProfile" placeholder="https://name.itch.io">
|
||||||
<button class="btn" type="button" id="btnItchRefresh" title="Profil jetzt neu lesen"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg>Neu lesen</button>
|
<button class="btn" type="button" id="btnItchRefresh" data-i18n-title="set.itch.reload.title" title="Reload the profile now"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg><span data-i18n="set.itch.reload">Reload</span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spstatus" id="spItch"></div>
|
<div class="spstatus" id="spItch"></div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="spane" data-spane="general" hidden>
|
<section class="spane" data-spane="general" hidden>
|
||||||
<div class="sphead"><h4>Allgemein</h4><p>Wo das Dashboard seine Daten ablegt.</p></div>
|
<div class="sphead"><h4><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span data-i18n="set.general.h">General</span></h4><p data-i18n="set.general.p">Language, data location, window and features.</p></div>
|
||||||
<div class="kv" id="spData"></div>
|
<div class="spfield">
|
||||||
<div class="rowbtns"><button class="btn" type="button" id="spOpenData"><svg class="i"><use href="/icons.svg#folder-open"/></svg>Datenordner öffnen</button></div>
|
<label for="fLang" data-i18n="set.language">Language</label>
|
||||||
<div class="appwin" id="appWin" hidden>
|
<select id="fLang" class="autosel"></select>
|
||||||
<div class="sphead" style="margin-top:8px"><h4>Fenster</h4><p>Gilt sofort, ohne Speichern.</p></div>
|
|
||||||
<label class="chk featrow"><input type="checkbox" id="fTray">
|
|
||||||
<span><b><svg class="i sm"><use href="/icons.svg#app-window"/></svg> Beim Schließen im Hintergrund weiterlaufen</b><br>
|
|
||||||
<span class="hint" style="margin:0">Das Dashboard bleibt als Symbol neben der Uhr. Nötig, damit das automatische Backup auch ohne offenes Fenster läuft – mit Windows-Hinweis, wenn es fertig ist oder fehlschlägt. Rechtsklick auf das Symbol → Beenden.</span></span></label>
|
|
||||||
<label class="chk featrow" style="margin-top:8px"><input type="checkbox" id="fAutostart">
|
|
||||||
<span><b><svg class="i sm"><use href="/icons.svg#power"/></svg> Mit Windows starten</b><br>
|
|
||||||
<span class="hint" style="margin:0">Startet unsichtbar im Hintergrund (nur das Symbol neben der Uhr).</span></span></label>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="sphead" style="margin-top:8px"><h4>Funktionen</h4><p>Zusätzliches, das nicht jeder braucht. Ausgeschaltet ist davon nichts zu sehen.</p></div>
|
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#database"/></svg><span data-i18n="set.data.h">Data</span></h4></div>
|
||||||
|
<div class="kv" id="spData"></div>
|
||||||
|
<div class="rowbtns"><button class="btn" type="button" id="spOpenData"><svg class="i"><use href="/icons.svg#folder-open"/></svg><span data-i18n="set.openData">Open data folder</span></button></div>
|
||||||
|
<div class="appwin" id="appWin" hidden>
|
||||||
|
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#app-window"/></svg><span data-i18n="set.window.h">Window</span></h4><p data-i18n="set.window.p">Applies immediately, without saving.</p></div>
|
||||||
|
<label class="chk featrow"><input type="checkbox" id="fTray">
|
||||||
|
<span><b><svg class="i sm"><use href="/icons.svg#app-window"/></svg> <span data-i18n="set.tray">Keep running in the background when closed</span></b><br>
|
||||||
|
<span class="hint" style="margin:0" data-i18n="set.tray.hint">The dashboard stays as an icon next to the clock. Needed so the automatic backup also runs without an open window – with a Windows notice when it finishes or fails. Right-click the icon → Quit.</span></span></label>
|
||||||
|
<label class="chk featrow"><input type="checkbox" id="fAutostart">
|
||||||
|
<span><b><svg class="i sm"><use href="/icons.svg#power"/></svg> <span data-i18n="set.autostart">Start with Windows</span></b><br>
|
||||||
|
<span class="hint" style="margin:0" data-i18n="set.autostart.hint">Starts invisibly in the background (only the icon next to the clock).</span></span></label>
|
||||||
|
</div>
|
||||||
|
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#sparkles"/></svg><span data-i18n="set.features.h">Features</span></h4><p data-i18n="set.features.p">Extras not everyone needs. When off, none of it is shown.</p></div>
|
||||||
<label class="chk featrow"><input type="checkbox" id="fFeatItch">
|
<label class="chk featrow"><input type="checkbox" id="fFeatItch">
|
||||||
<span><b><svg class="i sm"><use href="/icons.svg#rocket"/></svg> itch.io</b><br>
|
<span><b><svg class="i sm"><use href="/icons.svg#rocket"/></svg> itch.io</b><br>
|
||||||
<span class="hint" style="margin:0">„Veröffentlicht“-Anzeige auf den Karten, Filter, itch.io-Link je Projekt, itch.io-Seite erzeugen (Claude Code) und Kopier-Ansicht. Aus = nichts davon sichtbar, kein Abruf des Profils.</span></span></label>
|
<span class="hint" style="margin:0" data-i18n="set.feat.itch.hint">The “published” badge on the cards, filter, itch.io link per project, generate an itch.io page (Claude Code) and the copy view. Off = none of it visible, no profile fetch.</span></span></label>
|
||||||
|
<div class="sphead sep"><h4><svg class="i"><use href="/icons.svg#info"/></svg><span data-i18n="set.about">About</span></h4></div>
|
||||||
|
<div class="about">
|
||||||
|
<span class="anm" data-i18n="set.product">Project Dashboard</span>
|
||||||
|
<span class="ver" id="spVersion"></span>
|
||||||
|
<span>© 2026 Michael Media</span>
|
||||||
|
<a class="btn" href="https://discord.gg/Ej4JPmCZva" target="_blank" rel="noopener"><svg class="i"><use href="/icons.svg#messages-square"/></svg>Discord</a>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="msg err" id="spError" style="display:none"></div>
|
<div class="msg err" id="spError" style="display:none"></div>
|
||||||
<div class="pfoot">
|
<div class="pfoot">
|
||||||
<span class="spdirty" id="spDirty">Ungespeicherte Änderungen</span>
|
<span class="spdirty" id="spDirty" data-i18n="set.dirty">Unsaved changes</span>
|
||||||
<span style="flex:1"></span>
|
<span style="flex:1"></span>
|
||||||
<span class="kbd" title="Tastenkürzel">Strg+S</span>
|
<span class="kbd" data-i18n-title="set.shortcut" title="Shortcut">Ctrl+S</span>
|
||||||
<button class="btn ghost" id="spCancel">Abbrechen</button>
|
<button class="btn ghost" id="spCancel" data-i18n="common.cancel">Cancel</button>
|
||||||
<button class="btn primary" id="spSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</button>
|
<button class="btn primary" id="spSave"><svg class="i"><use href="/icons.svg#save"/></svg><span data-i18n="common.save">Save</span></button>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<dialog id="rootDlg" class="dlg">
|
<dialog id="rootDlg" class="dlg">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folders"/></svg>Projektordner einlesen</h3>
|
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.root.title">Import project folders</span></h3>
|
||||||
<div class="hint" style="margin-top:4px">Übergeordneten Ordner wählen und ankreuzen, was als Projektordner dazukommen soll – der Ordner selbst und/oder seine Unterordner.</div>
|
<div class="hint" style="margin-top:4px" data-i18n="dlg.root.hint">Choose a parent folder and tick what should be added as a project folder – the folder itself and/or its subfolders.</div>
|
||||||
<div class="pickrow" style="margin-top:10px">
|
<div class="pickrow" style="margin-top:10px">
|
||||||
<input type="text" id="rdPath" placeholder="z. B. D:\Arbeit">
|
<input type="text" id="rdPath" data-i18n-placeholder="set.path.ph" placeholder="e.g. D:\Work">
|
||||||
<button class="btn pickbtn" type="button" id="rdPick"><svg class="i"><use href="/icons.svg#folder-search"/></svg>Durchsuchen…</button>
|
<button class="btn pickbtn" type="button" id="rdPick"><svg class="i"><use href="/icons.svg#folder-search"/></svg><span data-i18n="common.browse">Browse…</span></button>
|
||||||
<button class="btn" type="button" id="rdList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
<button class="btn" type="button" id="rdList"><svg class="i"><use href="/icons.svg#list"/></svg><span data-i18n="common.show">Show</span></button>
|
||||||
</div>
|
</div>
|
||||||
<div id="rdBody"></div>
|
<div id="rdBody"></div>
|
||||||
<label class="chk"><input type="checkbox" id="rdActivate" checked> Danach zum ersten neuen Ordner wechseln</label>
|
<label class="chk"><input type="checkbox" id="rdActivate" checked> <span data-i18n="dlg.root.activate">Then switch to the first new folder</span></label>
|
||||||
<div class="msg err" id="rdError" style="display:none"></div>
|
<div class="msg err" id="rdError" style="display:none"></div>
|
||||||
<div class="dlgfoot"><button class="btn" type="button" id="rdClose">Schließen</button></div>
|
<div class="dlgfoot"><button class="btn" type="button" id="rdClose" data-i18n="common.close">Close</button></div>
|
||||||
</div>
|
</div>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
<dialog id="moveDlg" class="dlg">
|
<dialog id="moveDlg" class="dlg">
|
||||||
<form method="dialog" class="field" id="moveForm">
|
<form method="dialog" class="field" id="moveForm">
|
||||||
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-pen"/></svg>Umbenennen / verschieben</h3>
|
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-pen"/></svg><span data-i18n="dlg.move.title">Rename / move</span></h3>
|
||||||
<div class="hint" id="mvFrom"></div>
|
<div class="hint" id="mvFrom"></div>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#type"/></svg>Neuer Name (Ordnername)</label>
|
<label><svg class="i sm"><use href="/icons.svg#type"/></svg><span data-i18n="dlg.move.name">New name (folder name)</span></label>
|
||||||
<input type="text" id="mvName" maxlength="80" autocomplete="off">
|
<input type="text" id="mvName" maxlength="80" autocomplete="off">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg>Projektordner</label>
|
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.move.folder">Project folder</span></label>
|
||||||
<select id="mvRoot"></select>
|
<select id="mvRoot"></select>
|
||||||
<div class="msg info" id="mvCopy" hidden style="margin-top:10px">
|
<div class="msg info" id="mvCopy" hidden style="margin-top:10px">
|
||||||
<svg class="i"><use href="/icons.svg#triangle-alert"/></svg>
|
<svg class="i"><use href="/icons.svg#triangle-alert"/></svg>
|
||||||
<div>Das Ziel liegt auf einem anderen Laufwerk: Der Ordner wird komplett kopiert, geprüft und erst danach am alten Ort gelöscht. Bei großen Projekten dauert das.
|
<div><span data-i18n="dlg.move.copyWarn">The target is on another drive: the folder is copied in full, verified and only then deleted at the old location. For large projects this takes a while.</span>
|
||||||
<label class="chk" style="margin-top:6px"><input type="checkbox" id="mvCopyOk"> Verstanden – kopieren und Original danach löschen</label></div>
|
<label class="chk" style="margin-top:6px"><input type="checkbox" id="mvCopyOk"> <span data-i18n="dlg.move.copyOk">Understood – copy and delete the original afterwards</span></label></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hint">Das bisherige Backup bleibt unter dem alten Namen liegen; beim nächsten Backup entsteht der neue Ordner. VS Code, Konsolen und Programme aus dem Projekt vorher schließen.</div>
|
<div class="hint" data-i18n="dlg.move.hint">The previous backup stays under the old name; the new folder appears on the next backup. Close VS Code, consoles and programs from the project first.</div>
|
||||||
<div class="msg err" id="mvError" style="display:none"></div>
|
<div class="msg err" id="mvError" style="display:none"></div>
|
||||||
<div class="dlgfoot">
|
<div class="dlgfoot">
|
||||||
<button class="btn" type="button" id="mvCancel">Abbrechen</button>
|
<button class="btn" type="button" id="mvCancel" data-i18n="common.cancel">Cancel</button>
|
||||||
<button class="btn primary" type="submit" id="mvOk"><svg class="i"><use href="/icons.svg#check"/></svg><span>Übernehmen</span></button>
|
<button class="btn primary" type="submit" id="mvOk"><svg class="i"><use href="/icons.svg#check"/></svg><span data-i18n="common.apply">Apply</span></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
<dialog id="newDlg" class="dlg">
|
<dialog id="newDlg" class="dlg">
|
||||||
<form method="dialog" class="field" id="newForm">
|
<form method="dialog" class="field" id="newForm">
|
||||||
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-plus"/></svg><span id="newTitle">Neues Projekt</span></h3>
|
<h3 style="margin:0 0 4px;display:flex;gap:8px;align-items:center"><svg class="i lg"><use href="/icons.svg#folder-plus"/></svg><span id="newTitle" data-i18n="dlg.new.title">New project</span></h3>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#copy"/></svg>Vorlage</label>
|
<label><svg class="i sm"><use href="/icons.svg#copy"/></svg><span data-i18n="dlg.new.template">Template</span></label>
|
||||||
<select id="nFrom"></select>
|
<select id="nFrom"></select>
|
||||||
<label><svg class="i sm"><use href="/icons.svg#type"/></svg>Name (wird der Ordnername)</label>
|
<label><svg class="i sm"><use href="/icons.svg#type"/></svg><span data-i18n="dlg.new.name">Name (becomes the folder name)</span></label>
|
||||||
<input type="text" id="nName" maxlength="80" autocomplete="off">
|
<input type="text" id="nName" maxlength="80" autocomplete="off">
|
||||||
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg>Anlegen in</label>
|
<label><svg class="i sm"><use href="/icons.svg#folders"/></svg><span data-i18n="dlg.new.createIn">Create in</span></label>
|
||||||
<select id="nRoot"></select>
|
<select id="nRoot"></select>
|
||||||
<div id="nCloneOpts">
|
<div id="nCloneOpts">
|
||||||
<label class="chk"><input type="checkbox" id="nSkipBuild" checked> Build-Ordner und Caches weglassen (dist, build, bin, obj, Library …)</label>
|
<label class="chk"><input type="checkbox" id="nSkipBuild" checked> <span data-i18n="dlg.new.skipBuild">Leave out build folders and caches (dist, build, bin, obj, Library …)</span></label>
|
||||||
<label class="chk"><input type="checkbox" id="nGit"> git-Verlauf mitkopieren (Achtung: gleicher Remote wie das Original)</label>
|
<label class="chk"><input type="checkbox" id="nGit"> <span data-i18n="dlg.new.withGit">Copy git history too (note: same remote as the original)</span></label>
|
||||||
<div class="hint">Nie kopiert: <span id="nExcl"></span>. Der Klon startet als „Idee“, ohne itch.io-Link und nur mit offenen Aufgaben.</div>
|
<div class="hint"><span data-i18n="dlg.new.neverCopied">Never copied:</span> <span id="nExcl"></span>. <span data-i18n="dlg.new.cloneStarts">The clone starts as an “idea”, without an itch.io link and with open tasks only.</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="hint" id="nEmptyHint">Legt einen leeren Ordner mit <code>README.md</code> an. Für ein Spiel/eine App aus den Library-Vorlagen: Skill <code>neues-projekt</code> in Claude Code.</div>
|
<div class="hint" id="nEmptyHint" data-i18n-html="dlg.new.emptyHint">Creates an empty folder with a <code>README.md</code>. For a game/app from the library templates: skill <code>neues-projekt</code> in Claude Code.</div>
|
||||||
<div class="msg err" id="nError" style="display:none"></div>
|
<div class="msg err" id="nError" style="display:none"></div>
|
||||||
<div class="dlgfoot">
|
<div class="dlgfoot">
|
||||||
<button class="btn" type="button" id="nCancel">Abbrechen</button>
|
<button class="btn" type="button" id="nCancel" data-i18n="common.cancel">Cancel</button>
|
||||||
<button class="btn primary" type="submit" id="nOk"><svg class="i"><use href="/icons.svg#plus"/></svg><span>Anlegen</span></button>
|
<button class="btn primary" type="submit" id="nOk"><svg class="i"><use href="/icons.svg#plus"/></svg><span data-i18n="dlg.new.create">Create</span></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
<dialog id="itchDlg" class="dlg wide">
|
<dialog id="itchDlg" class="dlg wide">
|
||||||
<div class="ihead">
|
<div class="ihead">
|
||||||
<h3><svg class="i lg"><use href="/icons.svg#rocket"/></svg><span id="itchTitle">itch.io-Seite</span></h3>
|
<h3><svg class="i lg"><use href="/icons.svg#rocket"/></svg><span id="itchTitle" data-i18n="dlg.itch.title">itch.io page</span></h3>
|
||||||
<span class="sp"></span>
|
<span class="sp"></span>
|
||||||
<button class="btn ghost" type="button" id="itchOpenDir" title="Ordner öffnen"><svg class="i"><use href="/icons.svg#folder-open"/></svg></button>
|
<button class="btn ghost" type="button" id="itchOpenDir" data-i18n-title="dlg.itch.openDir" title="Open folder"><svg class="i"><use href="/icons.svg#folder-open"/></svg></button>
|
||||||
<button class="btn ghost" type="button" id="itchReload" title="Neu laden"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg></button>
|
<button class="btn ghost" type="button" id="itchReload" data-i18n-title="dlg.itch.reload" title="Reload"><svg class="i"><use href="/icons.svg#refresh-cw"/></svg></button>
|
||||||
<button class="iconbtn" type="button" id="itchClose" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
<button class="iconbtn" type="button" id="itchClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
<div id="itchBody"></div>
|
<div id="itchBody"></div>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
<dialog id="nestDlg" class="dlg wide">
|
<dialog id="nestDlg" class="dlg wide">
|
||||||
<div class="ihead">
|
<div class="ihead">
|
||||||
<h3><svg class="i lg"><use href="/icons.svg#folder-tree"/></svg>Projekte in Unterordnern</h3>
|
<h3><svg class="i lg"><use href="/icons.svg#folder-tree"/></svg><span data-i18n="dlg.nest.title">Projects in subfolders</span></h3>
|
||||||
<span class="sp"></span>
|
<span class="sp"></span>
|
||||||
<button class="iconbtn" type="button" id="nestClose" title="Schließen (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
<button class="iconbtn" type="button" id="nestClose" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||||
</div>
|
</div>
|
||||||
<div id="nestBody"></div>
|
<div id="nestBody"></div>
|
||||||
<div class="nestfoot">
|
<div class="nestfoot">
|
||||||
<button class="btn" type="button" id="nestDeep" title="Auch in echten Projekten suchen, z. B. PowerBackupPro_CleanTools…"><svg class="i"><use href="/icons.svg#scan-search"/></svg>Auch in Projekten suchen</button>
|
<button class="btn" type="button" id="nestDeep" data-i18n-title="dlg.nest.deep.title" title="Also search inside real projects"><svg class="i"><use href="/icons.svg#scan-search"/></svg><span data-i18n="dlg.nest.deep">Also search inside projects</span></button>
|
||||||
<span class="sp"></span>
|
<span class="sp"></span>
|
||||||
<button class="btn" type="button" id="nestCancel">Abbrechen</button>
|
<button class="btn" type="button" id="nestCancel" data-i18n="common.cancel">Cancel</button>
|
||||||
<button class="btn primary" type="button" id="nestOk"><svg class="i"><use href="/icons.svg#check"/></svg>Übernehmen</button>
|
<button class="btn primary" type="button" id="nestOk"><svg class="i"><use href="/icons.svg#check"/></svg><span data-i18n="common.apply">Apply</span></button>
|
||||||
</div>
|
</div>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
<div id="toast"></div>
|
<div id="toast"></div>
|
||||||
|
<script src="lang.js"></script>
|
||||||
|
<script src="i18n.js"></script>
|
||||||
<script src="app.js"></script>
|
<script src="app.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
1438
public/lang.js
Normal file
1438
public/lang.js
Normal file
File diff suppressed because it is too large
Load Diff
65
server.js
65
server.js
@@ -321,10 +321,20 @@ async function describeProject(p, target) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// progress of reading the projects (start screen: /api/progress)
|
||||||
|
const loadState = { running: 0, phase: '', done: 0, total: 0 }
|
||||||
async function listProjects(target) {
|
async function listProjects(target) {
|
||||||
if (settings.itchOn()) await itch.ensure() // switched off: no request to itch.io
|
loadState.running++
|
||||||
const list = await pool(projectList(), 8, (p) => describeProject(p, target))
|
try {
|
||||||
|
if (settings.itchOn()) { loadState.phase = 'itch'; await itch.ensure() } // switched off: no request to itch.io
|
||||||
|
const items = projectList()
|
||||||
|
Object.assign(loadState, { phase: 'projects', done: 0, total: items.length })
|
||||||
|
const list = await pool(items, 8, async (p) => { const d = await describeProject(p, target); loadState.done++; return d })
|
||||||
return list.sort((a, b) => new Date(b.mtime) - new Date(a.mtime))
|
return list.sort((a, b) => new Date(b.mtime) - new Date(a.mtime))
|
||||||
|
} finally {
|
||||||
|
loadState.running--
|
||||||
|
if (!loadState.running) loadState.phase = ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// tech.actions matches programs against the folder name; the key names the console windows
|
// tech.actions matches programs against the folder name; the key names the console windows
|
||||||
@@ -381,6 +391,16 @@ app.get('/icons.svg', (req, res) => {
|
|||||||
res.sendFile(ICON_SPRITE, (err) => { if (err && !res.headersSent) res.status(404).end() })
|
res.sendFile(ICON_SPRITE, (err) => { if (err && !res.headersSent) res.status(404).end() })
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Start screen: how far reading the projects (git, sizes ...) and the
|
||||||
|
// "last change" of every project (lib/activity.js, in the background) has come.
|
||||||
|
app.get('/api/progress', (req, res) => {
|
||||||
|
const total = projMap.size
|
||||||
|
res.json({
|
||||||
|
projects: { running: loadState.running > 0, phase: loadState.phase, done: loadState.done, total: loadState.total },
|
||||||
|
activity: { pending: activity.pending(), total },
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
app.get('/api/projects', handle(async (req, res) => {
|
app.get('/api/projects', handle(async (req, res) => {
|
||||||
const list = await listProjects(String(req.query.target ?? '') || null)
|
const list = await listProjects(String(req.query.target ?? '') || null)
|
||||||
const s = settings.get()
|
const s = settings.get()
|
||||||
@@ -391,7 +411,9 @@ app.get('/api/projects', handle(async (req, res) => {
|
|||||||
activeRoot: s.activeRoot,
|
activeRoot: s.activeRoot,
|
||||||
activeRoots: s.activeRoots,
|
activeRoots: s.activeRoots,
|
||||||
remindDays: s.backup.remindDays ?? 7,
|
remindDays: s.backup.remindDays ?? 7,
|
||||||
setupNeeded: !ROOT_DIR,
|
// first start: no usable projects folder registered at all (an empty selection is fine)
|
||||||
|
setupNeeded: !settings.get().roots.some((r) => fs.existsSync(r.path)),
|
||||||
|
noneShown: !ROOTS.length && !!settings.get().noneShown,
|
||||||
projects: list,
|
projects: list,
|
||||||
totals: { ...storage.totals(list.map((p) => ({ root: ROOTS.find((r) => r.id === p.root)?.path, folder: p.folder }))), noBackup: list.filter((p) => p.git.level === 'red').length },
|
totals: { ...storage.totals(list.map((p) => ({ root: ROOTS.find((r) => r.id === p.root)?.path, folder: p.folder }))), noBackup: list.filter((p) => p.git.level === 'red').length },
|
||||||
scan: storage.state,
|
scan: storage.state,
|
||||||
@@ -444,7 +466,7 @@ const uiFiles = () => filesIn(path.join(__dirname, 'public'), /\.(js|html|css)$/
|
|||||||
const CODE_STAMP = newestMtime(codeFiles())
|
const CODE_STAMP = newestMtime(codeFiles())
|
||||||
const STARTED_AT = new Date().toISOString()
|
const STARTED_AT = new Date().toISOString()
|
||||||
app.get('/api/version', (req, res) => {
|
app.get('/api/version', (req, res) => {
|
||||||
res.json({ startedAt: STARTED_AT, pid: process.pid, stale: newestMtime(codeFiles()) > CODE_STAMP, uiStamp: newestMtime(uiFiles()) })
|
res.json({ startedAt: STARTED_AT, pid: process.pid, version: require('./package.json').version, stale: newestMtime(codeFiles()) > CODE_STAMP, uiStamp: newestMtime(uiFiles()) })
|
||||||
})
|
})
|
||||||
// Restart the server (lib/supervisor.js starts it again).
|
// Restart the server (lib/supervisor.js starts it again).
|
||||||
app.post('/api/restart', (req, res) => {
|
app.post('/api/restart', (req, res) => {
|
||||||
@@ -883,6 +905,41 @@ app.post('/api/projects/:name/clean', handle(async (req, res) => {
|
|||||||
res.json(result)
|
res.json(result)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
// Permanently deletes the whole project folder from disk (not from any backup).
|
||||||
|
// Guarded: only a real subfolder of a shown projects folder, never a root or _Tools.
|
||||||
|
app.post('/api/projects/:name/delete', handle(async (req, res) => {
|
||||||
|
if (storage.busy() || backup.busy() || create.busy() || archive.busy()) return res.status(409).json({ error: 'Erst warten, bis Scan/Backup fertig ist.' })
|
||||||
|
const key = req.params.name
|
||||||
|
const dir = resolveProject(key)
|
||||||
|
const ref = dir && projectRef(key)
|
||||||
|
if (!ref || !dir) return res.status(404).json({ error: 'unknown project' })
|
||||||
|
if (ref.folder === '_Tools') return res.status(400).json({ error: '_Tools wird nie gelöscht' })
|
||||||
|
const root = path.resolve(ref.root.path)
|
||||||
|
const target = path.resolve(dir)
|
||||||
|
// never the projects folder itself, never a drive root – only a subfolder of a registered root
|
||||||
|
if (target.toLowerCase() === root.toLowerCase() || !target.toLowerCase().startsWith(root.toLowerCase() + path.sep) || path.dirname(target) === target) {
|
||||||
|
return res.status(400).json({ error: 'Ordner nicht löschbar.' })
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
fs.rmSync(target, { recursive: true, force: true, maxRetries: 5, retryDelay: 200 })
|
||||||
|
} catch (e) {
|
||||||
|
return res.status(400).json({ error: `Löschen fehlgeschlagen (Datei gesperrt? Programm offen?): ${String(e.message ?? e)}` })
|
||||||
|
}
|
||||||
|
// drop it from the subfolder-scanner lists if it was listed there
|
||||||
|
const rSet = settings.get().roots.find((x) => x.id === ref.root.id)
|
||||||
|
if (rSet) {
|
||||||
|
const low = ref.folder.toLowerCase()
|
||||||
|
const nn = (rSet.nested ?? []).filter((x) => x.toLowerCase() !== low)
|
||||||
|
const ni = (rSet.nestedIgnored ?? []).filter((x) => x.toLowerCase() !== low)
|
||||||
|
if (nn.length !== (rSet.nested ?? []).length || ni.length !== (rSet.nestedIgnored ?? []).length) {
|
||||||
|
settings.setNested(rSet.id, nn, ni); nested.forgetHint(); applySettings()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
thumbCache.delete(key); quickCache.delete(key); icons.forget(target)
|
||||||
|
projectList()
|
||||||
|
res.json({ ok: true, name: ref.name })
|
||||||
|
}))
|
||||||
|
|
||||||
// NAS backup (lib/backup.js): check → copy, never deletes in the backup.
|
// NAS backup (lib/backup.js): check → copy, never deletes in the backup.
|
||||||
app.get('/api/backup', (req, res) => res.json({ ...backup.getState(), schedule: scheduler.status() }))
|
app.get('/api/backup', (req, res) => res.json({ ...backup.getState(), schedule: scheduler.status() }))
|
||||||
// body: { target } = check everything · { target, project, autoCopy: true } = "Sichern" of one project
|
// body: { target } = check everything · { target, project, autoCopy: true } = "Sichern" of one project
|
||||||
|
|||||||
Reference in New Issue
Block a user