ProfouzorsLinx/templates/display/base.html

51 lines
1.6 KiB
HTML
Raw Normal View History

{% 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 %}
<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 %}
<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 %}
<div class="clear"></div>
</div>
2015-09-30 18:06:23 +02:00
<div id="main" {% block mainmore %}{% endblock %}>
2015-09-30 18:06:23 +02:00
<div id='inner_content' {% block innercontentmore %}{% endblock %} >
{% block main %}{% endblock %}
</div>
</div>
<script src="{{ sitepath }}static/js/clipboard.js"></script>
{% if shorturlEnabled %}
<script src="{{ sitepath }}static/js/shorturl.js"></script>
{% endif %}
{% endblock %}