2015-09-24 22:04:51 +02:00
|
|
|
{% 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>
|
|
|
|
|
2015-09-25 04:57:36 +02:00
|
|
|
<div class="right">
|
2015-09-30 01:00:16 +02:00
|
|
|
{% if expiry %}
|
|
|
|
<span>file expires in {{ expiry }}</span> |
|
|
|
|
{% endif %}
|
2015-09-30 18:06:23 +02:00
|
|
|
{% block infomore %}{% endblock %}
|
2016-06-15 17:42:57 +02:00
|
|
|
<span>{{ size }}</span> |
|
|
|
|
{% if shorturlEnabled %}
|
|
|
|
{% if shorturl %}
|
|
|
|
<a class="hint--top" aria-label="Click to copy into clipboard" id="shorturl"
|
|
|
|
style="cursor: pointer;" href="{{shorturl}}">{{shorturl}}</a> |
|
|
|
|
{% else %}
|
|
|
|
<a class="hint--top" aria-label="Click to retrieve shortened url" id="shorturl"
|
|
|
|
data-url="{{ sitepath }}{{filename}}/short" style="cursor: pointer;">short url</a> |
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2015-09-29 07:58:14 +02:00
|
|
|
<a href="{{ filename }}/torrent" download>torrent</a> |
|
2015-10-30 23:36:47 +01:00
|
|
|
<a href="{{ sitepath }}selif/{{ filename }}" download>get</a>
|
2015-09-25 04:57:36 +02:00
|
|
|
</div>
|
2015-09-30 18:06:23 +02:00
|
|
|
|
|
|
|
{% block infoleft %}{% endblock %}
|
2015-09-24 22:04:51 +02:00
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
|
2015-09-30 18:06:23 +02:00
|
|
|
<div id="main" {% block mainmore %}{% endblock %}>
|
2015-09-24 22:04:51 +02:00
|
|
|
|
2015-09-30 18:06:23 +02:00
|
|
|
<div id='inner_content' {% block innercontentmore %}{% endblock %} >
|
2015-09-24 22:04:51 +02:00
|
|
|
{% block main %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2016-06-15 17:42:57 +02:00
|
|
|
|
|
|
|
<script src="{{ sitepath }}static/js/clipboard.js"></script>
|
|
|
|
|
|
|
|
{% if shorturlEnabled %}
|
|
|
|
<script src="{{ sitepath }}static/js/shorturl.js"></script>
|
|
|
|
{% endif %}
|
2015-09-24 22:04:51 +02:00
|
|
|
{% endblock %}
|