Changeset 8ef8c3e in Klonkt for src/views/pages
- Timestamp:
- 06/26/2026 09:20:12 AM (2 months ago)
- Branches:
- main
- Children:
- 429d3b0
- Parents:
- 46f3dd6
- Location:
- src/views/pages
- Files:
-
- 2 deleted
- 3 edited
-
admin-circle.ejs (deleted)
-
admin-settings.ejs (modified) (2 diffs)
-
admin.ejs (modified) (1 diff)
-
changelog.ejs (modified) (1 diff)
-
circle-post.ejs (deleted)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
r46f3dd6 r8ef8c3e 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 <section class="set-card">9 <h2><%= t('aset.mode') %></h2>10 <p class="set-help">11 <%= t('aset.mode_help') %>12 </p>13 14 <form method="post" action="/admin/settings" class="set-form">15 <label class="set-opt">16 <input type="radio" name="tenancy" value="solo" <%= tenancy === 'solo' ? 'checked' : '' %>>17 <span>18 <strong><%= t('aset.solo') %></strong> — <%= t('aset.solo_title') %>19 <small><%= t('aset.solo_desc') %></small>20 </span>21 </label>22 <label class="set-opt">23 <input type="radio" name="tenancy" value="circle" <%= tenancy === 'circle' ? 'checked' : '' %>>24 <span>25 <strong><%= t('aset.circle') %></strong> — <%= t('aset.circle_title') %>26 <small><%= t('aset.circle_desc') %></small>27 </span>28 </label>29 <button type="submit" class="btn btn-primary"><%= t('aset.save') %></button>30 </form>31 </section>32 7 33 8 <%# ── Default language for visitors ── %> … … 70 45 71 46 <%# Mode-specific config — Circle settings below the mode card. (Hub removed.) %> 72 <% if (tenancy === 'circle') { %>73 <section class="set-card set-card--mode" style="margin-top:1rem">74 <h2>🔗 <%= t('aset.your_circle') %></h2>75 <p class="set-help">76 <%= t('aset.your_circle_help') %>77 </p>78 <div class="set-actions">79 <a href="/admin/circle" class="btn btn-primary"><%= t('aset.manage_circle') %> →</a>80 </div>81 </section>82 <% } %>83 47 84 48 <%# Premium (Patreon) — only visible when the self-hoster enables the premium layer -
src/views/pages/admin.ejs
r46f3dd6 r8ef8c3e 43 43 <a href="/admin/sites/new" class="btn"><%= t('admin.b_makesite') %></a> 44 44 <% } %> 45 <% if (tenancy === 'circle') { %>46 <a href="/admin/circle" class="btn"><%= t('admin.b_circle') %></a>47 <% } %>48 45 <% if (primarySite) { %><a href="/admin/seo" class="btn"><%= t('admin.b_seo') %></a><% } %> 49 46 <a href="/admin/settings" class="btn"><%= t('admin.b_settings') %></a> -
src/views/pages/changelog.ejs
r46f3dd6 r8ef8c3e 4 4 <p class="cl-meta"> 5 5 <%= t('chlog.app_version') %> <strong>v<%= appVersion %></strong> 6 <span class="cl-sep">·</span>7 <%= t('chlog.fed_proto') %> <strong><%= proto %></strong>8 6 <% if (typeof user !== 'undefined' && user && user.role === 'god') { %> 9 7 <span class="cl-sep">·</span> <a href="/admin/updates"><%= t('chlog.manage_updates') %></a>
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)