Onionr/onionr/static-data/www/ui/common/onionr-timeline-post.html

33 lines
1.4 KiB
HTML
Raw Normal View History

2018-07-30 00:43:28 +00:00
<!-- POST -->
<div class="col-12">
<div class="onionr-post">
<div class="row">
<div class="col-2">
<img class="onionr-post-user-icon" src="$user-image">
</div>
<div class="col-10">
<div class="row">
2018-08-04 02:52:45 +00:00
<div class="col col-auto">
2018-07-30 00:43:28 +00:00
<a class="onionr-post-user-name" href="#!" onclick="viewProfile('$user-id-url', '$user-name-url')">$user-name</a>
<a class="onionr-post-user-id" href="#!" onclick="viewProfile('$user-id-url', '$user-name-url')" data-placement="top" data-toggle="tooltip" title="$user-id">$user-id-truncated</a>
</div>
2018-08-04 02:52:45 +00:00
<div class="col col-auto text-right ml-auto pl-0">
<div class="onionr-post-date text-right" data-placement="top" data-toggle="tooltip" title="$date">$date-relative</div>
2018-07-30 00:43:28 +00:00
</div>
</div>
2018-08-04 02:52:45 +00:00
2018-07-30 00:43:28 +00:00
<div class="onionr-post-content">
$content
</div>
2018-08-04 02:52:45 +00:00
2018-07-30 00:43:28 +00:00
<div class="onionr-post-controls pt-2">
2018-09-08 05:47:56 +00:00
<a href="#!" onclick="toggleLike('$post-hash')" class="glyphicon glyphicon-heart mr-2"><$= LANG.POST_LIKE $></a>
<a href="#!" onclick="reply('$post-hash')" class="glyphicon glyphicon-comment mr-2"><$= LANG.POST_REPLY $></a>
2018-07-30 00:43:28 +00:00
</div>
</div>
</div>
</div>
</div>
<!-- END POST -->