UX: Hinweis 'Welten bearbeiten' im Ausgeblendete-Funktionen-Sheet (SW by-v929)
This commit is contained in:
parent
00457f52f9
commit
3585958c47
4 changed files with 23 additions and 3 deletions
|
|
@ -373,6 +373,22 @@ window.Worlds = (() => {
|
|||
${sections || `<div style="text-align:center;padding:24px 0;color:var(--c-text-secondary);font-size:var(--text-sm)">
|
||||
Alle Funktionen sind bereits in deinen Welten sichtbar.
|
||||
</div>`}
|
||||
<div style="margin-top:16px;padding:12px 14px;border-radius:12px;
|
||||
background:var(--c-surface-raised,rgba(0,0,0,.04));
|
||||
font-size:var(--text-xs);color:var(--c-text-secondary);line-height:1.6;
|
||||
display:flex;align-items:flex-start;gap:10px">
|
||||
<svg class="ph-icon" style="width:1rem;height:1rem;flex-shrink:0;margin-top:1px;color:var(--c-primary)">
|
||||
<use href="/icons/phosphor.svg#info"></use>
|
||||
</svg>
|
||||
<span>Einzelne Funktionen ausblenden oder zwischen den Welten verschieben:
|
||||
<button id="fab-all-goto-worlds" style="background:none;border:none;padding:0;cursor:pointer;
|
||||
color:var(--c-primary);font-size:inherit;font-family:inherit;font-weight:600;
|
||||
text-decoration:underline;text-underline-offset:2px">
|
||||
Welten bearbeiten
|
||||
</button>
|
||||
in deinem Profil.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
|
@ -387,6 +403,10 @@ window.Worlds = (() => {
|
|||
navigateTo(btn.dataset.page);
|
||||
});
|
||||
});
|
||||
ov.querySelector('#fab-all-goto-worlds')?.addEventListener('click', () => {
|
||||
_close();
|
||||
_openConfigModal();
|
||||
});
|
||||
}
|
||||
|
||||
// ── SCHNELL-GASSI ─────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue