rename .html templates to .jinja2 for more consistency
This commit is contained in:
parent
7f050afb8b
commit
2887d94a8c
36 changed files with 34 additions and 33 deletions
23
templates/uploadinfo.jinja2
Normal file
23
templates/uploadinfo.jinja2
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Info on file "{{ upl.name }}" - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Info on file "{{ upl.name }}"</h1>
|
||||
|
||||
<div class="upload-frame">
|
||||
<img src="{{ upl.url }}" alt="{{ upl.name }}">
|
||||
</div>
|
||||
|
||||
<p>You can include this file in other pages with <strong>{{ '{{' }}media:{{ upl.id }}{{ '}}' }}</strong>.</p>
|
||||
|
||||
<h2>File info</h2>
|
||||
|
||||
<p>Type: {{ type_list[upl.filetype] }}</p>
|
||||
|
||||
<p>Upload ID: {{ upl.id }}</p>
|
||||
|
||||
<p>Uploaded on: {{ upl.upload_date.strftime('%B %-d, %Y %H:%M:%S') }}</p>
|
||||
|
||||
<p>Size: {{ upl.filesize }} bytes</p>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue