Changeset c6cdce6 in Klonkt for src/views/pages/news.ejs
- Timestamp:
- 06/28/2026 10:25:40 AM (2 months ago)
- Branches:
- main
- Children:
- 0596945
- Parents:
- 37a297d
- File:
-
- 1 edited
-
src/views/pages/news.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/news.ejs
r37a297d rc6cdce6 1 1 <div class="tl-wrap"> 2 2 <%- include('../partials/fedi-tabs', { active: 'feed' }) %> 3 <div class="tl- head">3 <div class="tl-titlebar"> 4 4 <h1 class="tl-title"><%= t('tl.title') %></h1> 5 5 <button type="button" id="tl-paste-btn" class="tl-paste-btn" title="<%= t('fedi.remote_interact') %>" aria-label="<%= t('fedi.remote_interact') %>"> … … 21 21 </div> 22 22 <style> 23 .tl-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; } 23 .tl-titlebar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; } 24 .tl-boost-by { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--ink-soft); margin: 0 0 .45rem .2rem; } 25 .tl-boost-by svg { color: #16a34a; flex: 0 0 auto; } 26 .tl-boost-by strong { color: var(--ink); font-weight: 600; } 24 27 .tl-paste-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; 25 28 border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); cursor: pointer; transition: color .15s, border-color .15s, background .15s; } … … 88 91 <% timeline.forEach(function(p){ %> 89 92 <li class="tl-item"> 93 <% if (p.reblog_name) { %><div class="tl-boost-by"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="17 1 21 5 17 9"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><polyline points="7 23 3 19 7 15"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/></svg> <strong><%= p.reblog_name %></strong> <%= t('tl.boosted') %></div><% } %> 90 94 <div class="tl-head"> 91 95 <span class="tl-avatar"><% if (p.author_icon) { %><img src="<%= p.author_icon %>" alt="" loading="lazy"><% } else { %><%= (p.author_name || '?').charAt(0).toUpperCase() %><% } %></span>
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)