091225b9e4
This change adds an option to download files with BitTorrent. A webseed is provided in the torrent file to bootstrap the swarm.
30 lines
648 B
HTML
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 %}
|