You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
650 B
23 lines
650 B
{% load static %}
|
|
{% load thumbnail %}
|
|
{% load video_tag %}
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.staticfile.org/semantic-ui/2.4.1/semantic.min.css">
|
|
</head>
|
|
<body>
|
|
<h3>{{ video.title }}</h3>
|
|
<p>
|
|
<a class="image" href="{{site_url}}{% url 'video:detail' video.id %}">
|
|
<img class="ui image"
|
|
style="object-fit: cover; object-position: center;height: 200px;width: 300px;"
|
|
src="{{site_url}}{{video.cover}}">
|
|
</a>
|
|
</p>
|
|
<p>{{video.desc}}</p>
|
|
|
|
<a class="ui button" href="{{site_url}}{% url 'video:detail' video.id %}">点击进入</a>
|
|
|
|
</body>
|
|
</html> |