- Timestamp:
- 06/24/2026 02:59:22 PM (3 months ago)
- Branches:
- main
- Children:
- 77ccd5d
- Parents:
- 40cf2ef
- Location:
- src/views
- Files:
-
- 3 edited
-
pages/post.ejs (modified) (2 diffs)
-
partials/fedi-node.ejs (modified) (1 diff)
-
shell.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/post.ejs
r40cf2ef rc901131 94 94 <% var _postAbsUrl = (typeof ogOrigin !== 'undefined' && ogOrigin ? ogOrigin : '') + (typeof _base !== 'undefined' && _base ? _base : '') + '/' + post.slug; %> 95 95 <div class="post-fediverse-cta"> 96 <button type="button" class="btn fedi-remote-reply-btn" data-fedi-uri="<%= _postAbsUrl %>" data-fedi-p rompt="<%= t('fedi.remote_prompt') %>">96 <button type="button" class="btn fedi-remote-reply-btn" data-fedi-uri="<%= _postAbsUrl %>" data-fedi-ph="<%= t('fedi.remote_ph') %>"> 97 97 <svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg> 98 98 <%= t('fedi.remote_reply') %> … … 118 118 f.className = 'fedi-remote-form'; 119 119 f.dataset.uri = b.getAttribute('data-fedi-uri') || ''; 120 f.innerHTML = '<input type="text" placeholder="@jij@mastodon.social"autocomplete="off" spellcheck="false">'121 + '<button type="submit" class="btn btn-primary fedi-remote-go" >→</button>'120 f.innerHTML = '<input type="text" autocomplete="off" spellcheck="false">' 121 + '<button type="submit" class="btn btn-primary fedi-remote-go" aria-label="ok">→</button>' 122 122 + '<button type="button" class="fedi-remote-cancel" aria-label="x">×</button>'; 123 var inp = f.querySelector('input'); 124 inp.placeholder = b.getAttribute('data-fedi-ph') || '@name@mastodon.social'; 123 125 b.parentNode.insertBefore(f, b.nextSibling); 124 f.querySelector('input').focus();126 inp.focus(); 125 127 }); 126 128 document.addEventListener('submit', function(e){ -
src/views/partials/fedi-node.ejs
r40cf2ef rc901131 18 18 </form> 19 19 <% } else if (!n.mine && n.noteId) { %> 20 <button type="button" class="comment-reply-btn fedi-remote-reply-btn" data-fedi-uri="<%= n.noteId %>" data-fedi-p rompt="<%= t('fedi.remote_prompt') %>">20 <button type="button" class="comment-reply-btn fedi-remote-reply-btn" data-fedi-uri="<%= n.noteId %>" data-fedi-ph="<%= t('fedi.remote_ph') %>"> 21 21 <svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 17 4 12 9 7"/><path d="M20 18v-2a4 4 0 0 0-4-4H4"/></svg> 22 22 <%= t('fedi.remote_reply_short') %> -
src/views/shell.ejs
r40cf2ef rc901131 175 175 176 176 <!-- v9 stylesheet (full palette system) --> 177 <link rel="stylesheet" href="/assets/css/style.css?v=4 1">177 <link rel="stylesheet" href="/assets/css/style.css?v=42"> 178 178 179 179 <!-- Audio player styles: loaded on every page so the mini-player works
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)