Changeset 834bcc3 in Klonkt for src/views/pages/auth-login.ejs
- Timestamp:
- 06/23/2026 06:14:27 PM (3 months ago)
- Branches:
- main
- Children:
- d774679
- Parents:
- bb42dfb
- File:
-
- 1 edited
-
src/views/pages/auth-login.ejs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/auth-login.ejs
rbb42dfb r834bcc3 1 1 <% 2 // adminLogin = de verborgen beheerders-loginpagina (/auth/admin): toont het3 // gebruikersnaam/wachtwoord-formulier. De publieke /auth/login toont voor4 // bezoekers ALLEEN Google-login (luisteraars/fans). Zo staat de admin-login5 // niet zichtbaar op de plek waar bezoekers heen gestuurd worden.2 // adminLogin = the hidden admin login page (/auth/admin): shows the 3 // username/password form. The public /auth/login shows visitors 4 // ONLY Google login (listeners/fans). This keeps the admin login 5 // off the page where visitors are directed. 6 6 var _admin = (typeof adminLogin !== 'undefined' && adminLogin); 7 7 %> … … 32 32 33 33 <% if (_admin) { %> 34 <%# Verborgen beheerders-login (wachtwoord). %>34 <%# Hidden admin login (password). %> 35 35 <form method="post" action="/auth/login" class="auth-form"> 36 36 <% if (typeof next !== 'undefined' && next) { %> … … 49 49 </form> 50 50 <% } else if (googleReady) { %> 51 <%# Publi eke login: alleen Google, voor luisteraars/fans. %>51 <%# Public login: Google only, for listeners/fans. %> 52 52 <p class="auth-sub"><%= t('auth.public_sub') %></p> 53 53 <a class="btn btn-google" href="/auth/google<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>"> … … 65 65 66 66 <% if (!_admin) { %> 67 <%# Klikbare box voor de beheerder → naar de verborgen wachtwoord-login. %>67 <%# Clickable box for the admin → navigates to the hidden password login. %> 68 68 <a class="auth-admin-box" href="/auth/admin<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>"> 69 69 <span class="auth-admin-box-icon" aria-hidden="true">🔑</span> … … 85 85 .auth-notice-list li { margin: 4px 0; } 86 86 .auth-sub { color: var(--ink-muted); margin: 0 0 1rem; text-align: center; } 87 /* Google -knop is wit → tekst altijd donker houden, ook op hover (de globale88 a.btn:hover -regel maakt 'm anders bijna-wit op wit = onleesbaar). */87 /* Google button is white → keep text dark at all times, including hover (the global 88 a.btn:hover rule would otherwise make it near-white on white = unreadable). */ 89 89 a.btn-google, a.btn-google:hover { color: #1f1f1f; } 90 90 .auth-admin-box {
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)