- Timestamp:
- 06/27/2026 12:08:58 AM (2 months ago)
- Branches:
- main
- Children:
- cd6a008
- Parents:
- 7e66e7e
- File:
-
- 1 edited
-
src/views/pages/authorize-interaction.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r7e66e7e race5a9b 16 16 <div class="fedi-manage-content"><%- m.content %></div> 17 17 <div class="fedi-manage-foot"> 18 <% if (m.in_reply_to) { %> 19 <a class="fedi-goto-btn" href="<%= m.in_reply_to %>" target="_blank" rel="nofollow noopener"><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"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg> <%= t('fedi.goto_post') %></a> 20 <% } else { %><span></span><% } %> 18 21 <form method="post" action="/fediverse/<%= m.id %>/delete" onsubmit="return confirm('<%= t('fedi.delete_confirm') %>')"> 19 22 <button type="submit" class="fedi-del-btn"><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="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg> <%= t('comments.delete') %></button> … … 182 185 .fedi-manage-content p:first-child { margin-top: 0; } 183 186 .fedi-manage-content p:last-child { margin-bottom: 0; } 184 .fedi-manage-foot { display: flex; justify-content: flex-end; margin-top: .65rem; } 187 .fedi-manage-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .65rem; } 188 .fedi-goto-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid color-mix(in srgb, var(--accent, #888) 45%, transparent); background: color-mix(in srgb, var(--accent, #888) 12%, transparent); color: var(--accent, #06c); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; text-decoration: none; transition: background .15s ease; } 189 .fedi-goto-btn:hover { background: color-mix(in srgb, var(--accent, #888) 22%, transparent); } 185 190 .fedi-del-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid color-mix(in srgb, #d9534f 45%, transparent); background: color-mix(in srgb, #d9534f 12%, transparent); color: #e06b66; border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .82rem; cursor: pointer; transition: background .15s ease; } 186 191 .fedi-del-btn:hover { background: color-mix(in srgb, #d9534f 24%, transparent); }
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)