Changeset eacd3d6 in Klonkt for src/views/pages/admin-settings.ejs
- Timestamp:
- 06/26/2026 05:17:09 PM (2 months ago)
- Branches:
- main
- Children:
- c745659
- Parents:
- cf4cf27
- File:
-
- 1 edited
-
src/views/pages/admin-settings.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
rcf4cf27 reacd3d6 5 5 <% if (success) { %><div class="alert alert-success"><%= success %></div><% } %> 6 6 <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %> 7 8 <%# ── Mode: Solo or Cirkels (ActivityPub) — the primary, top-of-page choice ── %> 9 <section class="set-card set-card--mode" style="margin-top:1rem"> 10 <h2><%= t('aset.mode') %></h2> 11 <p class="set-help"><%= t('aset.mode_help') %></p> 12 <form method="post" action="/admin/settings/ap" class="set-form"> 13 <label class="set-opt"> 14 <input type="radio" name="mode" value="solo" <%= (typeof apEnabledSetting !== 'undefined' && !apEnabledSetting) ? 'checked' : '' %>> 15 <span><strong><%= t('aset.mode_solo') %></strong><small><%= t('aset.mode_solo_help') %></small></span> 16 </label> 17 <label class="set-opt"> 18 <input type="radio" name="mode" value="cirkels" <%= (typeof apEnabledSetting === 'undefined' || apEnabledSetting) ? 'checked' : '' %>> 19 <span><strong><%= t('aset.mode_cirkels') %></strong><small><%= t('aset.mode_cirkels_help') %></small></span> 20 </label> 21 <div class="set-actions"><button type="submit" class="btn btn-primary"><%= t('aset.save') %></button></div> 22 </form> 23 </section> 7 24 8 25 <%# ── Default language for visitors ── %> … … 81 98 </section> 82 99 <% } %> 83 84 <%# Fediverse (ActivityPub) on/off. Off = no federation + no fediverse reactions,85 which (since native comments were removed) means no comments at all. %>86 <section class="set-card" style="margin-top:1rem">87 <h2><%= t('aset.fediverse') %></h2>88 <p class="set-help"><%= t('aset.fediverse_help') %></p>89 <form method="post" action="/admin/settings/ap" class="set-form">90 <label class="set-toggle" style="display:flex;align-items:center;gap:.6rem;cursor:pointer">91 <input type="checkbox" name="ap_enabled" value="1" <%= (typeof apEnabledSetting === 'undefined' || apEnabledSetting) ? 'checked' : '' %>>92 <span><%= t('aset.fediverse_toggle') %></span>93 </label>94 <div class="set-actions"><button type="submit" class="btn btn-primary"><%= t('aset.save') %></button></div>95 </form>96 </section>97 100 98 101 <%# E-mail / SMTP — required for sending newsletters, notify-mails and password resets. %>
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)