erweiterte ansicht
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
#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: 1300px) { .seg.theme button span { display: none; } }
|
||||
@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); }
|
||||
|
||||
@@ -572,6 +572,35 @@
|
||||
.nitem .nrel b { font-weight: 600; }
|
||||
.nitem .chip { font-size: 10px; }
|
||||
.card .rootline .rtag + .rtag { margin-left: 4px; }
|
||||
body.no-itch .feat-itch { display: none !important; }
|
||||
/* simple / advanced view (switch in the header, localStorage dash.mode) */
|
||||
body.simple .adv { display: none !important; }
|
||||
body:not(.simple) .simple-only { display: none !important; }
|
||||
body.simple #kpis, body.simple .toolbar, body.simple #sec-actions .agroup-h { display: none !important; }
|
||||
body.simple #sec-edit .grid2 { grid-template-columns: 1fr; }
|
||||
.homebar { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 18px; }
|
||||
.hpill { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
|
||||
.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; }
|
||||
#homeGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
|
||||
.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; }
|
||||
.htile .hicon { width: 52px; height: 52px; border-radius: 12px; flex: 0 0 52px; overflow: hidden; position: relative; background: var(--c, var(--surface-3)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; }
|
||||
.htile .hicon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
|
||||
.htile .hname { font-size: 16px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.htile .hsub { display: flex; gap: 6px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--muted); min-width: 0; }
|
||||
.htile .hsub .rtag { margin-left: 0; }
|
||||
.htile .hdesc { font-size: 13px; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
|
||||
.htile .hdesc.none { color: var(--muted); font-style: italic; }
|
||||
.htile .hfoot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; border-top: 1px solid var(--border); padding-top: 10px; }
|
||||
.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; }
|
||||
.featrow input { margin-top: 3px; }
|
||||
.featrow b { display: inline-flex; gap: 5px; align-items: center; }
|
||||
.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; }
|
||||
@@ -752,9 +781,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="seg" id="tabs">
|
||||
<button data-view="board" class="active" title="Board"><svg class="i"><use href="/icons.svg#kanban"/></svg><span class="tl">Board</span></button>
|
||||
<button data-view="gallery" title="Galerie"><svg class="i"><use href="/icons.svg#layout-grid"/></svg><span class="tl">Galerie</span></button>
|
||||
<button data-view="list" title="Liste"><svg class="i"><use href="/icons.svg#list"/></svg><span class="tl">Liste</span></button>
|
||||
<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>
|
||||
@@ -766,6 +796,10 @@
|
||||
<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>
|
||||
</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>
|
||||
@@ -810,6 +844,10 @@
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<div id="home" class="view">
|
||||
<div class="homebar" id="homeBar"></div>
|
||||
<div id="homeGrid"></div>
|
||||
</div>
|
||||
<div id="board" class="view active"></div>
|
||||
<div id="gallery" class="view"><div id="galleryGrid"></div></div>
|
||||
<div id="list" class="view"><div class="tablewrap"><table class="list" id="listTable"></table></div></div>
|
||||
@@ -891,8 +929,8 @@
|
||||
<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" 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" 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="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>
|
||||
</div>
|
||||
<div class="seg" id="ptabs">
|
||||
<button data-sec="edit" class="active"><svg class="i"><use href="/icons.svg#pencil"/></svg>Bearbeiten</button>
|
||||
@@ -914,7 +952,7 @@
|
||||
<option value="archived">Archiviert</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<div class="adv">
|
||||
<label><svg class="i sm"><use href="/icons.svg#signal"/></svg>Priorität</label>
|
||||
<select id="fPriority">
|
||||
<option value="low">Niedrig</option>
|
||||
@@ -923,15 +961,19 @@
|
||||
</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>
|
||||
<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>
|
||||
<input type="text" id="fStart" placeholder="npm run dev">
|
||||
<label><svg class="i sm"><use href="/icons.svg#rocket"/></svg>itch.io-Seite (leer = automatisch erkennen, „-“ = nicht veröffentlicht)</label>
|
||||
<input type="text" id="fItch" placeholder="https://sn09.itch.io/spielname">
|
||||
<div class="hint" id="fItchHint" style="margin-top:-4px"></div>
|
||||
</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>
|
||||
<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>
|
||||
@@ -1055,6 +1097,10 @@
|
||||
<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="sphead" style="margin-top:8px"><h4>Funktionen</h4><p>Zusätzliches, das nicht jeder braucht. Ausgeschaltet ist davon nichts zu sehen.</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>
|
||||
</section>
|
||||
</div>
|
||||
<div class="msg err" id="spError" style="display:none"></div>
|
||||
|
||||
Reference in New Issue
Block a user