demo-version: höchstens 6 projekte
- edition.json (nur im Demo-Build) bzw. DASHBOARD_DEMO=1 schaltet die Demo ein. projectList() gibt dann fest nach Name die ersten 6 Projekte aus; Board, Galerie, Liste, Kennzahlen, Speicher, Aktivität, Details, Aktionen, Löschen und Aufräumen kennen damit nur diese 6. - Backup: robocopy schließt in der Demo alle übrigen Projektordner per /XD aus (auch die automatische Sicherung). - Neu/Klonen: Server lehnt ab Grenze ab, Oberfläche zeigt einen Kauf-Hinweis. - Demo-Banner "Demo – 6 von N Projekten sichtbar" + "Vollversion holen", Demo-Badge und Kauf-Button unter Einstellungen → Über. EN/DE. - build.ps1 -Demo → release\ProjectDashboard-Demo.exe und ProjectDashboard-Demo-Setup.exe; der Installer nutzt dieselbe AppId wie die Vollversion, die ihn später am selben Ort ersetzt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,14 @@
|
||||
.updbanner[hidden] { display: none; }
|
||||
.updbanner span { flex: 1; min-width: 0; }
|
||||
.updbanner .btn { padding: 5px 12px; }
|
||||
/* demo edition: slim upsell line under the header */
|
||||
.demobanner { display: flex; align-items: center; gap: 10px; padding: 6px 22px; background: var(--surface-2); color: var(--text); font-size: 12.5px; border-top: 1px solid var(--border); }
|
||||
.demobanner[hidden] { display: none; }
|
||||
.demobanner > .i { color: var(--accent-text); }
|
||||
.demobanner span { flex: 1; min-width: 0; }
|
||||
.demobanner .btn { padding: 4px 11px; font-size: 12.5px; text-decoration: none; }
|
||||
.about .ver.demo { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
|
||||
.about [hidden] { display: none !important; }
|
||||
.rootpick { position: relative; }
|
||||
#rootBtn { display: flex; align-items: center; gap: 5px; border: none; background: none; padding: 2px 6px; margin: -2px -6px; border-radius: 7px; cursor: pointer; max-width: 260px; }
|
||||
#rootBtn h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
@@ -817,7 +825,7 @@
|
||||
.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; }
|
||||
.about a.btn { margin-left: auto; text-decoration: none; }
|
||||
#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; }
|
||||
@@ -949,6 +957,11 @@
|
||||
<span id="updText"></span>
|
||||
<button class="btn primary" type="button" id="updBtn"></button>
|
||||
</div>
|
||||
<div class="demobanner" id="demoBanner" hidden>
|
||||
<svg class="i"><use href="/icons.svg#sparkles"/></svg>
|
||||
<span id="demoText"></span>
|
||||
<a class="btn primary" id="demoBuy" target="_blank" rel="noopener"><svg class="i"><use href="/icons.svg#rocket"/></svg><span data-i18n="demo.buy">Get the full version</span></a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="kpis" id="kpis"></section>
|
||||
@@ -1270,7 +1283,9 @@
|
||||
<div class="about">
|
||||
<span class="anm" data-i18n="set.product">Project Dashboard</span>
|
||||
<span class="ver" id="spVersion"></span>
|
||||
<span class="ver demo" id="spDemo" data-i18n="demo.badge" hidden>Demo</span>
|
||||
<span>© 2026 Michael Media</span>
|
||||
<a class="btn primary" id="spBuy" target="_blank" rel="noopener" hidden><svg class="i"><use href="/icons.svg#rocket"/></svg><span data-i18n="demo.buy">Get the full version</span></a>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user