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:
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:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
|
||||
.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: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 h4 { margin: 0 0 8px; font-size: 13px; display: flex; align-items: center; gap: 7px; }
|
||||
.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 > div:nth-child(odd) { color: var(--muted); }
|
||||
.kv > div { word-break: break-word; }
|
||||
@@ -284,6 +285,10 @@
|
||||
.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; }
|
||||
.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.active { overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
|
||||
.heatscroll { overflow-x: auto; padding-bottom: 4px; }
|
||||
@@ -583,7 +588,28 @@
|
||||
.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 .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.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: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; }
|
||||
@@ -598,7 +624,10 @@
|
||||
.htile .hfoot .when { font-size: 12px; color: var(--muted); }
|
||||
.htile .hfoot .qsg { margin-left: auto; }
|
||||
.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 b { display: inline-flex; gap: 5px; align-items: center; }
|
||||
/* favorites */
|
||||
@@ -615,6 +644,33 @@
|
||||
.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: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.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; }
|
||||
@@ -663,11 +719,20 @@
|
||||
.sptabs button.active .tabn { background: var(--accent-soft); color: var(--accent-text); }
|
||||
.sptabs button.has-err { color: 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; }
|
||||
.spane { display: flex; flex-direction: column; gap: 12px; }
|
||||
#spanel .pbody { display: flex; flex-direction: column; gap: 15px; padding-top: 14px; }
|
||||
.spane { display: flex; flex-direction: column; gap: 11px; }
|
||||
.spane[hidden] { display: none; }
|
||||
.sphead h4 { margin: 0; font-size: 14px; }
|
||||
.sphead p { margin: 2px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
|
||||
.sphead h4 { margin: 0; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
|
||||
/* 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: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); }
|
||||
@@ -698,7 +763,7 @@
|
||||
.ibtn:disabled { opacity: .35; cursor: default; border-color: var(--border); color: var(--muted); }
|
||||
body.no-picker .ibtn.pickbtn { display: none; }
|
||||
.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 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); }
|
||||
@@ -724,6 +789,10 @@
|
||||
.spstatus a { color: inherit; font-weight: 600; }
|
||||
#spanel .kv { grid-template-columns: 150px minmax(0, 1fr); }
|
||||
#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 .btn { flex: 0 0 auto; padding: 8px 14px; }
|
||||
.spdirty { font-size: 12px; color: var(--yellow); display: flex; align-items: center; gap: 6px; visibility: hidden; }
|
||||
@@ -782,42 +851,53 @@
|
||||
</style>
|
||||
</head>
|
||||
<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>
|
||||
<div class="topbar">
|
||||
<div class="brand">
|
||||
<div class="logo"><svg class="i lg"><use href="/icons.svg#layers"/></svg></div>
|
||||
<div class="rootpick">
|
||||
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" title="Projektordner wechseln">
|
||||
<h1 id="rootName">Projekte</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
|
||||
<button type="button" id="rootBtn" aria-haspopup="listbox" aria-expanded="false" data-i18n-title="root.switch" title="Switch project folder">
|
||||
<h1 id="rootName" data-i18n="root.projects">Projects</h1><svg class="i sm"><use href="/icons.svg#chevron-down"/></svg>
|
||||
</button>
|
||||
<div class="count" id="count"></div>
|
||||
<div class="rootmenu" id="rootMenu" role="listbox" hidden></div>
|
||||
</div>
|
||||
</div>
|
||||
<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="board" class="active adv" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl">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="list" class="adv" title="Liste"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl">Liste</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="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="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="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" 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" 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" 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" 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" 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" 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 class="searchbox">
|
||||
<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>
|
||||
<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="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="iconbtn" id="btnSettings" title="Einstellungen: Projektordner und Backup-Ziel"><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)">
|
||||
<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="advanced" title="Erweiterte Ansicht – alle Funktionen"><svg class="i"><use href="/icons.svg#sliders-horizontal"/></svg><span>Erweitert</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" 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" 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" data-i18n-title="mode.title" title="View: simple or advanced">
|
||||
<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" 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 class="seg theme" id="themeSeg" title="Darstellung">
|
||||
<button data-mode="light" title="Hell"><svg class="i"><use href="/icons.svg#sun"/></svg><span>Hell</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="dark" title="Dunkel"><svg class="i"><use href="/icons.svg#moon"/></svg><span>Dunkel</span></button>
|
||||
<div class="seg theme" id="themeSeg" data-i18n-title="theme.title" title="Appearance">
|
||||
<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" 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" 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 class="updbanner" id="updBanner" hidden>
|
||||
@@ -832,32 +912,37 @@
|
||||
<div class="toolbar">
|
||||
<div class="chipfilters" id="chipfilters"></div>
|
||||
<div style="flex:1"></div>
|
||||
<div class="seg" id="boardMode" title="Darstellung im Board">
|
||||
<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="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>
|
||||
<div class="seg" id="boardMode" data-i18n-title="board.layout.title" title="Board layout">
|
||||
<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" 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 class="sel" id="selStatusWrap"><svg class="i sm"><use href="/icons.svg#funnel"/></svg>
|
||||
<select id="fltStatus">
|
||||
<option value="all">Alle Status</option>
|
||||
<option value="idea">Idee</option>
|
||||
<option value="active">Aktiv</option>
|
||||
<option value="paused">Pausiert</option>
|
||||
<option value="done">Fertig</option>
|
||||
<option value="archived">Archiviert</option>
|
||||
<option value="all" data-i18n="flt.status.all">All statuses</option>
|
||||
<option value="idea" data-i18n="status.idea">Idea</option>
|
||||
<option value="active" data-i18n="status.active">Active</option>
|
||||
<option value="paused" data-i18n="status.paused">Paused</option>
|
||||
<option value="done" data-i18n="status.done">Done</option>
|
||||
<option value="archived" data-i18n="status.archived">Archived</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="sel" id="selSortWrap"><svg class="i sm"><use href="/icons.svg#arrow-up-down"/></svg>
|
||||
<select id="fltSort">
|
||||
<option value="mtime">Zuletzt geändert</option>
|
||||
<option value="name">Name (A–Z)</option>
|
||||
<option value="priority">Priorität</option>
|
||||
<option value="size">Größe</option>
|
||||
<option value="clean">Aufräumbar</option>
|
||||
<option value="mtime" data-i18n="flt.sort.mtime">Last changed</option>
|
||||
<option value="name" data-i18n="flt.sort.name">Name (A–Z)</option>
|
||||
<option value="priority" data-i18n="flt.sort.priority">Priority</option>
|
||||
<option value="size" data-i18n="flt.sort.size">Size</option>
|
||||
<option value="clean" data-i18n="flt.sort.clean">Cleanable</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 class="homebar" id="homeBar"></div>
|
||||
<div id="homeGrid"></div>
|
||||
@@ -870,18 +955,18 @@
|
||||
<div class="stkpis" id="acKpis"></div>
|
||||
<section class="stcard">
|
||||
<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>
|
||||
<div class="heatscroll"><div class="heat" id="acHeat" role="grid" aria-label="Aktive Projekte pro Tag"></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="heatscroll"><div class="heat" id="acHeat" role="grid" data-i18n-title="act.perDay" aria-label="Active projects per day"></div></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>
|
||||
</section>
|
||||
<div class="acgrid">
|
||||
<section class="stcard"><h4 class="sth" id="acDayTitle">Tag</h4><div id="acDay"></div></section>
|
||||
<section class="stcard"><h4 class="sth">Zuletzt aktiv</h4>
|
||||
<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" data-i18n="act.recent">Recently active</h4>
|
||||
<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 id="acTop"></div></section>
|
||||
</div>
|
||||
@@ -893,21 +978,21 @@
|
||||
<div class="stgrid">
|
||||
<section class="stcard stmapcard">
|
||||
<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>
|
||||
<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>
|
||||
</section>
|
||||
<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>
|
||||
</section>
|
||||
</div>
|
||||
<section class="stcard">
|
||||
<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>
|
||||
<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>
|
||||
<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><span data-i18n="st.deleteSelected">Delete selected</span></button></div>
|
||||
</div>
|
||||
<div class="tablewrap"><table class="list sttable" id="stHogs"></table></div>
|
||||
</section>
|
||||
@@ -916,14 +1001,14 @@
|
||||
<div id="tasks" class="view">
|
||||
<div class="taskbarTop">
|
||||
<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="done"><svg class="i sm"><use href="/icons.svg#circle-check"/></svg>Erledigt</button>
|
||||
<button data-mode="all"><svg class="i sm"><use href="/icons.svg#list"/></svg>Alle</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><span data-i18n="task.done">Done</span></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 class="taskadd">
|
||||
<select id="taskProject" title="Projekt"></select>
|
||||
<input type="text" id="taskNew" placeholder="Neue Aufgabe… (Enter)">
|
||||
<button class="btn primary" id="taskNewBtn"><svg class="i"><use href="/icons.svg#plus"/></svg>Hinzufügen</button>
|
||||
<select id="taskProject" data-i18n-title="task.project" title="Project"></select>
|
||||
<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><span data-i18n="task.add">Add</span></button>
|
||||
</div>
|
||||
</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>
|
||||
<div class="sub" id="panelSub"></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 class="pquick">
|
||||
<button class="btn" id="btnOpenFolder"><svg class="i"><use href="/icons.svg#folder-open"/></svg>Explorer</button>
|
||||
<button class="btn" id="btnVsCode"><svg class="i"><use href="/icons.svg#code-xml"/></svg>VS Code</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="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" 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><span data-i18n="panel.vscode">VS Code</span></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" 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 class="seg" id="ptabs">
|
||||
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg>Bearbeiten</button>
|
||||
<button data-sec="info"><svg class="i"><use href="/icons.svg#info"/></svg>Info</button>
|
||||
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg>Aktionen</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><span data-i18n="panel.info">Info</span></button>
|
||||
<button data-sec="actions"><svg class="i"><use href="/icons.svg#play"/></svg><span data-i18n="panel.actions">Actions</span></button>
|
||||
</div>
|
||||
<div class="pbody">
|
||||
<div id="sec-info" class="psec"></div>
|
||||
@@ -957,50 +1042,50 @@
|
||||
<div id="sec-edit" class="psec active field">
|
||||
<div class="grid2">
|
||||
<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">
|
||||
<option value="idea">Idee</option>
|
||||
<option value="active">Aktiv</option>
|
||||
<option value="paused">Pausiert</option>
|
||||
<option value="done">Fertig</option>
|
||||
<option value="archived">Archiviert</option>
|
||||
<option value="idea" data-i18n="status.idea">Idea</option>
|
||||
<option value="active" data-i18n="status.active">Active</option>
|
||||
<option value="paused" data-i18n="status.paused">Paused</option>
|
||||
<option value="done" data-i18n="status.done">Done</option>
|
||||
<option value="archived" data-i18n="status.archived">Archived</option>
|
||||
</select>
|
||||
</div>
|
||||
<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">
|
||||
<option value="low">Niedrig</option>
|
||||
<option value="medium">Mittel</option>
|
||||
<option value="high">Hoch</option>
|
||||
<option value="low" data-i18n="prio.low">Low</option>
|
||||
<option value="medium" data-i18n="prio.medium">Medium</option>
|
||||
<option value="high" data-i18n="prio.high">High</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="adv" style="display:contents">
|
||||
<label><svg class="i sm"><use href="/icons.svg#tags"/></svg>Tags (mit Komma getrennt)</label>
|
||||
<input type="text" id="fTags" placeholder="spiel, 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#tags"/></svg><span data-i18n="panel.tags">Tags (comma-separated)</span></label>
|
||||
<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><span data-i18n="panel.image">Image / icon (path in the project, optional)</span></label>
|
||||
<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">
|
||||
</div>
|
||||
<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">
|
||||
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
|
||||
</div>
|
||||
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg>Notizen</label>
|
||||
<textarea id="fNotes" placeholder="Was fehlt noch, nächste Schritte…"></textarea>
|
||||
<label><svg class="i sm"><use href="/icons.svg#list-checks"/></svg>Aufgaben</label>
|
||||
<label><svg class="i sm"><use href="/icons.svg#notebook-pen"/></svg><span data-i18n="panel.notes">Notes</span></label>
|
||||
<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><span data-i18n="panel.tasks">Tasks</span></label>
|
||||
<ul id="taskList"></ul>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pfoot">
|
||||
<button class="btn" id="btnCancel">Abbrechen</button>
|
||||
<button class="btn primary" id="btnSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</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><span data-i18n="common.save">Save</span></button>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
@@ -1011,7 +1096,7 @@
|
||||
<h3>Backup</h3>
|
||||
<div class="sub hint" id="bpTarget"></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 class="pbody" id="bpBody"></div>
|
||||
</aside>
|
||||
@@ -1020,210 +1105,223 @@
|
||||
<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 style="min-width:0">
|
||||
<h3 id="spTitle">Einstellungen</h3>
|
||||
<div class="sub hint" id="spSub">Gilt für das ganze Dashboard</div>
|
||||
<h3 id="spTitle" data-i18n="set.title">Settings</h3>
|
||||
<div class="sub hint" id="spSub" data-i18n="set.sub">Applies to the whole dashboard</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 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 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 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><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="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 class="pbody">
|
||||
<div id="spWelcome" class="msg info" style="display:none;margin:0">
|
||||
<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.
|
||||
Ein Backup-Ziel kannst du jetzt oder später im Reiter „Backup“ festlegen.</div>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<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="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="fImportOpen" type="button"><svg class="i"><use href="/icons.svg#folder-plus"/></svg>Mehrere einlesen…</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="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><span data-i18n="set.importSeveral">Import several…</span></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 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">
|
||||
<input type="text" id="fImportPath" placeholder="z. B. D:\Arbeit">
|
||||
<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" type="button" id="fImportList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
||||
<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="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><span data-i18n="common.show">Show</span></button>
|
||||
</div>
|
||||
<div id="fImportBody"></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 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="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">
|
||||
<label for="fExInput">Nicht sichern</label>
|
||||
<div class="xchips" id="fExDirs"><input id="fExInput" placeholder="Ordnername + Enter" autocomplete="off"></div>
|
||||
<div class="hint" style="margin:0">Werden überall übersprungen, weil sie sich neu erzeugen lassen.</div>
|
||||
<label for="fExInput" data-i18n="set.exclude">Don't back up</label>
|
||||
<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" data-i18n="set.exclude.hint">Skipped everywhere, because they can be regenerated.</div>
|
||||
</div>
|
||||
<div class="spfield">
|
||||
<label for="fRemind">Erinnerung</label>
|
||||
<div class="remindrow">Backup fällig, wenn ein Projekt geändert wurde und das letzte Backup älter ist als
|
||||
<input type="number" id="fRemind" min="1" max="365" step="1"> Tage</div>
|
||||
<div class="hint" style="margin:0">Solche Projekte zeigt der Filter „Backup fällig“; einmal am Tag erscheint ein Hinweis.</div>
|
||||
<label for="fRemind" data-i18n="set.remind">Reminder</label>
|
||||
<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"> <span data-i18n="set.remind.days">days</span></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 class="spfield">
|
||||
<label for="fAutoInt">Automatisch sichern</label>
|
||||
<label for="fAutoInt" data-i18n="set.auto">Automatic backup</label>
|
||||
<div class="remindrow">
|
||||
<select id="fAutoInt" class="autosel">
|
||||
<option value="off">Aus</option>
|
||||
<option value="start">Bei jedem Start</option>
|
||||
<option value="hourly">Stündlich</option>
|
||||
<option value="daily">Täglich</option>
|
||||
<option value="weekly">Wöchentlich</option>
|
||||
<option value="off" data-i18n="set.auto.off">Off</option>
|
||||
<option value="start" data-i18n="set.auto.start">On every start</option>
|
||||
<option value="hourly" data-i18n="set.auto.hourly">Hourly</option>
|
||||
<option value="daily" data-i18n="set.auto.daily">Daily</option>
|
||||
<option value="weekly" data-i18n="set.auto.weekly">Weekly</option>
|
||||
</select>
|
||||
<span id="fAutoDayWrap">am <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="5">Freitag</option><option value="6">Samstag</option><option value="0">Sonntag</option></select></span>
|
||||
<span id="fAutoTimeWrap">um <input type="time" id="fAutoTime"> Uhr</span>
|
||||
<span id="fAutoTargetWrap">auf <select id="fAutoTarget" class="autosel"></select></span>
|
||||
<span id="fAutoDayWrap"><span data-i18n="set.auto.on">on</span> <select id="fAutoDay" class="autosel">
|
||||
<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" 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"><span data-i18n="set.auto.at">at</span> <input type="time" id="fAutoTime"> <span data-i18n="set.auto.oclock"></span></span>
|
||||
<span id="fAutoTargetWrap"><span data-i18n="set.auto.to">to</span> <select id="fAutoTarget" class="autosel"></select></span>
|
||||
</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>
|
||||
<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 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">
|
||||
<label for="fItchProfile">Öffentliches Profil</label>
|
||||
<label for="fItchProfile" data-i18n="set.itch.profile">Public profile</label>
|
||||
<div class="pickrow">
|
||||
<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 class="spstatus" id="spItch"></div>
|
||||
</section>
|
||||
|
||||
<section class="spane" data-spane="general" hidden>
|
||||
<div class="sphead"><h4>Allgemein</h4><p>Wo das Dashboard seine Daten ablegt.</p></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>Datenordner öffnen</button></div>
|
||||
<div class="appwin" id="appWin" hidden>
|
||||
<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 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="spfield">
|
||||
<label for="fLang" data-i18n="set.language">Language</label>
|
||||
<select id="fLang" class="autosel"></select>
|
||||
</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">
|
||||
<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>
|
||||
</div>
|
||||
<div class="msg err" id="spError" style="display:none"></div>
|
||||
<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 class="kbd" title="Tastenkürzel">Strg+S</span>
|
||||
<button class="btn ghost" id="spCancel">Abbrechen</button>
|
||||
<button class="btn primary" id="spSave"><svg class="i"><use href="/icons.svg#save"/></svg>Speichern</button>
|
||||
<span class="kbd" data-i18n-title="set.shortcut" title="Shortcut">Ctrl+S</span>
|
||||
<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><span data-i18n="common.save">Save</span></button>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<dialog id="rootDlg" class="dlg">
|
||||
<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>
|
||||
<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>
|
||||
<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" 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">
|
||||
<input type="text" id="rdPath" placeholder="z. B. D:\Arbeit">
|
||||
<button class="btn pickbtn" type="button" id="rdPick"><svg class="i"><use href="/icons.svg#folder-search"/></svg>Durchsuchen…</button>
|
||||
<button class="btn" type="button" id="rdList"><svg class="i"><use href="/icons.svg#list"/></svg>Anzeigen</button>
|
||||
<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><span data-i18n="common.browse">Browse…</span></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 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="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>
|
||||
</dialog>
|
||||
|
||||
<dialog id="moveDlg" class="dlg">
|
||||
<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>
|
||||
<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">
|
||||
<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>
|
||||
<div class="msg info" id="mvCopy" hidden style="margin-top:10px">
|
||||
<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.
|
||||
<label class="chk" style="margin-top:6px"><input type="checkbox" id="mvCopyOk"> Verstanden – kopieren und Original danach löschen</label></div>
|
||||
<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"> <span data-i18n="dlg.move.copyOk">Understood – copy and delete the original afterwards</span></label></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="dlgfoot">
|
||||
<button class="btn" type="button" id="mvCancel">Abbrechen</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" 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 data-i18n="common.apply">Apply</span></button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<dialog id="newDlg" class="dlg">
|
||||
<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>
|
||||
<label><svg class="i sm"><use href="/icons.svg#copy"/></svg>Vorlage</label>
|
||||
<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><span data-i18n="dlg.new.template">Template</span></label>
|
||||
<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">
|
||||
<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>
|
||||
<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="nGit"> git-Verlauf mitkopieren (Achtung: gleicher Remote wie das Original)</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>
|
||||
<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"> <span data-i18n="dlg.new.withGit">Copy git history too (note: same remote as the original)</span></label>
|
||||
<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 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="dlgfoot">
|
||||
<button class="btn" type="button" id="nCancel">Abbrechen</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" 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 data-i18n="dlg.new.create">Create</span></button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
<dialog id="itchDlg" class="dlg wide">
|
||||
<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>
|
||||
<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="itchReload" title="Neu laden"><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="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" 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" data-i18n-title="common.closeEsc" title="Close (Esc)"><svg class="i"><use href="/icons.svg#x"/></svg></button>
|
||||
</div>
|
||||
<div id="itchBody"></div>
|
||||
</dialog>
|
||||
|
||||
<dialog id="nestDlg" class="dlg wide">
|
||||
<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>
|
||||
<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 id="nestBody"></div>
|
||||
<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>
|
||||
<button class="btn" type="button" id="nestCancel">Abbrechen</button>
|
||||
<button class="btn primary" type="button" id="nestOk"><svg class="i"><use href="/icons.svg#check"/></svg>Übernehmen</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><span data-i18n="common.apply">Apply</span></button>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<div id="toast"></div>
|
||||
<script src="lang.js"></script>
|
||||
<script src="i18n.js"></script>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
1438
public/lang.js
Normal file
1438
public/lang.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user