This repository has been archived on 2022-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Yotter/app/templates/_post.html

33 lines
1.4 KiB
HTML
Raw Normal View History

2020-07-13 03:13:36 +05:30
<div class="column"> <!--Start tweet-->
<div class="ui centered card">
<div class="content">
<div class="extra content">
<div class="left floated author">
2020-07-13 05:40:51 +05:30
<img class="ui avatar image" src="{{ url_for('static',filename='img/avatars/')}}{{range(1, 12) | random}}.png">
2020-07-13 03:13:36 +05:30
</div>
</div>
2020-07-14 21:18:33 +05:30
<div class="header" id="author"><a href="/{{post.op.replace('@','')}}">{{ post.op }}</a></div>
2020-07-13 03:13:36 +05:30
<div class="meta">
<span class="category" id="time"><i class="clock icon"></i> {{post.date}} </span>
<span class="category"><i class="retweet icon"></i> {{post.username}} retwitted</span>
2020-07-13 03:13:36 +05:30
</div>
<div class="description">
<p>{{post.content}}</p>
</div>
2020-07-13 20:06:45 +05:30
<div class="extra content">
<p>
<form class="ui form" action="{{ url_for('savePost', url=post.urlToPost.replace('/', '~')) }}" method="post">
<button type="submit" class="ui icon button">
<i class="bookmark outline icon"></i>
</button>
</form>
</p>
</div>
2020-07-13 03:13:36 +05:30
</div>
<!--<div class="extra content">
<i class="like icon"></i> 1000
<span> · · </span>
<i class="retweet icon"></i> 20
</div>-->
</div>
</div> <!--End tweet-->