Changeset c3d12a6 in Klonkt for src/views/pages
- Timestamp:
- 07/21/2026 02:07:18 AM (7 weeks ago)
- Branches:
- main
- Children:
- 9019a3e
- Parents:
- 603d246
- git-author:
- Robin <roboburr@…> (07/21/2026 02:07:07 AM)
- git-committer:
- Robin <roboburr@…> (07/21/2026 02:07:18 AM)
- Location:
- src/views/pages
- Files:
-
- 3 edited
-
admin-paid.ejs (modified) (1 diff)
-
paid-gate.ejs (modified) (2 diffs)
-
paid-result.ejs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-paid.ejs
r603d246 rc3d12a6 47 47 <input type="text" name="campaign_id" value="<%= status.campaignId || '' %>" autocomplete="off" style="width:100%"> 48 48 </label> 49 <label>Openbare Patreon-pagina 50 <input type="url" name="patreon_url" value="<%= status.patreonUrl || '' %>" placeholder="https://www.patreon.com/jouwnaam" autocomplete="off" style="width:100%"> 51 <small style="color:var(--ink-soft,#888)">De link waar bezoekers supporter kunnen worden. Getoond als "Word supporter" wanneer iemand nog niet doneert.</small> 52 </label> 49 53 <label>Creator access token 50 54 <input type="password" name="access_token" placeholder="blijft ongewijzigd" autocomplete="off" style="width:100%"> -
src/views/pages/paid-gate.ejs
r603d246 rc3d12a6 20 20 <button type="button" id="pg-unlock" class="pg-btn">Ontgrendelen</button> 21 21 <p id="pg-status" class="pg-status" hidden></p> 22 <% if (typeof pgPatronUrl !== 'undefined' && pgPatronUrl) { %> 23 <p class="pg-join">Nog geen supporter? <a href="<%= pgPatronUrl %>" target="_blank" rel="noopener">Word het op Patreon</a> en ontgrendel daarna met je passkey.</p> 24 <% } %> 22 25 </section> 23 26 </article> … … 88 91 .pg-status { margin: 12px 0 0; opacity: .9; } 89 92 .pg-status.is-err { color: #c0392b; } 93 .pg-join { margin: 14px 0 0; font-size: .92rem; opacity: .8; } 90 94 </style> -
src/views/pages/paid-result.ejs
r603d246 rc3d12a6 1 <% 2 var _slug = (typeof postSlug !== 'undefined' && postSlug) ? postSlug : ''; 3 var _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 4 var _patron = (typeof patronUrl !== 'undefined' && patronUrl) ? patronUrl : ''; 5 %> 1 6 <section class="pr"> 2 7 <div class="pr-card"> … … 4 9 <% if (reason === 'notpatron') { %> 5 10 <h1 class="pr-h1">Nog geen supporter</h1> 6 <p class="pr-sub">Je bent (nog) geen actieve supporter van deze site op Patreon. Word supporter en probeer het opnieuw.</p>11 <p class="pr-sub">Je bent (nog) geen actieve supporter van deze site op Patreon. Word supporter en probeer het daarna opnieuw vanaf de post.</p> 7 12 <% } else if (reason === 'tier') { %> 8 13 <h1 class="pr-h1">Een niveau hoger nodig</h1> … … 11 16 Jouw steun is nu €<%= ((typeof haveCents !== 'undefined' ? haveCents : 0)/100).toFixed(2) %>. Verhoog je steun en probeer opnieuw. 12 17 </p> 18 <% } else if (reason === 'expired') { %> 19 <h1 class="pr-h1">Aanvraag verlopen</h1> 20 <p class="pr-sub">Deze ontgrendel-link is verlopen of al gebruikt. Ga terug naar de post en probeer het opnieuw.</p> 13 21 <% } else { %> 14 22 <h1 class="pr-h1">Ontgrendelen afgebroken</h1> 15 23 <p class="pr-sub">Er is niets gekoppeld. Je kunt het opnieuw proberen vanaf de post.</p> 16 24 <% } %> 17 <% if (typeof postSlug !== 'undefined' && postSlug) { %> 18 <p><a class="pr-btn" href="<%= (typeof siteUrlBase !== 'undefined' && siteUrlBase ? siteUrlBase : '') %>/<%= postSlug %>">Terug naar de post</a></p> 19 <% } %> 25 26 <div class="pr-actions"> 27 <% if ((reason === 'notpatron' || reason === 'tier') && _patron) { %> 28 <a class="pr-btn" href="<%= _patron %>" target="_blank" rel="noopener">Word supporter op Patreon</a> 29 <% } %> 30 <% if (_slug) { %> 31 <a class="pr-btn pr-btn-ghost" href="<%= _base %>/<%= _slug %>">Terug naar de post</a> 32 <% } else { %> 33 <a class="pr-btn pr-btn-ghost" href="<%= _base %>/">Terug naar de site</a> 34 <% } %> 35 </div> 20 36 </div> 21 37 </section> … … 26 42 .pr-ic { font-size: 38px; margin-bottom: 6px; } 27 43 .pr-h1 { font-size: 23px; margin: 0 0 8px; } 28 .pr-sub { opacity: .85; line-height: 1.6; margin: 0 0 18px; } 44 .pr-sub { opacity: .85; line-height: 1.6; margin: 0 0 20px; } 45 .pr-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; } 29 46 .pr-btn { display: inline-block; padding: 11px 20px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; } 47 .pr-btn-ghost { background: transparent; color: var(--ink,#222); border: 1px solid color-mix(in srgb, var(--ink,#000) 22%, transparent); } 30 48 </style>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)