Changeset 44cf44d in Klonkt
- Timestamp:
- 06/17/2026 12:12:59 AM (3 months ago)
- Branches:
- main
- Children:
- 79bba6e
- Parents:
- 3cd1aaa
- Location:
- src/views
- Files:
-
- 2 edited
-
pages/hub-home.ejs (modified) (1 diff)
-
partials/topnav.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/hub-home.ejs
r3cd1aaa r44cf44d 6 6 <% if (user) { %> 7 7 <% if (typeof canSeeBeheer !== 'undefined' && canSeeBeheer) { %> 8 <a class="hub-nav-link" href="/admin">Beheer</a> 8 <a class="hub-nav-link" href="/admin" 9 hx-get="/admin?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 10 hx-push-url="/admin" hx-indicator="#pcms-loading">Beheer</a> 9 11 <% } %> 10 <a class="hub-nav-link" href="/account"><%= user.username %></a> 12 <a class="hub-nav-link" href="/account" 13 hx-get="/account?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 14 hx-push-url="/account" hx-indicator="#pcms-loading"><%= user.username %></a> 11 15 <a class="hub-nav-link" href="/auth/logout">Uitloggen</a> 12 16 <% } else { %> -
src/views/partials/topnav.ejs
r3cd1aaa r44cf44d 114 114 </div> 115 115 <div class="user-dropdown-list"> 116 <a href="/account" role="menuitem" class="udi"> 116 <a href="/account" role="menuitem" class="udi" 117 hx-get="/account?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 118 hx-push-url="/account" hx-indicator="#pcms-loading"> 117 119 <svg class="udi-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> 118 120 <span>Account</span> 119 121 </a> 120 122 <% if (typeof canSeeBeheer !== 'undefined' && canSeeBeheer) { %> 121 <a href="/admin" role="menuitem" class="udi"> 123 <a href="/admin" role="menuitem" class="udi" 124 hx-get="/admin?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 125 hx-push-url="/admin" hx-indicator="#pcms-loading"> 122 126 <svg class="udi-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 3h7v7H3z"/><path d="M14 3h7v7h-7z"/><path d="M14 14h7v7h-7z"/><path d="M3 14h7v7H3z"/></svg> 123 127 <span>Beheer</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)