main
|
Last change
on this file since 9d9f3c1 was 9d9f3c1, checked in by roboburr <roboburr@…>, 3 months ago |
|
feat(epk): press kit editable (bio + press contact) via Admin
There was no edit UI for the press kit (bio fell back to the tagline, contact
empty). New: Admin → "Edit press kit" (/admin/epk, god-only + premium) with
fields Press bio + Press contact, saved as epk_bio_<siteId>/epk_contact_<siteId>
which /pers already reads. Dashboard now has "Edit press kit" + "View press kit".
Co-Authored-By: Claude <noreply@…>
|
-
Property mode
set to
100644
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | <div class="container admin-page">
|
|---|
| 2 | <h1>Perskit bewerken</h1>
|
|---|
| 3 | <p><a href="/admin" class="btn">← Beheer</a> <a href="/pers" class="btn" target="_blank" rel="noopener">📰 Bekijk perskit</a></p>
|
|---|
| 4 |
|
|---|
| 5 | <% if (success) { %><div class="alert alert-success"><%= success %></div><% } %>
|
|---|
| 6 |
|
|---|
| 7 | <section class="set-card">
|
|---|
| 8 | <h2>Tekst</h2>
|
|---|
| 9 | <p class="set-help">
|
|---|
| 10 | De perskit (<code>/pers</code>) toont je sitenaam + foto, deze bio en contact,
|
|---|
| 11 | plus automatisch je meest beluisterde nummers en recente posts. Laat de bio
|
|---|
| 12 | leeg om de site-tagline te gebruiken; laat contact leeg om niets te tonen
|
|---|
| 13 | (je login-mail wordt nooit automatisch getoond).
|
|---|
| 14 | </p>
|
|---|
| 15 |
|
|---|
| 16 | <form method="post" action="/admin/epk" class="set-form">
|
|---|
| 17 | <label class="set-field">
|
|---|
| 18 | <span>Pers-bio</span>
|
|---|
| 19 | <textarea name="epk_bio" rows="5" maxlength="1000"
|
|---|
| 20 | placeholder="Korte beschrijving van jou/het project voor pers & boekers."><%= epkBio %></textarea>
|
|---|
| 21 | </label>
|
|---|
| 22 | <label class="set-field">
|
|---|
| 23 | <span>Pers-contact</span>
|
|---|
| 24 | <input type="text" name="epk_contact" maxlength="300"
|
|---|
| 25 | placeholder="bv. pers@jouwdomein.nl of een boekingslink"
|
|---|
| 26 | value="<%= epkContact %>">
|
|---|
| 27 | </label>
|
|---|
| 28 | <button type="submit" class="btn btn-primary">Opslaan</button>
|
|---|
| 29 | </form>
|
|---|
| 30 | </section>
|
|---|
| 31 | </div>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.