Move filename to be its own li
This commit is contained in:
parent
ae08f9919a
commit
1fe3b99876
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
{% import "header.html" as header %}
|
{% import "header.html" as header %}
|
||||||
<title>Photo</title>
|
<title>Photo {{photo.basename}}</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" href="/static/common.css">
|
<link rel="stylesheet" href="/static/common.css">
|
||||||
<script src="/static/common.js"></script>
|
<script src="/static/common.js"></script>
|
||||||
|
@ -171,6 +171,7 @@
|
||||||
<button id="refresh_metadata_button" class="add_tag_button" onclick="refresh_metadata('{{photo.id}}');">refresh</button>
|
<button id="refresh_metadata_button" class="add_tag_button" onclick="refresh_metadata('{{photo.id}}');">refresh</button>
|
||||||
</h4>
|
</h4>
|
||||||
<ul id="metadata">
|
<ul id="metadata">
|
||||||
|
<li>Filename: {{photo.basename}}</li>
|
||||||
{% if photo.author_id %}
|
{% if photo.author_id %}
|
||||||
{% set author = photo.author() %}
|
{% set author = photo.author() %}
|
||||||
<li>Author: <a href="/user/{{author.username}}">{{author.username}}</a></li>
|
<li>Author: <a href="/user/{{author.username}}">{{author.username}}</a></li>
|
||||||
|
@ -184,8 +185,8 @@
|
||||||
<li>Duration: {{photo.duration_string}}</li>
|
<li>Duration: {{photo.duration_string}}</li>
|
||||||
<li>Overall Bitrate: {{((photo.bytes / 128) / photo.duration)|int}} kbps</li>
|
<li>Overall Bitrate: {{((photo.bytes / 128) / photo.duration)|int}} kbps</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1">Download as {{photo.id}}.{{photo.extension}}</a></li>
|
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=true&original_filename=true">Download as original filename</a></li>
|
||||||
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=1&original_filename=1">Download as "{{photo.basename}}"</a></li>
|
<li><a href="/file/{{photo.id}}{{photo.dot_extension}}?download=true">Download as {{photo.id}}.{{photo.extension}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- CONTAINING ALBUMS -->
|
<!-- CONTAINING ALBUMS -->
|
||||||
|
|
Loading…
Reference in a new issue