Changeset 2826bb97 in Klonkt for src/views/pages
- Timestamp:
- 06/24/2026 12:52:51 PM (3 months ago)
- Branches:
- main
- Children:
- 7f46112b
- Parents:
- 594cc50
- File:
-
- 1 edited
-
src/views/pages/authorize-interaction.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r594cc50 r2826bb97 14 14 <span class="fedi-handle"><%= target.actor_handle %></span> 15 15 </p> 16 <% if (target.preview) { %> 17 <blockquote class="auth-interact-preview"><%= target.preview %></blockquote> 18 <% } %> 16 <blockquote class="auth-interact-preview"> 17 <% if (target.content) { %><div class="auth-interact-content"><%- target.content %></div> 18 <% } else if (target.preview) { %><%= target.preview %><% } %> 19 <% (target.images || []).forEach(function(im){ %> 20 <img class="auth-interact-img" src="<%= im %>" alt="" loading="lazy"> 21 <% }); %> 22 <% if (target.url || uri) { %> 23 <p class="auth-interact-orig"><a href="<%= target.url || uri %>" target="_blank" rel="nofollow noopener"><%= t('fedi.remote_view_original') %></a></p> 24 <% } %> 25 </blockquote> 19 26 <form method="post" action="/authorize_interaction" class="auth-interact-form"> 20 27 <input type="hidden" name="uri" value="<%= uri %>"> … … 46 53 .auth-interact-actions { display: flex; gap: .5rem; align-items: center; } 47 54 .auth-interact-note { color: var(--ink-soft, #999); font-size: .85rem; margin-top: 1rem; } 55 .auth-interact-content { line-height: 1.55; } 56 .auth-interact-content p { margin: .35rem 0; } 57 .auth-interact-content p:first-child { margin-top: 0; } 58 .auth-interact-img { max-width: 100%; height: auto; border-radius: 10px; margin: .5rem 0 0; display: block; } 59 .auth-interact-orig { margin: .75rem 0 0; font-size: .85rem; } 60 .auth-interact-orig a { color: var(--accent, #06c); } 48 61 </style>
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)