Changeset 137cca5 in Klonkt for src/views/pages/auth-login.ejs
- Timestamp:
- 06/21/2026 11:35:49 AM (3 months ago)
- Branches:
- main
- Children:
- fe86013
- Parents:
- bffb348
- File:
-
- 1 edited
-
src/views/pages/auth-login.ejs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/auth-login.ejs
rbffb348 r137cca5 7 7 %> 8 8 <div class="container auth-page"> 9 <h1><%= _admin ? 'Beheerder inloggen' : 'Inloggen'%></h1>9 <h1><%= _admin ? t('auth.admin_login_title') : t('nav.login') %></h1> 10 10 <% if (typeof success !== 'undefined' && success) { %><div class="alert alert-success"><%= success %></div><% } %> 11 11 <% … … 38 38 <% } %> 39 39 <label> 40 <span> Gebruikersnaam of e-mail</span>40 <span><%= t('auth.username_or_email') %></span> 41 41 <input type="text" name="username" value="<%= username %>" required autofocus autocomplete="username"> 42 42 </label> 43 43 <label> 44 <span> Wachtwoord</span>44 <span><%= t('auth.password') %></span> 45 45 <input type="password" name="password" required autocomplete="current-password"> 46 46 </label> 47 <button type="submit" class="btn btn-primary"> Inloggen</button>48 <p class="auth-link auth-link-muted"><a href="/auth/reset-request"> Wachtwoord vergeten?</a></p>47 <button type="submit" class="btn btn-primary"><%= t('nav.login') %></button> 48 <p class="auth-link auth-link-muted"><a href="/auth/reset-request"><%= t('auth.forgot') %></a></p> 49 49 </form> 50 50 <% } else if (googleReady) { %> 51 51 <%# Publieke login: alleen Google, voor luisteraars/fans. %> 52 <p class="auth-sub"> Log in om te reageren en je favorieten te bewaren.</p>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) : '' %>"> 54 54 <svg class="g-icon" width="18" height="18" viewBox="0 0 18 18" aria-hidden="true"> … … 58 58 <path fill="#EA4335" d="M9 3.58c1.32 0 2.5.45 3.44 1.35l2.58-2.58A9 9 0 0 0 .96 4.95l3.01 2.33C4.68 5.16 6.66 3.58 9 3.58z"/> 59 59 </svg> 60 <span> Inloggen met Google</span>60 <span><%= t('auth.google_btn') %></span> 61 61 </a> 62 62 <% } else { %> 63 <div class="alert"> Inloggen met Google is op deze site nog niet ingesteld.</div>63 <div class="alert"><%= t('auth.google_unavail') %></div> 64 64 <% } %> 65 65 … … 69 69 <span class="auth-admin-box-icon" aria-hidden="true">🔑</span> 70 70 <span class="auth-admin-box-text"> 71 <strong> Beheerder?</strong>72 <small> Log in met gebruikersnaam & wachtwoord</small>71 <strong><%= t('auth.admin_box_q') %></strong> 72 <small><%= t('auth.admin_box_sub') %></small> 73 73 </span> 74 74 <span class="auth-admin-box-arrow" aria-hidden="true">→</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)