Changeset 495b019 in Klonkt for src/routes
- Timestamp:
- 10/25/2026 09:52:01 AM (2 days ago)
- Children:
- b4aaadd
- Parents:
- 5d0d3f35
- git-author:
- Bart <bart@…> (10/14/2026 02:48:46 PM)
- git-committer:
- Bart <bart@…> (10/25/2026 09:52:01 AM)
- File:
-
- 1 edited
-
src/routes/admin-sites.js (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-sites.js
r5d0d3f35 r495b019 191 191 users: listOwnerCandidates(), 192 192 palettes: ThemeService.listPalettes(), 193 layouts: ThemeService.listLayouts(), 193 194 accents: ThemeService.listAccents(), 194 195 platforms: listPlatforms(), … … 268 269 users: listOwnerCandidates(), 269 270 palettes: ThemeService.listPalettes(), 271 layouts: ThemeService.listLayouts(), 270 272 accents: ThemeService.listAccents(), 271 273 platforms: listPlatforms(), … … 334 336 // "Auto" — defer to user's prefers-color-scheme on first paint. 335 337 const themeOverride = ['light', 'dark'].includes(f.theme_override) ? f.theme_override : ''; 338 // layout: alleen een thema dat deze Klonkt kent (experimental/theme). Leeg 339 // is de gewone kop. Een onbekend id opslaan zou een site maken die naar 340 // niets verwijst, en die valt dan stil terug -- liever meteen leeg. 341 const layout = ThemeService.getLayout(f.layout) ? f.layout : null; 336 342 337 343 // accent: only accept colors from the curated ACCENTS list. Falls back to … … 342 348 UPDATE sites SET 343 349 title = ?, description = ?, tagline = ?, language = ?, 344 palette = ?, accent = ?, theme_override = ?, profile_photo = ?,350 palette = ?, accent = ?, theme_override = ?, layout = ?, profile_photo = ?, 345 351 profile_enabled = ?, 346 352 ap_aliases = ?, … … 361 367 accent, 362 368 themeOverride, 369 layout, 363 370 f.profile_photo || null, 364 371 f.profile_enabled ? 1 : 0,
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)