linx-server/templates/display/base.html
mutantmonkey 091225b9e4 add torrent support
This change adds an option to download files with BitTorrent. A webseed
is provided in the torrent file to bootstrap the swarm.
2015-09-28 22:58:14 -07:00

30 lines
648 B
HTML

{% extends "../base.html" %}
{% block title %}{{ filename }}{% endblock %}
{% block bodymore %}{% endblock %}
{% block content %}
<div id="info" class="dinfo">
<div class="float-left" id="filename">
{{ filename }}
</div>
{% block infoleft %}{% endblock %}
<div class="right">
<a href="{{ filename }}/torrent" download>torrent</a> |
<a href="/selif/{{ filename }}" download>get</a>
</div>
<div class="clear"></div>
</div>
<div id="main">
<div id='inner_content'>
{% block main %}{% endblock %}
</div>
</div>
{% endblock %}