31 lines
988 B
HTML
31 lines
988 B
HTML
|
<section class="hero {% if request.get_full_path == "/" %}is-fullheight{% else %}is-large{% endif%}">
|
||
|
<div class="hero-head movie-head">
|
||
|
<p class="title">{{ movie.name }}</p>
|
||
|
<p class="stats">
|
||
|
<span>{{ movie.duration }} min</span>
|
||
|
<span>{{ movie.count_formatted }} descargas</span>
|
||
|
<span class="stars">{{ movie.stars_icons }}</span>
|
||
|
</p>
|
||
|
</div>
|
||
|
<div class="hero-body movie-body">
|
||
|
<video controls>
|
||
|
<source src="{{ movie.file_name }}" type="video/mp4">
|
||
|
</video>
|
||
|
</div>
|
||
|
<div class="hero-foot">
|
||
|
<nav class="tabs is-boxed is-fullwidth">
|
||
|
<div class="container">
|
||
|
<ul>
|
||
|
<li><a href="{{ movie.file_name }}" target="_blank" download>Descargar</a></li>
|
||
|
{% if request.get_full_path == "/" %}
|
||
|
<li><a href="/movie/{{ movie.id }}">Detalles</a></li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</section>
|
||
|
{% if request.get_full_path != "/" %}
|
||
|
TODO: {{ movie }}
|
||
|
{% endif %}
|