- Timestamp:
- 07/01/2026 07:14:12 PM (2 months ago)
- Branches:
- main
- Children:
- 737ea05
- Parents:
- 0688b5f
- File:
-
- 1 edited
-
src/views/pages/authorize-interaction.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r0688b5f r1c2dcba 93 93 <a class="btn" href="/"><%= t('fedi.remote_back') %></a> 94 94 </p> 95 <% } else if (typeof reported !== 'undefined' && reported) { %> 96 <h1 class="auth-interact-title">🚩 <%= t('fedi.reported_title') %></h1> 97 <p class="auth-interact-note"><%= t('fedi.reported_done') %></p> 98 <p class="auth-interact-actions"> 99 <a class="btn" href="/"><%= t('fedi.remote_back') %></a> 100 </p> 95 101 <% } else if (typeof voted !== 'undefined' && voted) { %> 96 102 <h1 class="auth-interact-title">📊 <%= t('poll.voted_title') %></h1> … … 192 198 </form> 193 199 <p class="auth-interact-note"><%= t('fedi.remote_as', { site: siteTitle }) %></p> 200 <details class="auth-report"> 201 <summary>🚩 <%= t('fedi.report_open') %></summary> 202 <form method="post" action="/authorize_interaction/report" class="auth-interact-form"> 203 <input type="hidden" name="uri" value="<%= uri %>"> 204 <input type="hidden" name="actor_uri" value="<%= target.actor_uri %>"> 205 <p class="auth-report-note"><%= t('fedi.report_where', { handle: target.actor_handle }) %></p> 206 <textarea name="reason" rows="3" maxlength="3000" placeholder="<%= t('fedi.report_ph') %>"></textarea> 207 <div class="auth-interact-actions"> 208 <button type="submit" class="btn btn-danger"><%= t('fedi.report_send') %></button> 209 </div> 210 </form> 211 </details> 194 212 <% } %> 195 213 <% } %> … … 291 309 .auth-poll-pct { position: relative; z-index: 1; font-variant-numeric: tabular-nums; font-weight: 500; } 292 310 .auth-poll-foot { font-size: .82rem; color: var(--ink-soft, #888); margin: .1rem 0 0; } 311 .auth-report { margin: .6rem 0 0; } 312 .auth-report summary { cursor: pointer; font-size: .85rem; color: var(--ink-soft, #888); } 313 .auth-report summary:hover, .auth-report[open] summary { color: #c0392b; } 314 .auth-report[open] summary { margin-bottom: .5rem; } 315 .auth-report-note { font-size: .82rem; color: var(--ink-muted, #999); margin: 0 0 .5rem; } 293 316 </style> 294 317
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)