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/_video_item.html

38 lines
1.3 KiB
HTML
Raw Normal View History

2020-10-12 12:17:15 +05:30
<div class="ui card">
<a class="image" href="{{url_for('watch', v=video.id, _method='GET')}}">
<img src="https://yotter.xyz{{video.videoThumb}}">
</a>
<div class="content">
<a class="header" href="{{url_for('watch', v=video.id, _method='GET')}}">{{video.videoTitle}}</a>
<div class="meta">
<a class="break-word" href="{{url_for('channel', id=video.channelId)}}">{{video.channelName}}</a>
2020-07-27 18:30:01 +05:30
</div>
2020-10-12 12:17:15 +05:30
</div>
2020-07-27 18:30:01 +05:30
<div class="extra content">
2020-09-11 14:04:24 +05:30
{% if video.isLive == "Livestream" or video.isLive %}
2020-10-12 12:17:15 +05:30
<span class="left floated like">
<i class="red circle icon"></i>
2020-10-12 12:17:15 +05:30
{{video.views}}
</span>
{% else %}
2020-10-12 12:17:15 +05:30
<span class="left floated like">
<i class="eye icon"></i>
2020-10-12 12:17:15 +05:30
{{video.views}}
</span>
{% endif %}
2020-09-11 14:04:24 +05:30
{% if video.timeStamp == "Scheduled" or video.isUpcoming %}
2020-10-12 12:17:15 +05:30
<span class="right floated star">
<i class="blue clock icon"></i>
2020-10-12 12:17:15 +05:30
{{video.timeStamp}}
</span>
{% else %}
2020-10-12 12:17:15 +05:30
<span class="right floated star">
<i class="clock icon"></i>
2020-10-12 12:17:15 +05:30
{{video.timeStamp}}
</span>
{% endif %}
2020-07-27 18:30:01 +05:30
<span>
</span>
</div>
</div>