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

49 lines
1.7 KiB
HTML
Raw Normal View History

2020-07-27 18:30:01 +05:30
<div class="card">
<div class="image">
2020-09-15 00:09:10 +05:30
{%if config.nginxVideoStream%}
<img alt="Thumbnail" src="{{video.videoThumb}}">
{%else%}
2020-09-04 11:24:04 +05:30
<img alt="Thumbnail" src="/img/{{video.videoThumb.replace('/', '~')}}">
2020-09-15 00:09:10 +05:30
{%endif%}
2020-07-27 18:30:01 +05:30
</div>
<div class="content">
{% if video.views == "Livestream" %}
<a class="video-title break-word" href="#">{{video.videoTitle}}</a>
{% else %}
2020-08-31 16:58:57 +05:30
<a class="video-title break-word" href="{{url_for('watch', v=video.id, _method='GET')}}">{{video.videoTitle}}</a>
{% endif %}
2020-07-27 18:30:01 +05:30
<div class="meta">
2020-08-31 16:58:57 +05:30
<a class="break-word" href="{{url_for('channel', id=video.channelId)}}">{{video.channelName}}</a>
2020-07-27 18:30:01 +05:30
</div>
2020-08-30 02:05:29 +05:30
<div class="description break-word">
2020-07-27 18:30:01 +05:30
{{video.description}}
</div>
</div>
<div class="extra content">
2020-09-11 14:04:24 +05:30
{% if video.isLive == "Livestream" or video.isLive %}
<span class="right floated">
<i class="red circle icon"></i>
{{video.views}}
</span>
{% else %}
<span class="right floated">
<i class="eye icon"></i>
{{video.views}}
</span>
{% endif %}
2020-09-11 14:04:24 +05:30
{% if video.timeStamp == "Scheduled" or video.isUpcoming %}
<span class="right floated">
<i class="blue clock icon"></i>
{{video.timeStamp}}
</span>
{% else %}
<span class="right floated">
<i class="clock icon"></i>
{{video.timeStamp}}
</span>
{% endif %}
2020-07-27 18:30:01 +05:30
<span>
</span>
</div>
</div>