Changeset 99989f9 in Klonkt
- Timestamp:
- 06/28/2026 04:57:19 PM (2 months ago)
- Branches:
- main
- Children:
- 201ec06
- Parents:
- 74c5abc
- Location:
- src/views
- Files:
-
- 9 edited
-
pages/account.ejs (modified) (1 diff)
-
pages/admin-site-edit.ejs (modified) (1 diff)
-
pages/admin-users.ejs (modified) (1 diff)
-
pages/epk.ejs (modified) (1 diff)
-
pages/user.ejs (modified) (1 diff)
-
partials/bottom-tab.ejs (modified) (1 diff)
-
partials/profile-header.ejs (modified) (2 diffs)
-
partials/profile-sheet.ejs (modified) (1 diff)
-
partials/topnav.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/account.ejs
r74c5abc r99989f9 30 30 <% var _av = (typeof siteAvatar !== 'undefined' ? siteAvatar : null); %> 31 31 <% if (_av) { %> 32 <img src="<%= _av%>" alt="">32 <img src="<%= avatar(_av, 128) %>" alt=""> 33 33 <% } else { %> 34 34 <span><%= account.username.charAt(0).toUpperCase() %></span> -
src/views/pages/admin-site-edit.ejs
r74c5abc r99989f9 50 50 <div class="photo-picker" id="photo-picker"> 51 51 <div class="photo-thumb" id="photo-thumb" <%= site.profile_photo ? '' : 'data-empty' %>> 52 <img id="photo-preview" src="<%= site.profile_photo || ''%>" alt="" <%= site.profile_photo ? '' : 'hidden' %>>52 <img id="photo-preview" src="<%= avatar(site.profile_photo || '', 128) %>" alt="" <%= site.profile_photo ? '' : 'hidden' %>> 53 53 <span class="photo-empty" aria-hidden="true"> 54 54 <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg> -
src/views/pages/admin-users.ejs
r74c5abc r99989f9 42 42 <div class="ax-user-id"> 43 43 <% if (u.avatar_url) { %> 44 <img class="ax-avatar" src="<%= u.avatar_url%>" alt="">44 <img class="ax-avatar" src="<%= avatar(u.avatar_url, 128) %>" alt=""> 45 45 <% } else { %> 46 46 <span class="ax-avatar ax-avatar-empty"><%= u.username.charAt(0).toUpperCase() %></span> -
src/views/pages/epk.ejs
r74c5abc r99989f9 9 9 <section class="epk" <%= _accent ? ('style="--epk-accent:' + _accent + '"') : '' %>> 10 10 <header class="epk-hero"> 11 <% if (_photo) { %><div class="epk-photo"><img src="<%= _photo%>" alt="<%= site.title %>"></div><% } %>11 <% if (_photo) { %><div class="epk-photo"><img src="<%= avatar(_photo, 320) %>" alt="<%= site.title %>"></div><% } %> 12 12 <div class="epk-hero-text"> 13 13 <div class="epk-kicker"><%= t('epk.kicker') %><% if (typeof user !== 'undefined' && user && user.role === 'god') { %> <a class="epk-edit-link" href="/admin/epk">✎ <%= t('epk.edit') %></a><% } %></div> -
src/views/pages/user.ejs
r74c5abc r99989f9 3 3 <div class="user-avatar-large"> 4 4 <% if (author.avatar_url) { %> 5 <img src="<%= a uthor.avatar_url%>" alt="">5 <img src="<%= avatar(author.avatar_url, 320) %>" alt=""> 6 6 <% } else { %> 7 7 <span><%= author.username.charAt(0).toUpperCase() %></span> -
src/views/partials/bottom-tab.ejs
r74c5abc r99989f9 85 85 aria-label="Profiel menu" aria-haspopup="dialog"> 86 86 <% if (user.avatar_url) { %> 87 <img class="bottom-tab-avatar bottom-tab-avatar-img" src="<%= user.avatar_url%>" alt="">87 <img class="bottom-tab-avatar bottom-tab-avatar-img" src="<%= avatar(user.avatar_url, 128) %>" alt=""> 88 88 <% } else { %> 89 89 <span class="bottom-tab-avatar"><%= user.username.charAt(0).toUpperCase() %></span> -
src/views/partials/profile-header.ejs
r74c5abc r99989f9 44 44 <button type="button" class="profile-photo" data-pf-summary aria-label="<%= _displayName || 'Profile' %>"> 45 45 <% if (_avatarUrl) { %> 46 <img src="<%= _avatarUrl%>" alt="">46 <img src="<%= avatar(_avatarUrl, 320) %>" alt=""> 47 47 <% } else if (site.enable_audio_player && (typeof audioEnabled === 'undefined' || audioEnabled)) { %> 48 48 <span class="profile-photo-fallback profile-photo-fallback--music" aria-hidden="true"> … … 112 112 <button type="button" class="pf-summary-close" aria-label="Sluiten">×</button> 113 113 <% if (_avatarUrl) { %> 114 <img class="pf-summary-photo" src="<%= _avatarUrl%>" alt="">114 <img class="pf-summary-photo" src="<%= avatar(_avatarUrl, 128) %>" alt=""> 115 115 <% } else { %> 116 116 <div class="pf-summary-photo pf-summary-photo--ph" aria-hidden="true"> -
src/views/partials/profile-sheet.ejs
r74c5abc r99989f9 37 37 <div class="profile-sheet-header"> 38 38 <% if (user.avatar_url) { %> 39 <img class="profile-sheet-avatar profile-sheet-avatar-img" src="<%= user.avatar_url%>" alt="" aria-hidden="true">39 <img class="profile-sheet-avatar profile-sheet-avatar-img" src="<%= avatar(user.avatar_url, 128) %>" alt="" aria-hidden="true"> 40 40 <% } else { %> 41 41 <div class="profile-sheet-avatar" aria-hidden="true"><%= user.username.charAt(0).toUpperCase() %></div> -
src/views/partials/topnav.ejs
r74c5abc r99989f9 113 113 <summary class="nav-btn user-toggle" aria-label="Gebruikersmenu"> 114 114 <% if (user.avatar_url) { %> 115 <img class="user-avatar user-avatar-img" src="<%= user.avatar_url%>" alt="">115 <img class="user-avatar user-avatar-img" src="<%= avatar(user.avatar_url, 128) %>" alt=""> 116 116 <% } else { %> 117 117 <span class="user-avatar"><%= user.username.charAt(0).toUpperCase() %></span> … … 121 121 <div class="user-dropdown-header"> 122 122 <% if (user.avatar_url) { %> 123 <img class="udh-avatar" src="<%= user.avatar_url%>" alt="">123 <img class="udh-avatar" src="<%= avatar(user.avatar_url, 128) %>" alt=""> 124 124 <% } else { %> 125 125 <span class="udh-avatar udh-avatar-fallback"><%= user.username.charAt(0).toUpperCase() %></span>
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)