Changeset 834bcc3 in Klonkt for src/views/pages/admin-settings.ejs
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/views/pages/admin-settings.ejs (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
rbb42dfb r834bcc3 40 40 </section> 41 41 42 <%# ── Standaardtaal voor bezoekers ── %>42 <%# ── Default language for visitors ── %> 43 43 <section class="set-card" style="margin-top:1rem"> 44 44 <h2><%= t('aset.default_lang') %></h2> … … 58 58 </section> 59 59 60 <%# ── Ti jdzone ── %>60 <%# ── Timezone ── %> 61 61 <section class="set-card" style="margin-top:1rem"> 62 62 <h2><%= t('aset.timezone') %></h2> … … 78 78 </section> 79 79 80 <%# Mod us-specifieke config — staat direct onder de Modus-kaart zodat 'ie bij81 de gekozen modus hoort (Hub bij hub, Cirkel bijcircle). %>80 <%# Mode-specific config — placed directly below the Mode card so it visually 81 belongs to the selected mode (Hub under hub, Circle under circle). %> 82 82 <% if (tenancy === 'hub') { %> 83 83 <section class="set-card set-card--mode" style="margin-top:1rem"> … … 141 141 <% } %> 142 142 143 <%# Premium (Patreon) — alleen zichtbaar als de self-hoster de premium-laag aanzet144 (env KLONKT_PREMIUM_ENABLED=on). Standaard onzichtbaar; niets gegate. %>143 <%# Premium (Patreon) — only visible when the self-hoster enables the premium layer 144 (env KLONKT_PREMIUM_ENABLED=on). Hidden by default; nothing gated. %> 145 145 <% if (premium && premium.enabled) { %> 146 146 <section class="set-card" style="margin-top:1rem"> … … 162 162 <% } %> 163 163 164 <%# Google -login staat op een eigen Beheer-pagina (compacte link hier). %>164 <%# Google login has its own admin page (compact link shown here). %> 165 165 <section class="set-card" style="margin-top:1rem"> 166 166 <h2><%= t('aset.google_login') %></h2> … … 170 170 </section> 171 171 172 <%# N ieuwsbrief-aanmelding in de footer (premium). %>172 <%# Newsletter signup in the footer (premium). %> 173 173 <% if (typeof premiumUnlocked === 'undefined' || premiumUnlocked) { %> 174 174 <section class="set-card" style="margin-top:1rem"> … … 185 185 <% } %> 186 186 187 <%# E-mail / SMTP — nodig voor nieuwsbrief versturen, notify-mails en wachtwoord-reset. %>187 <%# E-mail / SMTP — required for sending newsletters, notify-mails and password resets. %> 188 188 <section class="set-card" style="margin-top:1rem"> 189 189 <h2><%= t('aset.email_smtp') %></h2> … … 233 233 .admin-tagline a { color: var(--accent); } 234 234 .set-card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px; padding: 1.25rem; } 235 /* Mod us-specifieke kaart (Hub/Cirkel): accent-rand links zodat 'ie zichtbaar bij236 de gekozen modus hoort, direct onder de Modus-kaart. */235 /* Mode-specific card (Hub/Circle): accent border on the left so it visually 236 belongs to the selected mode, directly below the Mode card. */ 237 237 .set-card--mode { border-left: 3px solid var(--accent); } 238 238 .set-card h2 { font-family: var(--font-display, serif); font-size: 1.25rem; margin: 0 0 0.5rem; } 239 239 .set-help { color: var(--ink-muted); font-size: 0.9rem; margin: 0 0 1.25rem; } 240 /* Google -setup-gids (uitklapbaar) */240 /* Google setup guide (collapsible) */ 241 241 .set-google-guide { margin: 0 0 1rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); } 242 242 .set-google-guide > summary { cursor: pointer; padding: 0.6rem 0.85rem; font-size: 0.9rem; font-weight: 600; color: var(--accent); list-style: none; } … … 249 249 .set-google-guide .set-help { padding: 0 0.85rem; } 250 250 .set-form { display: flex; flex-direction: column; gap: 1rem; max-width: 460px; } 251 /* Kale <label>'s in een set-form krijgen dezelfde nette stacked-stijl als .set-field:252 label -tekst boven, input full-width. (.set-toggle = checkbox-rij, uitgezonderd.) */251 /* Bare <label>s inside a set-form inherit the same neat stacked style as .set-field: 252 label text on top, input full-width. (.set-toggle = checkbox row, excluded.) */ 253 253 .set-form > label:not(.set-toggle):not(.set-opt) { display: flex; flex-direction: column; gap: 0.3rem; } 254 254 .set-form > label:not(.set-toggle):not(.set-opt) > span { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft, var(--ink-muted)); } … … 277 277 .set-field textarea { resize: vertical; } 278 278 .set-field input:focus, .set-field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); } 279 /* Selects dezelfde nette stijl als de inputs i.p.v. de kale native dropdown:280 eigen chevron, accent-focus, volle breedte. */279 /* Selects styled the same as inputs instead of the bare native dropdown: 280 custom chevron, accent focus ring, full width. */ 281 281 .set-form select { 282 282 appearance: none; -webkit-appearance: none;
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)