Changeset 297c77d in Klonkt for src/views/pages
- Timestamp:
- 06/26/2026 02:14:00 PM (2 months ago)
- Branches:
- main
- Children:
- c27c945
- Parents:
- 1ecbf71
- Location:
- src/views/pages
- Files:
-
- 4 edited
-
admin.ejs (modified) (1 diff)
-
blocks.ejs (modified) (2 diffs)
-
timeline.ejs (modified) (1 diff)
-
volgend.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin.ejs
r1ecbf71 r297c77d 55 55 <% } %> 56 56 <% if (typeof apEnabled === 'undefined' || apEnabled) { %> 57 <a href="/ti jdlijn" class="btn">🌐 <%= t('tl.title') %></a>58 <a href="/ meldingen" class="btn">🔔 <%= t('notif.title') %></a>57 <a href="/timeline" class="btn">🌐 <%= t('tl.title') %></a> 58 <a href="/notifications" class="btn">🔔 <%= t('notif.title') %></a> 59 59 <a href="/fediverse" class="btn">🐘 <%= t('admin.b_fediverse') %></a> 60 <a href="/blo kkeren" class="btn">🚫 <%= t('blk.title') %></a>60 <a href="/blocking" class="btn">🚫 <%= t('blk.title') %></a> 61 61 <% } %> 62 62 <a href="/admin/updates" class="btn"><%= t('admin.b_updates') %></a> -
src/views/pages/blocks.ejs
r1ecbf71 r297c77d 6 6 <% if (typeof error !== 'undefined' && error) { %><div class="alert alert-error"><%= error %></div><% } %> 7 7 8 <form method="post" action="/blo kkeren/add" class="bl-form">8 <form method="post" action="/blocking/add" class="bl-form"> 9 9 <input type="text" name="target" placeholder="@naam@server.social • server.social" autocomplete="off" spellcheck="false" required> 10 10 <button type="submit" class="btn btn-primary"><%= t('blk.block_btn') %></button> … … 19 19 <span class="bl-kind"><%= b.kind === 'domain' ? '🌐' : '👤' %></span> 20 20 <span class="bl-label"><%= b.label || b.target %></span> 21 <form method="post" action="/blo kkeren/remove"><input type="hidden" name="target" value="<%= b.target %>"><button type="submit" class="bl-unblock"><%= t('blk.unblock') %></button></form>21 <form method="post" action="/blocking/remove"><input type="hidden" name="target" value="<%= b.target %>"><button type="submit" class="bl-unblock"><%= t('blk.unblock') %></button></form> 22 22 </li> 23 23 <% }); %> -
src/views/pages/timeline.ejs
r1ecbf71 r297c77d 47 47 48 48 <div class="tl-actions"> 49 <form method="post" action="/ti jdlijn/like" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('fedi.likes') %>">⭐</button></form>49 <form method="post" action="/timeline/like" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('fedi.likes') %>">⭐</button></form> 50 50 <% if (p.boosted) { %> 51 <form method="post" action="/ti jdlijn/unboost" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act tl-act-on" title="<%= t('tl.unboost') %>">🔁</button></form>51 <form method="post" action="/timeline/unboost" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act tl-act-on" title="<%= t('tl.unboost') %>">🔁</button></form> 52 52 <% } else { %> 53 <form method="post" action="/ti jdlijn/boost" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('fedi.boosts') %>">🔁</button></form>53 <form method="post" action="/timeline/boost" class="tl-act-form"><input type="hidden" name="note" value="<%= p.id %>"><input type="hidden" name="author" value="<%= p.author_uri %>"><button type="submit" class="tl-act" title="<%= t('fedi.boosts') %>">🔁</button></form> 54 54 <% } %> 55 55 <button type="button" class="tl-act fedi-remote-reply-btn" data-fedi-uri="<%= p.id %>" data-fedi-ph="<%= t('fedi.remote_ph') %>" title="<%= t('fedi.remote_reply') %>">↩</button> 56 <form method="post" action="/blo kkeren/add" class="tl-act-form" onsubmit="return confirm('<%= t('tl.block') %>?');"><input type="hidden" name="target" value="<%= p.author_uri %>"><button type="submit" class="tl-act tl-act-block" title="<%= t('tl.block') %>">🚫</button></form>56 <form method="post" action="/blocking/add" class="tl-act-form" onsubmit="return confirm('<%= t('tl.block') %>?');"><input type="hidden" name="target" value="<%= p.author_uri %>"><button type="submit" class="tl-act tl-act-block" title="<%= t('tl.block') %>">🚫</button></form> 57 57 </div> 58 58 </li> -
src/views/pages/volgend.ejs
r1ecbf71 r297c77d 10 10 </div> 11 11 12 <form method="post" action="/ti jdlijn/follow" class="tl-follow">12 <form method="post" action="/timeline/follow" class="tl-follow"> 13 13 <input type="text" name="handle" placeholder="@naam@server.social of site.com" autocomplete="off" spellcheck="false" required> 14 14 <button type="submit" class="btn btn-primary"><%= t('tl.follow_btn') %></button> … … 27 27 <% if (f.status === 'pending') { %><span class="tl-pending"><%= t('tl.pending') %></span><% } %> 28 28 </span> 29 <form method="post" action="/ti jdlijn/autoboost" class="tl-foll-ab" title="<%= t('tl.autoboost_hint') %>">29 <form method="post" action="/timeline/autoboost" class="tl-foll-ab" title="<%= t('tl.autoboost_hint') %>"> 30 30 <input type="hidden" name="actor_uri" value="<%= f.actor_uri %>"> 31 31 <label><input type="checkbox" name="auto_boost" value="1" <%= f.auto_boost ? 'checked' : '' %> onchange="this.form.submit()"> ✨ <%= t('tl.autoboost') %></label> 32 32 </form> 33 <form method="post" action="/ti jdlijn/unfollow"><input type="hidden" name="actor_uri" value="<%= f.actor_uri %>"><button type="submit" class="tl-unfollow"><%= t('tl.unfollow') %></button></form>33 <form method="post" action="/timeline/unfollow"><input type="hidden" name="actor_uri" value="<%= f.actor_uri %>"><button type="submit" class="tl-unfollow"><%= t('tl.unfollow') %></button></form> 34 34 </li> 35 35 <% }); %>
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)