Changeset af2cc73 in Klonkt for src/views/pages/fan-gate.ejs
- Timestamp:
- 08/18/2026 06:50:08 PM (3 weeks ago)
- Branches:
- main
- Children:
- d85b66f
- Parents:
- 9da8027
- git-author:
- Bart <bart@…> (08/18/2026 06:05:22 PM)
- git-committer:
- Bart <bart@…> (08/18/2026 06:50:08 PM)
- File:
-
- 1 edited
-
src/views/pages/fan-gate.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/fan-gate.ejs
r9da8027 raf2cc73 12 12 <% if (typeof fgTitle !== 'undefined' && fgTitle) { %><p class="fg-which">"<%= fgTitle %>"</p><% } %> 13 13 <p class="fg-sub"><%= t('fgate.sub') %></p> 14 <p><a class="fg-btn" href="/auth/login?next=<%= encodeURIComponent(fgNext || '/') %>"><%= t('fgate.login') %></a></p> 14 15 <%# De hoofdweg: bewijs bij je EIGEN server wie je bent (OpenWebAuth, 16 FEP-61cf). Dit is de vraag die fan_only altijd al stelde -- volg je deze 17 site? -- in plaats van "heb je hier een account", wat juist de mensen 18 buitensloot voor wie de poort openstond. Geen account hier, geen 19 wachtwoord hier, geen cookie van een derde. %> 20 <form class="fg-owa" method="post" action="/owa/login"> 21 <input type="hidden" name="next" value="<%= fgNext || '/' %>"> 22 <label class="fg-label" for="fg-handle"><%= t('fgate.owa_label') %></label> 23 <div class="fg-row"> 24 <input class="fg-input" id="fg-handle" name="handle" type="text" inputmode="email" 25 autocomplete="username" spellcheck="false" placeholder="@jij@jouwserver.nl" required> 26 <button class="fg-btn" type="submit"><%= t('fgate.owa_go') %></button> 27 </div> 28 <p class="fg-hint"><%= t('fgate.owa_hint') %></p> 29 <% if (typeof owaError !== 'undefined' && owaError) { %> 30 <p class="fg-error"><%= t('fgate.owa_failed') %></p> 31 <% } %> 32 </form> 33 34 <%# De lokale inlog blijft, maar als tweede: die is voor wie hier echt een 35 account heeft, en dat is de uitzondering. %> 36 <p class="fg-alt"><a href="/auth/login?next=<%= encodeURIComponent(fgNext || '/') %>"><%= t('fgate.login') %></a></p> 15 37 </div> 16 38 </section> … … 26 48 .fg-which { font-style: italic; opacity: .8; margin: 0 0 12px; } 27 49 .fg-sub { opacity: .85; line-height: 1.6; margin: 0 0 20px; } 28 .fg-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; } 50 .fg-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; } 51 .fg-owa { margin: 0 0 18px; text-align: left; } 52 .fg-label { display: block; font-size: .85rem; opacity: .8; margin-bottom: 6px; } 53 .fg-row { display: flex; gap: 8px; flex-wrap: wrap; } 54 .fg-input { flex: 1 1 12rem; min-width: 0; padding: 12px 14px; border-radius: 10px; 55 border: 1px solid rgba(128,128,128,.35); background: transparent; color: inherit; 56 font-family: inherit; font-size: 1rem; } 57 .fg-hint { font-size: .8rem; opacity: .65; margin: 8px 0 0; line-height: 1.5; } 58 .fg-error { font-size: .85rem; margin: 8px 0 0; color: #d66; } 59 .fg-alt { margin: 0; font-size: .85rem; opacity: .7; } 29 60 </style>
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)