melawy-site/public/json/mastodon-tpl.html

40 lines
1.5 KiB
HTML
Raw Normal View History

2023-12-15 21:41:08 +05:00
<article class="container" data-id="{post_id}" style="border: solid #444; border-radius: 10px; background-color: #353535; margin-top: 1rem; margin-bottom: 1rem;">
2023-12-15 21:07:43 +05:00
<div>
<div>
<div data-id="{post_id}">
2023-12-15 21:41:08 +05:00
<div class="row" style="padding: 1rem 0; border-bottom: solid #444;">
2023-12-15 21:09:20 +05:00
<div class="col-md-6">
2023-12-15 21:09:56 +05:00
<a href="https://{server_address}/@{name}" title="{name}" target="_blank" rel="noopener noreferrer">
2023-12-15 21:10:35 +05:00
<span style="width: 46px; height: 46px;"><img src="{avatar}" alt="{name}" style="width: 46px; height: 46px;"></span>
2023-12-15 21:09:20 +05:00
<span><bdi><strong>{name}</strong></bdi> <span>@{name}</span></span>
</a>
2023-12-15 21:07:43 +05:00
</div>
<div class="col-md-6">
<a href="https://{server_address}/@{name}/{post_id}" target="_blank" rel="noopener noreferrer">
<span><i class="fa fa-globe" title="Публичный"></i></span>
<time datetime="{created_at}" title="{created_at}">{created_at}</time>
<abbr title="Последнее изменение: {edited_at}"> *</abbr>
</a>
2023-12-12 13:21:53 +05:00
</div>
</div>
2023-12-15 21:07:43 +05:00
2023-12-15 21:28:43 +05:00
<div style="padding: 1rem;">
2023-12-15 21:07:43 +05:00
{content}
</div>
2023-12-15 21:28:43 +05:00
<div style="padding: 1rem; aspect-ratio: 1.77778 / 1;">
2023-12-12 13:21:53 +05:00
{media_attachments}
</div>
2023-12-15 21:07:43 +05:00
2023-12-15 21:28:43 +05:00
<div style="padding: 1rem;">
2023-12-15 21:07:43 +05:00
<a href="https://{server_address}/tags/MelawyLinux">#<span>MelawyLinux</span></a>
</div>
2023-12-12 13:21:53 +05:00
</div>
</div>
</div>
</article>