Flask-Cloudy 0.10.0

This commit is contained in:
Mardix
2015-07-30 00:46:30 -04:00
parent 618ce43487
commit a9a15d3fc6
10 changed files with 183 additions and 39 deletions
+23
View File
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Flask-Cloudy</title>
</head>
<body>
<h1>Flask-Cloudy: View File</h1>
<a href="{{ url_for('index') }}"><- Home</a>
<br> <br>
Name: {{ obj.name }} <br><br>
Size: {{ obj.size }} bytes <br><br>
Short url: {{ obj.short_url }} <br><br>
View file: <a href="{{ obj.url }}">{{ obj.url }}</a> <br><br>
{% set download_url = obj.download_url() %}
Download: <a href="{{ download_url }}">{{ download_url }}</a> <br><br>
</body>
</html>