From b36f9c05071ea549ed59e703270fcf223b60df03 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 9 Apr 2017 09:02:09 +0200 Subject: Major rewrite to use jab/oauth. Highlights: - Uses the oauth branch of jab. - Changed design to use bootstrap. - Some minor changes to functionality in file uploading and listing. - API is currently disabled and incomplete. --- fbin/templates/files.html | 73 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 fbin/templates/files.html (limited to 'fbin/templates/files.html') diff --git a/fbin/templates/files.html b/fbin/templates/files.html new file mode 100644 index 0000000..cae04fa --- /dev/null +++ b/fbin/templates/files.html @@ -0,0 +1,73 @@ +{% extends "base.html" %} +{% block content %} +

You have {{ files|length() }} uploaded files totaling {{ total_size }}.

+ + + + + + + + + + + + {% for file in files %} + + + + + + + + {% else %} + + {% endfor %} + +
FileSizeDate
+ {{ file.filename }} + + + hash + {% if file.ext %} + – ext. + {% endif %} + + {{ file.formatted_size }}{{ file.formatted_date }} + + +
(No file uploads yet.)
+{% include "file-modals.html" %} +{% endblock %} +{% block scripts %} + +{% endblock %} -- cgit v1.2.3