Changeset 5e95aac in Klonkt
- Timestamp:
- 06/14/2026 06:23:48 PM (3 months ago)
- Branches:
- main
- Children:
- a3169f5
- Parents:
- c869272
- Location:
- src
- Files:
-
- 2 edited
-
server.js (modified) (1 diff)
-
views/pages/admin-users.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/server.js
rc869272 r5e95aac 264 264 function _renderFavicon(res, accent) { 265 265 const safeAccent = /^#[0-9a-fA-F]{3,8}$/.test(accent) ? accent : '#c2410c'; 266 // Site mark: rounded square in the site accent + bold white ' SF'266 // Site mark: rounded square in the site accent + bold white 'K' (Klonkt) 267 267 const svg = `<?xml version="1.0" encoding="UTF-8"?> 268 268 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"> 269 269 <rect width="64" height="64" rx="14" fill="${safeAccent}"/> 270 <text x="50%" y="50%" dy="0.3 6em" text-anchor="middle"270 <text x="50%" y="50%" dy="0.35em" text-anchor="middle" 271 271 font-family="Arial, Helvetica, sans-serif" 272 font-size=" 30" font-weight="800" letter-spacing="-1" fill="#fff">SF</text>272 font-size="42" font-weight="800" fill="#fff">K</text> 273 273 </svg>`; 274 274 res.set('Content-Type', 'image/svg+xml'); -
src/views/pages/admin-users.ejs
rc869272 r5e95aac 199 199 /* ─── Role select + delete ────────────────────────────────────── */ 200 200 .ax-user-controls { 201 display: flex; gap: 0.5rem; align-items: center;201 display: flex; gap: 0.5rem; align-items: flex-end; 202 202 flex-shrink: 0; 203 203 } … … 215 215 } 216 216 .ax-role select { 217 width: 112px; 218 height: 40px; 219 box-sizing: border-box; 217 220 padding: 0.4rem 1.75rem 0.4rem 0.6rem; 218 221 border: 1px solid var(--rule);
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)