Changeset e954722 in Klonkt for src/views/partials/profile-sheet.ejs
- Timestamp:
- 06/30/2026 12:23:37 AM (2 months ago)
- Branches:
- main
- Children:
- 80797d7
- Parents:
- f882048
- File:
-
- 1 edited
-
src/views/partials/profile-sheet.ejs (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/partials/profile-sheet.ejs
rf882048 re954722 52 52 <a href="/account" class="profile-sheet-item" role="menuitem" data-close-sheet> 53 53 <svg class="psi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><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> 54 <span class="psi-label"> Account</span>54 <span class="psi-label"><%= t('nav.account') %></span> 55 55 <svg class="psi-chev" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg> 56 56 </a> … … 79 79 <a href="/admin" class="profile-sheet-item" role="menuitem" data-close-sheet> 80 80 <svg class="psi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 3h7v7H3zM14 3h7v7h-7zM14 14h7v7h-7zM3 14h7v7H3z"/></svg> 81 <span class="psi-label"> Beheer</span>81 <span class="psi-label"><%= t('nav.admin') %></span> 82 82 <svg class="psi-chev" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg> 83 83 </a> … … 90 90 hx-push-url="<%= _base %>/posts/new" hx-indicator="#pcms-loading"> 91 91 <svg class="psi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"/></svg> 92 <span class="psi-label"> Nieuwe post</span>92 <span class="psi-label"><%= t('nav.new_post') %></span> 93 93 <svg class="psi-chev" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 18 15 12 9 6"/></svg> 94 94 </a> … … 104 104 <button type="button" class="profile-sheet-item" id="profile-sheet-theme" role="menuitemcheckbox"> 105 105 <svg class="psi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"/></svg> 106 <span class="psi-label"> Thema</span>107 <span class="psi-meta" id="profile-sheet-theme-state"> Donker</span>106 <span class="psi-label"><%= t('nav.theme_label') %></span> 107 <span class="psi-meta" id="profile-sheet-theme-state"><%= t('nav.dark') %></span> 108 108 </button> 109 109 </li> … … 117 117 <a href="/auth/logout" class="profile-sheet-item is-destructive" role="menuitem"> 118 118 <svg class="psi-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/></svg> 119 <span class="psi-label"> Uitloggen</span>119 <span class="psi-label"><%= t('nav.logout') %></span> 120 120 </a> 121 121 </li> … … 409 409 if (!themeLbl) return; 410 410 const t = document.documentElement.getAttribute('data-theme') || 'dark'; 411 themeLbl.textContent = t === 'dark' ? ' Donker' : 'Licht';411 themeLbl.textContent = t === 'dark' ? '<%= t('nav.dark') %>' : '<%= t('nav.light') %>'; 412 412 } 413 413 if (themeBtn) {
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)