- Timestamp:
- 06/24/2026 02:16:57 PM (3 months ago)
- Branches:
- main
- Children:
- 2e9773f
- Parents:
- 5b47619
- Location:
- src/views/pages
- Files:
-
- 1 deleted
- 4 edited
-
account.ejs (modified) (1 diff)
-
admin-google.ejs (deleted)
-
admin-settings.ejs (modified) (1 diff)
-
admin.ejs (modified) (1 diff)
-
auth-login.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/account.ejs
r5b47619 r075185a 163 163 </section> 164 164 165 <% if (typeof googleAvailable !== 'undefined' && googleAvailable) { %>166 <section class="ax-card">167 <div class="ax-card-title"><%= t('acct.google_login') %></div>168 <% if (typeof googleLinked !== 'undefined' && googleLinked) { %>169 <p class="ax-tagline" style="margin:0 0 1rem"><%= t('acct.google_linked') %></p>170 <form action="/account/google/unlink" method="post">171 <button type="submit" class="ax-btn"><%= t('acct.google_unlink') %></button>172 </form>173 <% } else { %>174 <p class="ax-tagline" style="margin:0 0 1rem"><%= t('acct.google_link_hint') %></p>175 <a href="/auth/google/link" class="ax-btn ax-btn-primary" data-full-load><%= t('acct.google_link') %></a>176 <% } %>177 </section>178 <% } %>179 165 <% } else { %> 180 166 <section class="ax-card"> -
src/views/pages/admin-settings.ejs
r5b47619 r075185a 161 161 </section> 162 162 <% } %> 163 164 <%# Google login has its own admin page (compact link shown here). %>165 <section class="set-card" style="margin-top:1rem">166 <h2><%= t('aset.google_login') %></h2>167 <p class="set-help"><%= t('aset.google_login_help') %>168 <% if (google && google.configured) { %><strong><%= t('aset.status_set') %> ✓</strong><% } else { %><%= t('aset.not_set_yet') %><% } %></p>169 <div class="set-actions"><a href="/admin/settings/google" class="btn btn-primary"><%= t('aset.google_login_setup') %> →</a></div>170 </section>171 163 172 164 <%# Newsletter signup in the footer (premium). %> -
src/views/pages/admin.ejs
r5b47619 r075185a 59 59 <a href="/admin/shows" class="btn"><%= t('admin.b_agenda') %></a> 60 60 <% } %> 61 <a href="/admin/settings/google" class="btn"><%= t('admin.b_google') %></a>62 61 <a href="/admin/updates" class="btn"><%= t('admin.b_updates') %></a> 63 62 <a href="/admin/handleiding" class="btn"><%= t('admin.b_help') %></a> -
src/views/pages/auth-login.ejs
r5b47619 r075185a 48 48 <p class="auth-link auth-link-muted"><a href="/auth/reset-request"><%= t('auth.forgot') %></a></p> 49 49 </form> 50 <% } else if (googleReady) { %>51 <%# Public login: Google only, for listeners/fans. %>52 <p class="auth-sub"><%= t('auth.public_sub') %></p>53 <a class="btn btn-google" href="/auth/google<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>">54 <svg class="g-icon" width="18" height="18" viewBox="0 0 18 18" aria-hidden="true">55 <path fill="#4285F4" d="M17.64 9.2c0-.64-.06-1.25-.16-1.84H9v3.48h4.84a4.14 4.14 0 0 1-1.8 2.72v2.26h2.92c1.7-1.57 2.68-3.88 2.68-6.62z"/>56 <path fill="#34A853" d="M9 18c2.43 0 4.47-.8 5.96-2.18l-2.92-2.26c-.8.54-1.84.86-3.04.86-2.34 0-4.32-1.58-5.03-3.7H.96v2.33A9 9 0 0 0 9 18z"/>57 <path fill="#FBBC05" d="M3.97 10.72a5.4 5.4 0 0 1 0-3.44V4.95H.96a9 9 0 0 0 0 8.1l3.01-2.33z"/>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 </svg>60 <span><%= t('auth.google_btn') %></span>61 </a>62 <% } else { %>63 <div class="alert"><%= t('auth.google_unavail') %></div>64 <% } %>65 66 <% if (!_admin) { %>67 <%# Clickable box for the admin → navigates to the hidden password login. %>68 <a class="auth-admin-box" href="/auth/admin<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>">69 <span class="auth-admin-box-icon" aria-hidden="true">🔑</span>70 <span class="auth-admin-box-text">71 <strong><%= t('auth.admin_box_q') %></strong>72 <small><%= t('auth.admin_box_sub') %></small>73 </span>74 <span class="auth-admin-box-arrow" aria-hidden="true">→</span>75 </a>76 50 <% } %> 77 51 </div>
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)